Searched refs:outCapacity (Results 1 – 5 of 5) sorted by relevance
/hardware/google/av/media/codecs/gsm/ |
D | C2SoftGsmDec.cpp | 149 static size_t decodeGSM(gsm handle, int16_t *out, size_t outCapacity, in decodeGSM() argument 155 <= outCapacity)) { in decodeGSM() 214 size_t outCapacity = (inSize / MSGSM_IN_FRM_SZ ) * MSGSM_OUT_FRM_SZ * sizeof(int16_t); in process() local 217 c2_status_t err = pool->fetchLinearBlock(outCapacity, usage, &block); in process() 232 size_t outSize = decodeGSM(mGsm, output, outCapacity, input, inSize); in process()
|
/hardware/google/av/media/codecs/amr_nb_wb/ |
D | C2SoftAmrNbEnc.cpp | 219 size_t outCapacity = kNumBytesPerInputFrame; in process() local 220 outCapacity += mFilledLen + inSize; in process() 223 c2_status_t err = pool->fetchLinearBlock(outCapacity, usage, &outputBlock); in process() 260 if (numEncBytes < 0 || numEncBytes > ((int)outCapacity - (int)outPos)) { in process() 261 ALOGE("encodeFrame call failed, state [%d %zu %zu]", numEncBytes, outPos, outCapacity); in process()
|
D | C2SoftAmrWbEnc.cpp | 302 size_t outCapacity = kNumBytesPerInputFrame; in process() local 303 outCapacity += mFilledLen + inSize; in process() 306 c2_status_t err = pool->fetchLinearBlock(outCapacity, usage, &outputBlock); in process() 338 int numEncBytes = encodeInput((wView.data() + outPos), outCapacity - outPos); in process() 340 ALOGE("encodeFrame call failed, state [%d %zu %zu]", numEncBytes, outPos, outCapacity); in process()
|
/hardware/google/av/media/codecs/flac/ |
D | C2SoftFlacEnc.cpp | 231 size_t outCapacity = inSize; in process() local 232 outCapacity += mBlockSize * channelCount * sizeof(int16_t); in process() 235 c2_status_t err = pool->fetchLinearBlock(outCapacity, usage, &mOutputBlock); in process()
|
/hardware/google/av/media/codecs/vorbis/ |
D | C2SoftVorbisDec.cpp | 389 size_t outCapacity = maxSamplesInBuffer * sizeof(int16_t); in process() local 392 c2_status_t err = pool->fetchLinearBlock(outCapacity, usage, &block); in process()
|