Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioprocessing/
DAudioResamplerDyn.cpp326 static bool isClose(int32_t newSampleRate, int32_t prevSampleRate, in isClose() argument
337 int pdiff = absdiff(newSampleRate, prevSampleRate); in isClose()
342 return pdiff < prevSampleRate>>4 && adiff < filterSampleRate>>3; in isClose()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacDec.cpp632 INT prevSampleRate = mStreamInfo->sampleRate; in process() local
738 } else if ((mStreamInfo->sampleRate != prevSampleRate) || in process()
741 prevSampleRate, mStreamInfo->sampleRate, in process()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp755 INT prevSampleRate = mStreamInfo->sampleRate; in onQueueFilled() local
867 } else if ((mStreamInfo->sampleRate != prevSampleRate) || in onQueueFilled()
870 prevSampleRate, mStreamInfo->sampleRate, in onQueueFilled()
/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.cpp508 signed int prevSampleRate = mSampFreq; in process() local
523 if ((mSampFreq != prevSampleRate) || in process()
526 prevSampleRate, mSampFreq, prevNumChannels, mNumChannels); in process()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp4635 int32_t prevSampleRate; in updateAudioTrackInfoFromESDS_MPEG4Audio() local
4636 CHECK(AMediaFormat_getInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, &prevSampleRate)); in updateAudioTrackInfoFromESDS_MPEG4Audio()
4638 if (prevSampleRate != sampleRate) { in updateAudioTrackInfoFromESDS_MPEG4Audio()
4640 "was: %d, now: %d", prevSampleRate, sampleRate); in updateAudioTrackInfoFromESDS_MPEG4Audio()