Home
last modified time | relevance | path

Searched refs:prevSampleRate (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libaudioprocessing/
DAudioResamplerDyn.cpp325 static bool isClose(int32_t newSampleRate, int32_t prevSampleRate, in isClose() argument
336 int pdiff = absdiff(newSampleRate, prevSampleRate); in isClose()
341 return pdiff < prevSampleRate>>4 && adiff < filterSampleRate>>3; in isClose()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp807 INT prevSampleRate = mStreamInfo->sampleRate; in onQueueFilled() local
924 } else if ((mStreamInfo->sampleRate != prevSampleRate) || in onQueueFilled()
927 prevSampleRate, mStreamInfo->sampleRate, in onQueueFilled()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacDec.cpp678 INT prevSampleRate = mStreamInfo->sampleRate; in process() local
826 } else if ((mStreamInfo->sampleRate != prevSampleRate) || in process()
829 prevSampleRate, mStreamInfo->sampleRate, in process()
/frameworks/av/media/libstagefright/codecs/xaacdec/
DSoftXAAC.cpp662 signed int prevSampleRate = mSampFreq; in onQueueFilled() local
686 } else if ((mSampFreq != prevSampleRate) || (mNumChannels != prevNumChannels)) { in onQueueFilled()
687 ALOGV("Reconfiguring decoder: %d->%d Hz, %d->%d channels", prevSampleRate, in onQueueFilled()
/frameworks/av/media/codec2/components/xaac/
DC2SoftXaacDec.cpp511 signed int prevSampleRate = mSampFreq; in process() local
526 if ((mSampFreq != prevSampleRate) || in process()
529 prevSampleRate, mSampFreq, prevNumChannels, mNumChannels); in process()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp683 uint32_t prevSampleRate = 0u; in TEST_P() local
736 prevSampleRate = nSampleRate; in TEST_P()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp5008 int32_t prevSampleRate; in updateAudioTrackInfoFromESDS_MPEG4Audio() local
5009 CHECK(AMediaFormat_getInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, &prevSampleRate)); in updateAudioTrackInfoFromESDS_MPEG4Audio()
5011 if (prevSampleRate != sampleRate) { in updateAudioTrackInfoFromESDS_MPEG4Audio()
5013 "was: %d, now: %d", prevSampleRate, sampleRate); in updateAudioTrackInfoFromESDS_MPEG4Audio()