/frameworks/av/media/extractors/wav/ |
D | WAVExtractor.cpp | 99 uint32_t mNumChannels; member 220 mNumChannels = U16_LE_AT(&formatSpec[2]); in init() 222 if (mNumChannels < 1 || mNumChannels > FCC_8) { in init() 223 ALOGE("Unsupported number of channels (%d)", mNumChannels); in init() 228 if (mNumChannels != 1 && mNumChannels != FCC_2) { in init() 230 mNumChannels); in init() 257 ALOGV("numChannels=%d channelMask=0x%x", mNumChannels, mChannelMask); in init() 264 && (popcount(mChannelMask) != mNumChannels)) { in init() 331 AMediaFormat_setInt32(mTrackMeta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, mNumChannels); in init() 343 if (!bytesPerSample || !mNumChannels) in init() [all …]
|
D | WAVExtractor.h | 50 uint16_t mNumChannels; variable
|
/frameworks/av/media/libeffects/testlibs/ |
D | AudioBiquadFilter.cpp | 36 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()
|
D | AudioFormatAdapter.h | 62 mNumChannels = nChannels; in configure() 77 uint32_t nSamplesChannels = numSamplesIter * mNumChannels; in process() 110 int mNumChannels; variable 175 numSamples *= mNumChannels; in MixOutput()
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
D | Usb10ASFormatI.java | 28 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()
|
D | Usb20ACInputTerminal.java | 32 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()
|
D | Usb20ASGeneral.java | 37 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()
|
D | UsbACFeatureUnit.java | 38 private int mNumChannels; field in UsbACFeatureUnit 54 return mNumChannels; in getNumChannels()
|
/frameworks/av/cmds/stagefright/ |
D | SineSource.cpp | 16 mNumChannels(numChannels), in SineSource() 54 meta->setInt32(kKeyChannelCount, mNumChannels); in getFormat() 73 size_t frameSize = mNumChannels * sizeof(int16_t); in read() 85 if (mNumChannels == 2) { in read()
|
D | SineSource.h | 32 int32_t mNumChannels; member
|
/frameworks/av/media/libstagefright/codecs/mp3dec/ |
D | SoftMP3.cpp | 49 mNumChannels(2), in SoftMP3() 182 pcmParams->nChannels = mNumChannels; in internalGetParameter() 201 mp3Params->nChannels = mNumChannels; in internalGetParameter() 271 mNumChannels = pcmParams->nChannels; in internalSetParameter() 373 outHeader->nFilledLen = kPVMP3DecoderDelay * mNumChannels * sizeof(int16_t); in onQueueFilled() 399 || mConfig->num_channels != mNumChannels) { in onQueueFilled() 401 mNumChannels = mConfig->num_channels; in onQueueFilled() 414 kPVMP3DecoderDelay * mNumChannels * sizeof(int16_t); in onQueueFilled() 442 mNumFramesOutput += mConfig->outputFrameSize / mNumChannels; in onQueueFilled()
|
D | SoftMP3.h | 59 int32_t mNumChannels; member
|
/frameworks/wilhelm/src/itf/ |
D | IMuteSolo.cpp | 33 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/codecs/mp3dec/test/ |
D | mp3reader.h | 38 uint32_t getNumChannels() { return mNumChannels;} in getNumChannels() 46 uint32_t mNumChannels; variable
|
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
D | SoftFlacEncoder.cpp | 55 mNumChannels(1), in SoftFlacEncoder() 206 pcmParams->nChannels = mNumChannels; in internalGetParameter() 225 flacParams->nChannels = mNumChannels; in internalGetParameter() 279 mNumChannels = pcmParams->nChannels; in internalSetParameter() 295 ALOGV("will encode %d channels at %dHz", mNumChannels, mSampleRate); in internalSetParameter() 377 const size_t frameSize = sampleSize * mNumChannels; in onQueueFilled() 398 assert(mNumChannels != 0); in onQueueFilled() 543 mNumChannels, mSampleRate); in configureEncoder() 553 ok = ok && FLAC__stream_encoder_set_channels(mFlacStreamEncoder, mNumChannels); in configureEncoder()
|
D | SoftFlacEncoder.h | 56 OMX_U32 mNumChannels; member
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/ |
D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 88 c2_status_t status = getChannelCount(&mNumChannels); in SetUp() 94 status = getSamplesPerFrame(mNumChannels, &mSamplesPerFrame); in SetUp() 97 getFile(mNumChannels, mSampleRate); in SetUp() 163 int32_t mNumChannels; member in __anonf42262040111::Codec2AudioEncHidlTestBase 445 mSamplesPerFrame = ((mInputMaxBufSize / inputMaxBufRatio) / (mNumChannels * 2)); in TEST_P() 450 ASSERT_TRUE(setupConfigParam(mComponent, mNumChannels, mSampleRate)) in TEST_P() 451 << "Unable to configure for channels: " << mNumChannels << " and sampling rate " in TEST_P() 461 eleStream, numFrames, mSamplesPerFrame, mNumChannels, mSampleRate, false, signalEOS)); in TEST_P() 536 ASSERT_TRUE(setupConfigParam(mComponent, mNumChannels, mSampleRate)) in TEST_P() 537 << "Unable to configure for channels: " << mNumChannels << " and sampling rate " in TEST_P() [all …]
|
/frameworks/av/media/libstagefright/codecs/xaacdec/ |
D | SoftXAAC.cpp | 103 mNumChannels(0), in SoftXAAC() 317 aacParams->nChannels = mNumChannels; in internalGetParameter() 352 pcmParams->nChannels = mNumChannels; in internalGetParameter() 536 numOutBytes = mOutputFrameLength * (mPcmWdSz / 8) * mNumChannels; in onQueueFilled() 576 if (mSampFreq && mNumChannels && !mIsCodecConfigFlushRequired) { in onQueueFilled() 577 ALOGV("Configuring decoder: %d Hz, %d channels", mSampFreq, mNumChannels); in onQueueFilled() 663 signed int prevNumChannels = mNumChannels; in onQueueFilled() 678 if (!mSampFreq || !mNumChannels) { in onQueueFilled() 681 ALOGW("mSampFreq %d mNumChannels %d ", mSampFreq, mNumChannels); in onQueueFilled() 686 } else if ((mSampFreq != prevSampleRate) || (mNumChannels != prevNumChannels)) { in onQueueFilled() [all …]
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
D | SoftAACEncoder2.cpp | 56 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()
|
D | SoftAACEncoder2.h | 55 OMX_U32 mNumChannels; member
|
/frameworks/av/media/codec2/components/xaac/ |
D | C2SoftXaacDec.cpp | 253 mNumChannels = 0; in onInit() 279 mNumChannels = 0; in onStop() 452 (mOutputFrameLength * sizeof(int16_t) * mNumChannels)) { in process() 512 signed int prevNumChannels = mNumChannels; in process() 527 (mNumChannels != prevNumChannels)) { in process() 529 prevSampleRate, mSampFreq, prevNumChannels, mNumChannels); in process() 532 C2StreamChannelCountInfo::output channelCountInfo(0u, mNumChannels); in process() 572 mNumOutBytes = mOutputFrameLength * (mPcmWdSz / 8) * mNumChannels; in process() 579 mOutputFrameLength * sizeof(int16_t) * mNumChannels) { in process() 656 mSampFreq, mNumChannels, mPcmWdSz, mChannelMask, mOutputFrameLength); in configflushDecode() [all …]
|
/frameworks/wilhelm/src/ |
D | classes.h | 76 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/ |
D | SoftG711.h | 50 OMX_U32 mNumChannels; member
|
D | SoftG711.cpp | 47 mNumChannels(1), in SoftG711() 162 pcmParams->nChannels = mNumChannels; in internalGetParameter() 194 mNumChannels = pcmParams->nChannels; in internalSetParameter()
|
/frameworks/av/media/libstagefright/codecs/opus/dec/ |
D | SoftOpus.h | 73 int32_t mNumChannels; member
|