Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/components/gsm/
DC2SoftGsmDec.cpp143 static size_t decodeGSM(gsm handle, int16_t *out, size_t outCapacity, in decodeGSM() argument
149 <= outCapacity)) { in decodeGSM()
208 size_t outCapacity = (inSize / MSGSM_IN_FRM_SZ ) * MSGSM_OUT_FRM_SZ * sizeof(int16_t); in process() local
211 c2_status_t err = pool->fetchLinearBlock(outCapacity, usage, &block); in process()
226 size_t outSize = decodeGSM(mGsm, output, outCapacity, input, inSize); in process()
/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrNbEnc.cpp212 size_t outCapacity = kNumBytesPerInputFrame; in process() local
213 outCapacity += mFilledLen + inSize; in process()
216 c2_status_t err = pool->fetchLinearBlock(outCapacity, usage, &outputBlock); in process()
253 if (numEncBytes < 0 || numEncBytes > ((int)outCapacity - (int)outPos)) { in process()
254 ALOGE("encodeFrame call failed, state [%d %zu %zu]", numEncBytes, outPos, outCapacity); in process()
DC2SoftAmrWbEnc.cpp294 size_t outCapacity = kNumBytesPerInputFrame; in process() local
295 outCapacity += mFilledLen + inSize; in process()
298 c2_status_t err = pool->fetchLinearBlock(outCapacity, usage, &outputBlock); in process()
330 int numEncBytes = encodeInput((wView.data() + outPos), outCapacity - outPos); in process()
332 ALOGE("encodeFrame call failed, state [%d %zu %zu]", numEncBytes, outPos, outCapacity); in process()
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusEnc.cpp370 int outCapacity = in process() local
372 err = pool->fetchLinearBlock(outCapacity, usage, &mOutputBlock); in process()
501 mNumSamplesPerFrame, outPtr, outCapacity - mBytesEncoded); in process()
505 if (encodedBytes < 0 || encodedBytes > (outCapacity - mBytesEncoded)) { in process()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacEnc.cpp264 size_t outCapacity = inSize; in process() local
265 outCapacity += mBlockSize * frameSize; in process()
268 c2_status_t err = pool->fetchLinearBlock(outCapacity, usage, &mOutputBlock); in process()
/frameworks/av/media/codec2/components/vorbis/
DC2SoftVorbisDec.cpp387 size_t outCapacity = maxSamplesInBuffer * sizeof(int16_t); in process() local
390 c2_status_t err = pool->fetchLinearBlock(outCapacity, usage, &block); in process()