Home
last modified time | relevance | path

Searched refs:validSamples (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrNbEnc.cpp234 int validSamples = mFilledLen / sizeof(int16_t); in process() local
236 memcpy(mInputFrame + validSamples, inPtr + inPos, in process()
240 memcpy(mInputFrame + validSamples, inPtr + inPos, (inSize - inPos)); in process()
244 validSamples = mFilledLen / sizeof(int16_t); in process()
245 memset(mInputFrame + validSamples, 0, (kNumBytesPerInputFrame - mFilledLen)); in process()
DC2SoftAmrWbEnc.cpp316 int validSamples = mFilledLen / sizeof(int16_t); in process() local
318 memcpy(mInputFrame + validSamples, inPtr + inPos, in process()
322 memcpy(mInputFrame + validSamples, inPtr + inPos, (inSize - inPos)); in process()
326 validSamples = mFilledLen / sizeof(int16_t); in process()
327 memset(mInputFrame + validSamples, 0, (kNumBytesPerInputFrame - mFilledLen)); in process()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp830 int32_t validSamples = ((durationUs - timeUs) * sampleRate) / 1000000ll; in readBlock() local
831 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_VALID_SAMPLES, validSamples); in readBlock()