Home
last modified time | relevance | path

Searched refs:inPos (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrNbEnc.cpp230 size_t inPos = 0; in process() local
232 while (inPos < inSize) { in process()
235 if ((inPos + (kNumBytesPerInputFrame - mFilledLen)) <= inSize) { in process()
236 memcpy(mInputFrame + validSamples, inPtr + inPos, in process()
238 inPos += (kNumBytesPerInputFrame - mFilledLen); in process()
240 memcpy(mInputFrame + validSamples, inPtr + inPos, (inSize - inPos)); in process()
241 mFilledLen += (inSize - inPos); in process()
242 inPos += (inSize - inPos); in process()
DC2SoftAmrWbEnc.cpp312 size_t inPos = 0; in process() local
314 while (inPos < inSize) { in process()
317 if ((inPos + (kNumBytesPerInputFrame - mFilledLen)) <= inSize) { in process()
318 memcpy(mInputFrame + validSamples, inPtr + inPos, in process()
320 inPos += (kNumBytesPerInputFrame - mFilledLen); in process()
322 memcpy(mInputFrame + validSamples, inPtr + inPos, (inSize - inPos)); in process()
323 mFilledLen += (inSize - inPos); in process()
324 inPos += (inSize - inPos); in process()
DC2SoftAmrDec.cpp314 size_t inPos = 0; in process() local
315 while (inPos < inSize) { in process()
320 uint8_t *input = const_cast<uint8_t *>(inPtr + inPos); in process()
357 inPos += *it; in process()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacEnc.cpp274 size_t inPos = 0; in process() local
275 while (inPos < inSize) { in process()
277 const size_t processSize = MIN(kInBlockSize * frameSize, (inSize - inPos)); in process()
283 const float * const pcmFloat = reinterpret_cast<const float *>(inPtr + inPos); in process()
286 const int16_t * const pcm16 = reinterpret_cast<const int16_t *>(inPtr + inPos); in process()
301 inPos += processSize; in process()
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp396 size_t inPos = 0; in process() local
398 while (inPos < inSize) { in process()
404 mConfig->pInputBuffer = const_cast<uint8 *>(rView.data() + inPos); in process()
405 mConfig->inputBufferCurrentLength = (inSize - inPos); in process()
461 inPos += mConfig->inputBufferUsedLength; in process()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.cpp595 size_t inPos = 0; in process() local
596 while (inPos < inSize) { in process()
625 uint32_t useExtTimestamp = (inPos == 0); in process()
684 inPos += inSize - (size_t)tmpInSize; in process()
687 if (inSize - inPos != 0) { in process()
689 (int)inSize - (int)inPos); in process()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp824 size_t inPos = 0; in process() local
825 while (inPos < inSize) { in process()
841 inOffset + inPos, inSize - inPos, workIndex)) { in process()
947 inPos += s_decode_op.u4_num_bytes_consumed; in process()
948 if (hasPicture && (inSize - inPos)) { in process()
950 (int)inSize - (int)inPos); in process()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp905 size_t inPos = 0; in process() local
906 while (inPos < inSize) { in process()
923 inOffset + inPos, inSize - inPos, workIndex)) { in process()
1012 inPos += s_decode_op.u4_num_bytes_consumed; in process()
1013 if (hasPicture && (inSize - inPos) != 0) { in process()
1015 (int)inSize - (int)inPos); in process()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp827 size_t inPos = 0; in process() local
828 while (inPos < inSize && inSize - inPos >= kMinInputBytes) { in process()
846 inOffset + inPos, inSize - inPos, workIndex)) { in process()
948 inPos += s_decode_op.u4_num_bytes_consumed; in process()