Searched refs:inPos (Results 1 – 10 of 10) sorted by relevance
/frameworks/av/media/codec2/components/amr_nb_wb/ |
D | C2SoftAmrNbEnc.cpp | 230 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()
|
D | C2SoftAmrWbEnc.cpp | 312 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()
|
D | C2SoftAmrDec.cpp | 314 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() 358 inPos += *it; in process()
|
/frameworks/av/media/codec2/components/flac/ |
D | C2SoftFlacEnc.cpp | 274 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/opus/ |
D | C2SoftOpusEnc.cpp | 360 size_t inPos = 0; in process() local 446 while (inPos < inSize) { in process() 447 const uint8_t* pcmBytes = inPtr + inPos; in process() 449 if ((inPos + (mNumPcmBytesPerInputFrame - mFilledLen)) <= inSize) { in process() 453 processSize = inSize - inPos; in process() 468 inPos += processSize; in process()
|
/frameworks/av/media/codec2/components/mp3/ |
D | C2SoftMp3Dec.cpp | 396 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/ |
D | C2SoftMpeg4Dec.cpp | 598 size_t inPos = 0; in process() local 599 while (inPos < inSize) { in process() 628 uint32_t useExtTimestamp = (inPos == 0); in process() 687 inPos += inSize - (size_t)tmpInSize; in process() 690 if (inSize - inPos != 0) { in process() 692 (int)inSize - (int)inPos); in process()
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcDec.cpp | 824 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/ |
D | C2SoftMpeg2Dec.cpp | 898 size_t inPos = 0; in process() local 899 while (inPos < inSize) { in process() 916 inOffset + inPos, inSize - inPos, workIndex)) { in process() 1005 inPos += s_decode_op.u4_num_bytes_consumed; in process() 1006 if (hasPicture && (inSize - inPos) != 0) { in process() 1008 (int)inSize - (int)inPos); in process()
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcDec.cpp | 826 size_t inPos = 0; in process() local 827 while (inPos < inSize && inSize - inPos >= kMinInputBytes) { in process() 845 inOffset + inPos, inSize - inPos, workIndex)) { in process() 947 inPos += s_decode_op.u4_num_bytes_consumed; in process()
|