/hardware/google/av/media/codecs/amr_nb_wb/ |
D | C2SoftAmrNbEnc.cpp | 237 size_t inPos = 0; in process() local 239 while (inPos < inSize) { in process() 242 if ((inPos + (kNumBytesPerInputFrame - mFilledLen)) <= inSize) { in process() 243 memcpy(mInputFrame + validSamples, inPtr + inPos, in process() 245 inPos += (kNumBytesPerInputFrame - mFilledLen); in process() 247 memcpy(mInputFrame + validSamples, inPtr + inPos, (inSize - inPos)); in process() 248 mFilledLen += (inSize - inPos); in process() 249 inPos += (inSize - inPos); in process()
|
D | C2SoftAmrWbEnc.cpp | 320 size_t inPos = 0; in process() local 322 while (inPos < inSize) { in process() 325 if ((inPos + (kNumBytesPerInputFrame - mFilledLen)) <= inSize) { in process() 326 memcpy(mInputFrame + validSamples, inPtr + inPos, in process() 328 inPos += (kNumBytesPerInputFrame - mFilledLen); in process() 330 memcpy(mInputFrame + validSamples, inPtr + inPos, (inSize - inPos)); in process() 331 mFilledLen += (inSize - inPos); in process() 332 inPos += (inSize - inPos); in process()
|
D | C2SoftAmrDec.cpp | 320 size_t inPos = 0; in process() local 321 while (inPos < inSize) { in process() 326 uint8_t *input = const_cast<uint8_t *>(inPtr + inPos); in process() 364 inPos += *it; in process()
|
/hardware/google/av/media/codecs/flac/ |
D | C2SoftFlacEnc.cpp | 250 size_t inPos = 0; in process() local 251 while (inPos < inSize) { in process() 253 size_t processSize = MIN(kInBlockSize * channelCount * sizeof(int16_t), (inSize - inPos)); in process() 256 const int16_t *pcm16 = reinterpret_cast<const int16_t *>(inPtr + inPos); in process() 272 inPos += processSize; in process()
|
/hardware/google/av/media/codecs/mp3/ |
D | C2SoftMp3Dec.cpp | 403 size_t inPos = 0; in process() local 405 while (inPos < inSize) { in process() 411 mConfig->pInputBuffer = const_cast<uint8 *>(rView.data() + inPos); in process() 412 mConfig->inputBufferCurrentLength = (inSize - inPos); in process() 468 inPos += mConfig->inputBufferUsedLength; in process()
|
/hardware/google/av/media/codecs/mpeg4_h263/ |
D | C2SoftMpeg4Dec.cpp | 592 size_t inPos = 0; in process() local 593 while (inPos < inSize) { in process() 622 uint32_t useExtTimestamp = (inPos == 0); in process() 675 inPos += inSize - (size_t)tmpInSize; in process() 678 if (inSize - inPos != 0) { in process() 680 (int)inSize - (int)inPos); in process()
|
/hardware/google/av/media/codecs/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 850 size_t inPos = 0; in process() local 851 while (inPos < inSize) { in process() 868 inOffset + inPos, inSize - inPos, workIndex)) { in process() 957 inPos += s_decode_op.u4_num_bytes_consumed; in process() 958 if (hasPicture && (inSize - inPos) != 0) { in process() 960 (int)inSize - (int)inPos); in process()
|
/hardware/google/av/media/codecs/avc/ |
D | C2SoftAvcDec.cpp | 768 size_t inPos = 0; in process() local 769 while (inPos < inSize) { in process() 787 inOffset + inPos, inSize - inPos, workIndex)) { in process() 867 inPos += s_decode_op.u4_num_bytes_consumed; in process() 868 if (hasPicture && (inSize - inPos)) { in process() 870 (int)inSize - (int)inPos); in process()
|
/hardware/google/av/media/codecs/hevc/ |
D | C2SoftHevcDec.cpp | 768 size_t inPos = 0; in process() local 769 while (inPos < inSize) { in process() 785 inOffset + inPos, inSize - inPos, workIndex)) { in process() 864 inPos += s_decode_op.u4_num_bytes_consumed; in process() 865 if (hasPicture && (inSize - inPos)) { in process() 867 (int)inSize - (int)inPos); in process()
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 485 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition() local 493 preRotateSource(extorient, whf, inPos); in getAspectRatioPosition() 505 xRatio = (float)(inPos.x/actualWidth); in getAspectRatioPosition() 506 yRatio = (float)(inPos.y/actualHeight); in getAspectRatioPosition() 507 wRatio = (float)(inPos.w/actualWidth); in getAspectRatioPosition() 508 hRatio = (float)(inPos.h/actualHeight); in getAspectRatioPosition()
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_utils.cpp | 472 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition() local 480 preRotateSource(extorient, whf, inPos); in getAspectRatioPosition() 492 xRatio = (float)((float)inPos.x/actualWidth); in getAspectRatioPosition() 493 yRatio = (float)((float)inPos.y/actualHeight); in getAspectRatioPosition() 494 wRatio = (float)((float)inPos.w/actualWidth); in getAspectRatioPosition() 495 hRatio = (float)((float)inPos.h/actualHeight); in getAspectRatioPosition()
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_utils.cpp | 633 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition() local 641 preRotateSource(extorient, whf, inPos); in getAspectRatioPosition() 653 xRatio = (float)((float)inPos.x/actualWidth); in getAspectRatioPosition() 654 yRatio = (float)((float)inPos.y/actualHeight); in getAspectRatioPosition() 655 wRatio = (float)((float)inPos.w/actualWidth); in getAspectRatioPosition() 656 hRatio = (float)((float)inPos.h/actualHeight); in getAspectRatioPosition()
|