Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrNbEnc.cpp141 mFilledLen = 0; in onInit()
161 mFilledLen = 0; in onStop()
213 outCapacity += mFilledLen + inSize; in process()
234 int validSamples = mFilledLen / sizeof(int16_t); in process()
235 if ((inPos + (kNumBytesPerInputFrame - mFilledLen)) <= inSize) { in process()
237 (kNumBytesPerInputFrame - mFilledLen)); in process()
238 inPos += (kNumBytesPerInputFrame - mFilledLen); in process()
241 mFilledLen += (inSize - inPos); in process()
244 validSamples = mFilledLen / sizeof(int16_t); in process()
245 memset(mInputFrame + validSamples, 0, (kNumBytesPerInputFrame - mFilledLen)); in process()
[all …]
DC2SoftAmrWbEnc.cpp142 mFilledLen = 0; in onInit()
173 mFilledLen = 0; in onStop()
295 outCapacity += mFilledLen + inSize; in process()
316 int validSamples = mFilledLen / sizeof(int16_t); in process()
317 if ((inPos + (kNumBytesPerInputFrame - mFilledLen)) <= inSize) { in process()
319 (kNumBytesPerInputFrame - mFilledLen)); in process()
320 inPos += (kNumBytesPerInputFrame - mFilledLen); in process()
323 mFilledLen += (inSize - inPos); in process()
326 validSamples = mFilledLen / sizeof(int16_t); in process()
327 memset(mInputFrame + validSamples, 0, (kNumBytesPerInputFrame - mFilledLen)); in process()
[all …]
DC2SoftAmrNbEnc.h59 int32_t mFilledLen; variable
DC2SoftAmrWbEnc.h60 int32_t mFilledLen; variable
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusEnc.cpp248 mFilledLen = 0; in initEncoder()
270 mFilledLen = 0; in onStop()
307 memset((uint8_t *)mInputBufferPcm16 + mFilledLen, 0, in drainEncoder()
308 (mNumPcmBytesPerInputFrame - mFilledLen)); in drainEncoder()
320 mFilledLen = 0; in drainEncoder()
475 int filledSamples = mFilledLen / sizeof(int16_t); in process()
476 if ((inPos + (mNumPcmBytesPerInputFrame - mFilledLen)) <= inSize) { in process()
477 processSize = mNumPcmBytesPerInputFrame - mFilledLen; in process()
484 (mNumPcmBytesPerInputFrame - mFilledLen)); in process()
496 mFilledLen += processSize; in process()
[all …]
DC2SoftOpusEnc.h79 int32_t mFilledLen; member