Home
last modified time | relevance | path

Searched refs:mChannels (Results 1 – 25 of 829) sorted by relevance

12345678910>>...34

/dports/lang/spidermonkey78/firefox-78.9.0/dom/media/
H A DAudioBufferUtils.h45 mChannels(aChannels) in AudioCallbackBufferWrapper()
59 MOZ_ASSERT(aOther.mChannels != 0);
64 mChannels = aOther.mChannels;
89 FramesToSamples(mChannels, aFrames)); in WriteFrames()
136 uint32_t mChannels; variable
151 : mPosition(0), mChannels(aChannels) { in SpillBuffer()
160 MOZ_ASSERT(aOther.mChannels != 0);
164 mChannels = aOther.mChannels;
187 BLOCK_SIZE * mChannels); in Empty()
202 BLOCK_SIZE * mChannels); in Fill()
[all …]
H A DAudioMixer.h39 AudioMixer() : mFrames(0), mChannels(0), mSampleRate(0) {} in AudioMixer()
48 void StartMixing() { mSampleRate = mChannels = mFrames = 0; } in StartMixing()
53 MOZ_ASSERT(mChannels && mFrames && mSampleRate, in FinishMixing()
61 mChannels, mFrames, mSampleRate); in FinishMixing()
64 mSampleRate = mChannels = mFrames = 0; in FinishMixing()
71 if (!mFrames && !mChannels) { in Mix()
73 mChannels = aChannels; in Mix()
79 MOZ_ASSERT(aChannels == mChannels); in Mix()
119 if (mFrames * mChannels > mMixedAudio.Length()) { in EnsureCapacityAndSilence()
120 mMixedAudio.SetLength(mFrames * mChannels); in EnsureCapacityAndSilence()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/dom/media/
H A DAudioBufferUtils.h42 mChannels(aChannels) in AudioCallbackBufferWrapper()
56 MOZ_ASSERT(aOther.mChannels != 0);
61 mChannels = aOther.mChannels;
86 FramesToSamples(mChannels, aFrames)); in WriteFrames()
133 uint32_t mChannels; variable
148 : mPosition(0), mChannels(aChannels) { in SpillBuffer()
157 MOZ_ASSERT(aOther.mChannels != 0);
161 mChannels = aOther.mChannels;
184 BLOCK_SIZE * mChannels); in Empty()
199 BLOCK_SIZE * mChannels); in Fill()
[all …]
H A DAudioMixer.h38 AudioMixer() : mFrames(0), mChannels(0), mSampleRate(0) {} in AudioMixer()
47 void StartMixing() { mSampleRate = mChannels = mFrames = 0; } in StartMixing()
52 MOZ_ASSERT(mChannels && mFrames && mSampleRate, in FinishMixing()
58 AudioSampleTypeToFormat<AudioDataValue>::Format, mChannels, mFrames, in FinishMixing()
62 mSampleRate = mChannels = mFrames = 0; in FinishMixing()
69 if (!mFrames && !mChannels) { in Mix()
71 mChannels = aChannels; in Mix()
77 MOZ_ASSERT(aChannels == mChannels); in Mix()
117 if (mFrames * mChannels > mMixedAudio.Length()) { in EnsureCapacityAndSilence()
118 mMixedAudio.SetLength(mFrames * mChannels); in EnsureCapacityAndSilence()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/dom/media/
H A DAudioBufferUtils.h46 mChannels(aChannels) in AudioCallbackBufferWrapper()
60 MOZ_ASSERT(aOther.mChannels != 0);
65 mChannels = aOther.mChannels;
90 FramesToSamples(mChannels, aFrames)); in WriteFrames()
122 uint32_t mChannels; variable
137 : mPosition(0), mChannels(aChannels) { in SpillBuffer()
146 MOZ_ASSERT(aOther.mChannels != 0);
150 mChannels = aOther.mChannels;
173 BLOCK_SIZE * mChannels); in Empty()
188 BLOCK_SIZE * mChannels); in Fill()
[all …]
H A DAudioMixer.h39 AudioMixer() : mFrames(0), mChannels(0), mSampleRate(0) {} in AudioMixer()
48 void StartMixing() { mSampleRate = mChannels = mFrames = 0; } in StartMixing()
53 MOZ_ASSERT(mChannels && mFrames && mSampleRate, in FinishMixing()
61 mChannels, mFrames, mSampleRate); in FinishMixing()
64 mSampleRate = mChannels = mFrames = 0; in FinishMixing()
71 if (!mFrames && !mChannels) { in Mix()
73 mChannels = aChannels; in Mix()
79 MOZ_ASSERT(aChannels == mChannels); in Mix()
119 if (mFrames * mChannels > mMixedAudio.Length()) { in EnsureCapacityAndSilence()
120 mMixedAudio.SetLength(mFrames * mChannels); in EnsureCapacityAndSilence()
[all …]
/dports/www/firefox/firefox-99.0/dom/media/
H A DAudioBufferUtils.h46 mChannels(aChannels) in AudioCallbackBufferWrapper()
60 MOZ_ASSERT(aOther.mChannels != 0);
65 mChannels = aOther.mChannels;
90 FramesToSamples(mChannels, aFrames)); in WriteFrames()
122 uint32_t mChannels; variable
137 : mPosition(0), mChannels(aChannels) { in SpillBuffer()
146 MOZ_ASSERT(aOther.mChannels != 0);
150 mChannels = aOther.mChannels;
173 BLOCK_SIZE * mChannels); in Empty()
188 BLOCK_SIZE * mChannels); in Fill()
[all …]
H A DAudioMixer.h39 AudioMixer() : mFrames(0), mChannels(0), mSampleRate(0) {} in AudioMixer()
48 void StartMixing() { mSampleRate = mChannels = mFrames = 0; } in StartMixing()
53 MOZ_ASSERT(mChannels && mSampleRate, "Mix not called for this cycle?"); in FinishMixing()
60 mChannels, mFrames, mSampleRate); in FinishMixing()
63 mSampleRate = mChannels = mFrames = 0; in FinishMixing()
70 if (!mFrames && !mChannels) { in Mix()
72 mChannels = aChannels; in Mix()
78 MOZ_ASSERT(aChannels == mChannels); in Mix()
118 if (mFrames * mChannels > mMixedAudio.Length()) { in EnsureCapacityAndSilence()
119 mMixedAudio.SetLength(mFrames * mChannels); in EnsureCapacityAndSilence()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/dom/media/
H A DAudioBufferUtils.h46 mChannels(aChannels) in AudioCallbackBufferWrapper()
60 MOZ_ASSERT(aOther.mChannels != 0);
65 mChannels = aOther.mChannels;
90 FramesToSamples(mChannels, aFrames)); in WriteFrames()
122 uint32_t mChannels; variable
137 : mPosition(0), mChannels(aChannels) { in SpillBuffer()
146 MOZ_ASSERT(aOther.mChannels != 0);
150 mChannels = aOther.mChannels;
173 BLOCK_SIZE * mChannels); in Empty()
188 BLOCK_SIZE * mChannels); in Fill()
[all …]
H A DAudioMixer.h39 AudioMixer() : mFrames(0), mChannels(0), mSampleRate(0) {} in AudioMixer()
48 void StartMixing() { mSampleRate = mChannels = mFrames = 0; } in StartMixing()
53 MOZ_ASSERT(mChannels && mFrames && mSampleRate, in FinishMixing()
61 mChannels, mFrames, mSampleRate); in FinishMixing()
64 mSampleRate = mChannels = mFrames = 0; in FinishMixing()
71 if (!mFrames && !mChannels) { in Mix()
73 mChannels = aChannels; in Mix()
79 MOZ_ASSERT(aChannels == mChannels); in Mix()
119 if (mFrames * mChannels > mMixedAudio.Length()) { in EnsureCapacityAndSilence()
120 mMixedAudio.SetLength(mFrames * mChannels); in EnsureCapacityAndSilence()
[all …]
/dports/audio/ardour6/Ardour-6.8.0/libs/appleutility/CoreAudio/PublicUtility/
H A DCASpectralProcessor.cpp73 mChannels.alloc(mNumChannels); in CASpectralProcessor()
78 mChannels[i].mInputBuf.alloc(mIOBufSize, true); in CASpectralProcessor()
79 mChannels[i].mOutputBuf.alloc(mIOBufSize, true); in CASpectralProcessor()
80 mChannels[i].mFFTBuf.alloc(mFFTSize, true); in CASpectralProcessor()
93 mChannels.free(); in ~CASpectralProcessor()
161 Float32 *x = mChannels[i].mFFTBuf(); in DoWindowing()
240 memcpy(mChannels[i].mFFTBuf(), mChannels[i].mInputBuf() + mInFFTPos, firstPartBytes); in CopyInputToFFT()
241 …memcpy((UInt8*)mChannels[i].mFFTBuf() + firstPartBytes, mChannels[i].mInputBuf(), secondPartBytes); in CopyInputToFFT()
245 memcpy(mChannels[i].mFFTBuf(), mChannels[i].mInputBuf() + mInFFTPos, mFFTByteSize); in CopyInputToFFT()
262 float* out2 = mChannels[i].mOutputBuf(); in OverlapAddOutput()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/media/
H A DAudioMixer.h43 mChannels(0), in AudioMixer()
57 mSampleRate = mChannels = mFrames = 0; in StartMixing()
63 MOZ_ASSERT(mChannels && mFrames && mSampleRate, "Mix not called for this cycle?"); in FinishMixing()
68 mChannels, in FinishMixing()
73 mSampleRate = mChannels = mFrames = 0; in FinishMixing()
81 if (!mFrames && !mChannels) { in Mix()
83 mChannels = aChannels; in Mix()
89 MOZ_ASSERT(aChannels == mChannels); in Mix()
124 if (mFrames * mChannels > mMixedAudio.Length()) { in EnsureCapacityAndSilence()
125 mMixedAudio.SetLength(mFrames* mChannels); in EnsureCapacityAndSilence()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/dom/media/ogg/
H A DOpusParser.cpp28 mChannels(0), in OpusParser()
57 mChannels = aData[9]; in DecodeHeader()
58 if (mChannels < 1) { in DecodeHeader()
77 if (mChannels > 2) { in DecodeHeader()
80 mChannels)); in DecodeHeader()
84 mCoupledStreams = mChannels - 1; in DecodeHeader()
90 if (mChannelMapping == 1 && mChannels > 8) { in DecodeHeader()
93 mChannels)); in DecodeHeader()
97 if (!IsValidMapping2ChannelsCount(mChannels)) { in DecodeHeader()
101 if (aLength > static_cast<unsigned>(20 + mChannels)) { in DecodeHeader()
[all …]
/dports/www/firefox/firefox-99.0/dom/media/ogg/
H A DOpusParser.cpp28 mChannels(0), in OpusParser()
57 mChannels = aData[9]; in DecodeHeader()
58 if (mChannels < 1) { in DecodeHeader()
77 if (mChannels > 2) { in DecodeHeader()
80 mChannels)); in DecodeHeader()
84 mCoupledStreams = mChannels - 1; in DecodeHeader()
90 if (mChannelMapping == 1 && mChannels > 8) { in DecodeHeader()
93 mChannels)); in DecodeHeader()
97 if (!IsValidMapping2ChannelsCount(mChannels)) { in DecodeHeader()
101 if (aLength > static_cast<unsigned>(20 + mChannels)) { in DecodeHeader()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/dom/media/ogg/
H A DOpusParser.cpp28 mChannels(0), in OpusParser()
57 mChannels = aData[9]; in DecodeHeader()
58 if (mChannels < 1) { in DecodeHeader()
77 if (mChannels > 2) { in DecodeHeader()
80 mChannels)); in DecodeHeader()
84 mCoupledStreams = mChannels - 1; in DecodeHeader()
90 if (mChannelMapping == 1 && mChannels > 8) { in DecodeHeader()
93 mChannels)); in DecodeHeader()
97 if (!IsValidMapping2ChannelsCount(mChannels)) { in DecodeHeader()
101 if (aLength > static_cast<unsigned>(20 + mChannels)) { in DecodeHeader()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/dom/media/ogg/
H A DOpusParser.cpp28 mChannels(0), in OpusParser()
57 mChannels = aData[9]; in DecodeHeader()
58 if (mChannels < 1) { in DecodeHeader()
77 if (mChannels > 2) { in DecodeHeader()
80 mChannels)); in DecodeHeader()
84 mCoupledStreams = mChannels - 1; in DecodeHeader()
90 if (mChannelMapping == 1 && mChannels > 8) { in DecodeHeader()
93 mChannels)); in DecodeHeader()
97 if (!IsValidMapping2ChannelsCount(mChannels)) { in DecodeHeader()
101 if (aLength > static_cast<unsigned>(20 + mChannels)) { in DecodeHeader()
[all …]
/dports/net-im/ruqola/ruqola-1.6.1/src/core/model/
H A Dchannelcompletermodel.cpp20 if (!mChannels.isEmpty()) { in clear()
22 mChannels.clear(); in clear()
30 beginRemoveRows(QModelIndex(), 0, mChannels.count() - 1); in insertChannels()
31 mChannels.clear(); in insertChannels()
36 mChannels = channels; in insertChannels()
44 return mChannels.count(); in rowCount()
49 if (index.row() < 0 || index.row() >= mChannels.count()) { in data()
52 const Channel channel = mChannels.at(index.row()); in data()
/dports/lang/spidermonkey60/firefox-60.9.0/dom/media/ogg/
H A DOpusParser.cpp26 mChannels(0), in OpusParser()
54 mChannels = aData[9]; in DecodeHeader()
55 if (mChannels < 1) { in DecodeHeader()
57 ("Invalid Opus file: Number of channels %d", mChannels)); in DecodeHeader()
74 if (mChannels > 2) { in DecodeHeader()
77 mChannels)); in DecodeHeader()
81 mCoupledStreams = mChannels - 1; in DecodeHeader()
87 if (mChannels > 8) { in DecodeHeader()
90 mChannels)); in DecodeHeader()
93 if (aLength > static_cast<unsigned>(20 + mChannels)) { in DecodeHeader()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/media/ogg/
H A DOpusParser.cpp26 mChannels(0), in OpusParser()
54 mChannels = aData[9]; in DecodeHeader()
55 if (mChannels<1) { in DecodeHeader()
73 if (mChannels>2) { in DecodeHeader()
75 " mapping family 0.", mChannels)); in DecodeHeader()
79 mCoupledStreams = mChannels - 1; in DecodeHeader()
85 if (mChannels>8) { in DecodeHeader()
87 " mapping family 1.", mChannels)); in DecodeHeader()
90 if (aLength>static_cast<unsigned>(20+mChannels)) { in DecodeHeader()
94 for (i=0; i<mChannels; i++) in DecodeHeader()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/dom/media/encoder/
H A DOpusTrackEncoder.cpp172 mEncoder = opus_encoder_create(mOutputSampleRate, mChannels, in Init()
231 meta->mChannels = mChannels; in GetMetadata()
235 SerializeOpusIdHeader(mChannels, in GetMetadata()
286 pcm.SetLength(NumOutputFramesPerPacket() * mChannels); in Encode()
307 chunk, frameToCopy, mChannels, in Encode()
308 pcm.Elements() + frameCopied * mChannels); in Encode()
318 memset(pcm.Elements() + frameCopied * mChannels, 0, in Encode()
339 resamplingDest.SetLength(outframes * mChannels); in Encode()
362 outframesToCopy * mChannels); in Encode()
388 PodZero(pcm.Elements() + framesInPCM * mChannels, toWrite * mChannels); in Encode()
[all …]
/dports/www/firefox/firefox-99.0/dom/media/encoder/
H A DOpusTrackEncoder.cpp172 mEncoder = opus_encoder_create(mOutputSampleRate, mChannels, in Init()
231 meta->mChannels = mChannels; in GetMetadata()
235 SerializeOpusIdHeader(mChannels, in GetMetadata()
286 pcm.SetLength(NumOutputFramesPerPacket() * mChannels); in Encode()
307 chunk, frameToCopy, mChannels, in Encode()
308 pcm.Elements() + frameCopied * mChannels); in Encode()
318 memset(pcm.Elements() + frameCopied * mChannels, 0, in Encode()
339 resamplingDest.SetLength(outframes * mChannels); in Encode()
362 outframesToCopy * mChannels); in Encode()
388 PodZero(pcm.Elements() + framesInPCM * mChannels, toWrite * mChannels); in Encode()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/dom/media/encoder/
H A DOpusTrackEncoder.cpp172 mEncoder = opus_encoder_create(mOutputSampleRate, mChannels, in Init()
231 meta->mChannels = mChannels; in GetMetadata()
235 SerializeOpusIdHeader(mChannels, in GetMetadata()
286 pcm.SetLength(NumOutputFramesPerPacket() * mChannels); in Encode()
307 chunk, frameToCopy, mChannels, in Encode()
308 pcm.Elements() + frameCopied * mChannels); in Encode()
318 memset(pcm.Elements() + frameCopied * mChannels, 0, in Encode()
339 resamplingDest.SetLength(outframes * mChannels); in Encode()
362 outframesToCopy * mChannels); in Encode()
388 PodZero(pcm.Elements() + framesInPCM * mChannels, toWrite * mChannels); in Encode()
[all …]
/dports/games/passage/Passage_v4_UnixSource/minorGems/graphics/
H A DImage.h275 double **mChannels; variable
309 mChannels[i] = new double[ mNumPixels ]; in Image()
312 mChannels[i][j] = 0.0; in Image()
322 delete [] mChannels[i]; in ~Image()
324 delete [] mChannels; in ~Image()
348 return mChannels[ inChannel ]; in getChannel()
497 double *thisChannel = mChannels[inChannel]; in pasteChannel()
599 delete [] mChannels[i]; in deserialize()
601 delete [] mChannels; in deserialize()
616 mChannels = new double*[mNumChannels]; in deserialize()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/dom/media/encoder/
H A DOpusTrackEncoder.cpp140 mChannels = aChannels > MAX_CHANNELS ? MAX_CHANNELS : aChannels; in Init()
204 meta->mChannels = mChannels; in GetMetadata()
283 pcm.SetLength(GetPacketDuration() * mChannels); in GetEncodedTrack()
304 chunk, frameToCopy, mChannels, in GetEncodedTrack()
305 pcm.Elements() + frameCopied * mChannels); in GetEncodedTrack()
315 memset(pcm.Elements() + frameCopied * mChannels, 0, in GetEncodedTrack()
338 resamplingDest.SetLength(outframes * mChannels); in GetEncodedTrack()
360 outframesToCopy * mChannels); in GetEncodedTrack()
364 mResampledLeftover.SetLength(frameLeftover * mChannels); in GetEncodedTrack()
393 PodZero(pcm.Elements() + framesInPCM * mChannels, in GetEncodedTrack()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/dom/media/encoder/
H A DOpusTrackEncoder.cpp141 mChannels = aChannels > MAX_CHANNELS ? MAX_CHANNELS : aChannels; in Init()
205 meta->mChannels = mChannels; in GetMetadata()
283 pcm.SetLength(GetPacketDuration() * mChannels); in GetEncodedTrack()
304 chunk, frameToCopy, mChannels, in GetEncodedTrack()
305 pcm.Elements() + frameCopied * mChannels); in GetEncodedTrack()
315 memset(pcm.Elements() + frameCopied * mChannels, 0, in GetEncodedTrack()
338 resamplingDest.SetLength(outframes * mChannels); in GetEncodedTrack()
360 outframesToCopy * mChannels); in GetEncodedTrack()
364 mResampledLeftover.SetLength(frameLeftover * mChannels); in GetEncodedTrack()
393 PodZero(pcm.Elements() + framesInPCM * mChannels, in GetEncodedTrack()
[all …]

12345678910>>...34