Searched refs:outCapacity (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/codec2/components/gsm/ |
D | C2SoftGsmDec.cpp | 143 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/ |
D | C2SoftAmrNbEnc.cpp | 212 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()
|
D | C2SoftAmrWbEnc.cpp | 294 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/flac/ |
D | C2SoftFlacEnc.cpp | 255 size_t outCapacity = inSize; in process() local 256 outCapacity += mBlockSize * frameSize; in process() 259 c2_status_t err = pool->fetchLinearBlock(outCapacity, usage, &mOutputBlock); in process()
|
/frameworks/av/media/codec2/components/vorbis/ |
D | C2SoftVorbisDec.cpp | 383 size_t outCapacity = maxSamplesInBuffer * sizeof(int16_t); in process() local 386 c2_status_t err = pool->fetchLinearBlock(outCapacity, usage, &block); in process()
|