Searched refs:prevSampleRate (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libaudioprocessing/ |
D | AudioResamplerDyn.cpp | 326 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/ |
D | C2SoftAacDec.cpp | 632 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/ |
D | SoftAAC2.cpp | 755 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/ |
D | SoftXAAC.cpp | 662 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/ |
D | C2SoftXaacDec.cpp | 508 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/ |
D | MPEG4Extractor.cpp | 4635 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()
|