Lines Matching refs:mStreamInfo
268 mStreamInfo(nullptr), in C2SoftAacDec()
320 mStreamInfo = aacDecoder_GetStreamInfo(mAACDecoder); in initDecoder()
321 if (mStreamInfo != nullptr) { in initDecoder()
341 mDrcWrap.submitStreamData(mStreamInfo); in initDecoder()
475 >= mStreamInfo->frameSize * mStreamInfo->numChannels) { in drainRingBuffer()
478 int samplesize __unused = mStreamInfo->numChannels * sizeof(int16_t); in drainRingBuffer()
482 int numSamples = numFrames * (mStreamInfo->frameSize * mStreamInfo->numChannels); in drainRingBuffer()
676 INT prevSampleRate = mStreamInfo->sampleRate; in process()
677 INT prevNumChannels = mStreamInfo->numChannels; in process()
678 INT prevOutLoudness = mStreamInfo->outputLoudness; in process()
686 mDrcWrap.submitStreamData(mStreamInfo); in process()
738 (mStreamInfo->frameSize * mStreamInfo->numChannels)) { in process()
745 int numConsumed = mStreamInfo->numTotalBytes; in process()
751 numConsumed = mStreamInfo->numTotalBytes - numConsumed; in process()
770 mStreamInfo->frameSize * sizeof(int16_t) * mStreamInfo->numChannels; in process()
774 mStreamInfo->frameSize * mStreamInfo->numChannels)) { in process()
785 mStreamInfo->frameSize * mStreamInfo->numChannels)) { in process()
818 if (!mStreamInfo->sampleRate || !mStreamInfo->numChannels) { in process()
824 } else if ((mStreamInfo->sampleRate != prevSampleRate) || in process()
825 (mStreamInfo->numChannels != prevNumChannels)) { in process()
827 prevSampleRate, mStreamInfo->sampleRate, in process()
828 prevNumChannels, mStreamInfo->numChannels); in process()
830 C2StreamSampleRateInfo::output sampleRateInfo(0u, mStreamInfo->sampleRate); in process()
831 C2StreamChannelCountInfo::output channelCountInfo(0u, mStreamInfo->numChannels); in process()
852 if (mStreamInfo->outputLoudness != prevOutLoudness) { in process()
854 drcOutLoudness(0u, (float) (mStreamInfo->outputLoudness*-0.25)); in process()
920 int32_t outputDelay = mStreamInfo->outputDelay * mStreamInfo->numChannels; in process()
922 size_t numSamplesInOutput = mStreamInfo->frameSize * mStreamInfo->numChannels; in process()
1016 if (avail > mStreamInfo->frameSize * mStreamInfo->numChannels) { in onFlush_sm()
1017 avail = mStreamInfo->frameSize * mStreamInfo->numChannels; in onFlush_sm()
1037 mDrcWrap.submitStreamData(mStreamInfo); in drainDecoder()
1049 int32_t tmpOutBufferSamples = mStreamInfo->frameSize * mStreamInfo->numChannels; in drainDecoder()