Home
last modified time | relevance | path

Searched refs:mNumChannels (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/av/media/libstagefright/
DWAVExtractor.cpp85 int32_t mNumChannels; member
200 mNumChannels = U16_LE_AT(&formatSpec[2]); in init()
202 if (mNumChannels < 1 || mNumChannels > 8) { in init()
203 ALOGE("Unsupported number of channels (%d)", mNumChannels); in init()
208 if (mNumChannels != 1 && mNumChannels != 2) { in init()
210 mNumChannels); in init()
237 ALOGV("numChannels=%d channelMask=0x%x", mNumChannels, mChannelMask); in init()
244 && (popcount(mChannelMask) != mNumChannels)) { in init()
311 mTrackMeta->setInt32(kKeyChannelCount, mNumChannels); in init()
324 if (!bytesPerSample || !mNumChannels) in init()
[all …]
/frameworks/av/media/libeffects/testlibs/
DAudioBiquadFilter.cpp36 mNumChannels = nChannels; in configure()
94 if (mNumChannels == 1) { in setState()
102 if (mNumChannels == 1) { in setState()
110 if (mNumChannels == 1) { in setState()
144 memcpy(out, in, frameCount * mNumChannels * sizeof(audio_sample_t)); in process_bypass()
208 for (int ch = 0; ch < mNumChannels; ++ch) { in process_normal_multi()
228 in += mNumChannels; in process_normal_multi()
229 out += mNumChannels; in process_normal_multi()
235 in -= frameCount * mNumChannels - 1; in process_normal_multi()
236 out -= frameCount * mNumChannels - 1; in process_normal_multi()
DAudioFormatAdapter.h62 mNumChannels = nChannels; in configure()
77 uint32_t nSamplesChannels = numSamplesIter * mNumChannels; in process()
110 int mNumChannels; variable
175 numSamples *= mNumChannels; in MixOutput()
DAudioBiquadFilter.h123 int mNumChannels; variable
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder.cpp49 mNumChannels(1), in SoftAACEncoder()
196 aacParams->nChannels = mNumChannels; in internalGetParameter()
224 pcmParams->nChannels = mNumChannels; in internalGetParameter()
293 mNumChannels = aacParams->nChannels; in internalSetParameter()
316 mNumChannels = pcmParams->nChannels; in internalSetParameter()
337 mSampleRate, mNumChannels, mBitRate); in setAudioParams()
349 params.nChannels = mNumChannels; in setAudioParams()
390 if (mNumChannels > 2 || mNumChannels <= 0) { in setAudioSpecificConfigData()
391 ALOGE("Unsupported number of channels(%u)", mNumChannels); in setAudioSpecificConfigData()
397 mAudioSpecificConfigData[1] = ((index & 0x01) << 7) | (mNumChannels << 3); in setAudioSpecificConfigData()
[all …]
DSoftAACEncoder2.cpp56 mNumChannels(1), in SoftAACEncoder2()
177 aacParams->nChannels = mNumChannels; in internalGetParameter()
240 pcmParams->nChannels = mNumChannels; in internalGetParameter()
332 mNumChannels = aacParams->nChannels; in internalSetParameter()
375 mNumChannels = pcmParams->nChannels; in internalSetParameter()
425 mSampleRate, mNumChannels, mBitRate, mSBRMode, mSBRRatio); in setAudioParams()
442 getChannelMode(mNumChannels))) { in setAudioParams()
534 mNumChannels * kNumSamplesPerFrame * sizeof(int16_t); in onQueueFilled()
591 / (mNumChannels * sizeof(int16_t)); in onQueueFilled()
DSoftAACEncoder.h58 OMX_U32 mNumChannels; member
DSoftAACEncoder2.h55 OMX_U32 mNumChannels; member
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsb10ASFormatI.java28 private byte mNumChannels; // 4:1 field in Usb10ASFormatI
41 return mNumChannels; in getNumChannels()
69 int[] counts = {mNumChannels}; in getChannelCounts()
75 mNumChannels = stream.getByte(); in parseRawDescriptors()
DUsb20ACInputTerminal.java32 private byte mNumChannels; // 8:1 - Number of logical output channels in the field in Usb20ACInputTerminal
51 return mNumChannels; in getNumChannels()
67 mNumChannels = stream.getByte(); in parseRawDescriptors()
DUsb20ASGeneral.java37 private byte mNumChannels; // 10:1 Number of physical channels in the AS field in Usb20ASGeneral
65 return mNumChannels; in getNumChannels()
83 mNumChannels = stream.getByte(); in parseRawDescriptors()
DUsbACFeatureUnit.java38 private int mNumChannels; field in UsbACFeatureUnit
54 return mNumChannels; in getNumChannels()
/frameworks/av/cmds/stagefright/
DSineSource.cpp15 mNumChannels(numChannels), in SineSource()
53 meta->setInt32(kKeyChannelCount, mNumChannels); in getFormat()
72 size_t frameSize = mNumChannels * sizeof(int16_t); in read()
84 if (mNumChannels == 2) { in read()
DSineSource.h32 int32_t mNumChannels; member
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp49 mNumChannels(2), in SoftMP3()
182 pcmParams->nChannels = mNumChannels; in internalGetParameter()
201 mp3Params->nChannels = mNumChannels; in internalGetParameter()
271 mNumChannels = pcmParams->nChannels; in internalSetParameter()
359 outHeader->nFilledLen = kPVMP3DecoderDelay * mNumChannels * sizeof(int16_t); in onQueueFilled()
385 || mConfig->num_channels != mNumChannels) { in onQueueFilled()
387 mNumChannels = mConfig->num_channels; in onQueueFilled()
400 kPVMP3DecoderDelay * mNumChannels * sizeof(int16_t); in onQueueFilled()
428 mNumFramesOutput += mConfig->outputFrameSize / mNumChannels; in onQueueFilled()
DSoftMP3.h59 int32_t mNumChannels; member
/frameworks/wilhelm/src/itf/
DIMuteSolo.cpp33 SLuint8 numChannels = ap->mNumChannels; in IMuteSolo_SetChannelMute()
73 SLuint8 numChannels = ap->mNumChannels; in IMuteSolo_GetChannelMute()
105 SLuint8 numChannels = ap->mNumChannels; in IMuteSolo_SetChannelSolo()
145 SLuint8 numChannels = ap->mNumChannels; in IMuteSolo_GetChannelSolo()
180 SLuint8 numChannels = ap->mNumChannels; in IMuteSolo_GetNumChannels()
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp54 mNumChannels(1), in SoftFlacEncoder()
202 pcmParams->nChannels = mNumChannels; in internalGetParameter()
221 flacParams->nChannels = mNumChannels; in internalGetParameter()
275 mNumChannels = pcmParams->nChannels; in internalSetParameter()
277 ALOGV("will encode %d channels at %dHz", mNumChannels, mSampleRate); in internalSetParameter()
386 assert(mNumChannels != 0); in onQueueFilled()
392 const unsigned nbInputFrames = inHeader->nFilledLen / (2 * mNumChannels); in onQueueFilled()
497 mNumChannels, mSampleRate); in configureEncoder()
505 ok = ok && FLAC__stream_encoder_set_channels(mFlacStreamEncoder, mNumChannels); in configureEncoder()
DSoftFlacEncoder.h58 OMX_U32 mNumChannels; member
/frameworks/av/media/libstagefright/codecs/mp3dec/test/
Dmp3reader.h38 uint32_t getNumChannels() { return mNumChannels;} in getNumChannels()
46 uint32_t mNumChannels; variable
/frameworks/base/media/jni/soundpool/
DSoundPool.h58 int numChannels() { return mNumChannels; } in numChannels()
76 uint8_t mNumChannels; variable
116 SoundChannel() : mState(IDLE), mNumChannels(1), in SoundChannel()
135 int numChannels() { return mNumChannels; } in numChannels()
152 int mNumChannels; variable
/frameworks/wilhelm/src/
Dclasses.h76 SLuint8 mNumChannels; // initially UNKNOWN_NUMCHANNELS, then const once it is known, member
155 SLuint8 mNumChannels; // initially UNKNOWN_NUMCHANNELS, then const once it is known, member
346 SLuint8 mNumChannels; // initially UNKNOWN_NUMCHANNELS, then const once it is known, member
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp45 mNumChannels(1), in SoftG711()
160 pcmParams->nChannels = mNumChannels; in internalGetParameter()
192 mNumChannels = pcmParams->nChannels; in internalSetParameter()
DSoftG711.h50 OMX_U32 mNumChannels; member
/frameworks/av/media/libstagefright/include/
DWAVExtractor.h50 uint16_t mNumChannels; variable

12