/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
frameparser.cpp | 159 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 161 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); 162 source_len = source->nFilledLen; 190 dest->nFilledLen += 3; 203 dest->nFilledLen += 4; 210 while ( source->nFilledLen > 0 && parse_state != A0 220 source->nFilledLen--; 230 source->nFilledLen--; 239 dest->nFilledLen++; 247 dest->nFilledLen += 2 [all...] |
omx_vdec.cpp | [all...] |
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
frameparser.cpp | 158 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 160 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); 161 source_len = source->nFilledLen; 187 dest->nFilledLen += 3; 199 dest->nFilledLen += 4; 207 while ( source->nFilledLen > 0 && parse_state != A0 216 source->nFilledLen--; 226 source->nFilledLen--; 233 dest->nFilledLen++; 239 dest->nFilledLen += 2 [all...] |
omx_vdec_hevc.cpp | [all...] |
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
frameparser.cpp | 158 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 160 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); 161 source_len = source->nFilledLen; 187 dest->nFilledLen += 3; 199 dest->nFilledLen += 4; 207 while ( source->nFilledLen > 0 && parse_state != A0 216 source->nFilledLen--; 226 source->nFilledLen--; 233 dest->nFilledLen++; 239 dest->nFilledLen += 2 [all...] |
omx_vdec_hevc.cpp | [all...] |
/hardware/qcom/media/msmcobalt/mm-video-v4l2/vidc/vdec/src/ |
frameparser.cpp | 158 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 160 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); 161 source_len = source->nFilledLen; 187 dest->nFilledLen += 3; 199 dest->nFilledLen += 4; 207 while ( source->nFilledLen > 0 && parse_state != A0 216 source->nFilledLen--; 226 source->nFilledLen--; 233 dest->nFilledLen++; 239 dest->nFilledLen += 2 [all...] |
omx_vdec_hevc.cpp | [all...] |
/frameworks/av/media/libstagefright/codecs/gsm/dec/ |
SoftGSM.cpp | 210 outHeader->nFilledLen = 0; 219 if (inHeader->nFilledLen > kMaxNumSamplesPerFrame) { 220 ALOGE("input buffer too large (%d).", inHeader->nFilledLen); 225 if(((inHeader->nFilledLen / kMSGSMFrameSize) * kMSGSMFrameSize) != inHeader->nFilledLen) { 226 ALOGE("input buffer not multiple of %d (%d).", kMSGSMFrameSize, inHeader->nFilledLen); 231 if (outHeader->nAllocLen < (inHeader->nFilledLen / kMSGSMFrameSize) * 320) { 242 reinterpret_cast<int16_t *>(outHeader->pBuffer), inputptr, inHeader->nFilledLen); 246 outHeader->nFilledLen = n * sizeof(int16_t);
|
/frameworks/av/media/libstagefright/codecs/mp3dec/ |
SoftMP3.cpp | 256 if (inHeader->nOffset == 0 && inHeader->nFilledLen) { 268 mConfig->inputBufferCurrentLength = inHeader->nFilledLen; 312 outHeader->nFilledLen = kPVMP3DecoderDelay * mNumChannels * sizeof(int16_t); 314 if (!memsetSafe(outHeader, 0, outHeader->nFilledLen)) { 334 mConfig->inputBufferUsedLength = inHeader->nFilledLen; 355 outHeader->nFilledLen = 359 outHeader->nFilledLen = mConfig->outputFrameSize * sizeof(int16_t); 366 CHECK_GE(inHeader->nFilledLen, mConfig->inputBufferUsedLength); 369 inHeader->nFilledLen -= mConfig->inputBufferUsedLength; 372 if (inHeader->nFilledLen == 0) [all...] |
/frameworks/av/media/libstagefright/codecs/on2/dec/ |
SoftVPX.cpp | 157 outHeader->nFilledLen = (outputBufferWidth() * outputBufferHeight() * 3) / 2; 169 outHeader->nFilledLen = 0; 189 outHeader->nFilledLen = 0; 201 uint64_t nFilledLen = width; 202 nFilledLen *= height; 203 if (nFilledLen > UINT32_MAX / 3) { 204 ALOGE("b/29421675, nFilledLen overflow %llu w %u h %u", 205 (unsigned long long)nFilledLen, width, height); 208 } else if (outHeader->nAllocLen < outHeader->nFilledLen) { 273 if (inHeader->nFilledLen > 0) [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/ |
SoftAMR.cpp | 317 outHeader->nFilledLen = 0; 326 if (inHeader->nFilledLen == 0) { 355 if (inHeader->nFilledLen < frameSize) { 356 ALOGE("b/27662364: expected %zu bytes vs %u", frameSize, inHeader->nFilledLen); 380 if (static_cast<size_t>(numBytesRead) > inHeader->nFilledLen) { 411 if (inHeader->nFilledLen < frameSize) { 412 ALOGE("b/27662364: expected %zu bytes vs %u", frameSize, inHeader->nFilledLen); 451 inHeader->nFilledLen -= numBytesRead; 457 outHeader->nFilledLen = kNumSamplesPerFrameNB * sizeof(int16_t); 465 outHeader->nFilledLen = kNumSamplesPerFrameWB * sizeof(int16_t) [all...] |
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
SoftG711.cpp | 227 outHeader->nFilledLen = 0; 236 if (inHeader->nFilledLen > kMaxNumSamplesPerFrame) { 237 ALOGE("input buffer too large (%d).", inHeader->nFilledLen); 243 if (inHeader->nFilledLen * sizeof(int16_t) > outHeader->nAllocLen) { 257 inputptr, inHeader->nFilledLen); 261 inputptr, inHeader->nFilledLen); 266 outHeader->nFilledLen = inHeader->nFilledLen * sizeof(int16_t);
|
/hardware/intel/common/omx-components/videocodec/ |
OMXVideoDecoderAVC.cpp | 183 if (buffer->nFilledLen != 0) { 191 if (mFilledLen + buffer->nFilledLen > mBufferSize) { 192 mBufferSize = mFilledLen + buffer->nFilledLen; 212 if (buffer->nFilledLen != 0) { 213 memcpy(mAccumulateBuffer + mFilledLen, buffer->pBuffer + buffer->nOffset, buffer->nFilledLen); 215 mFilledLen += buffer->nFilledLen;
|
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_video_dec/src/ |
omx_proxy_videodec_utils.c | 162 nSize_CSD = pBufferHdr->nFilledLen - CSD_POSITION; 187 assert(pBufferHdr->nFilledLen < pBufferHdr->nAllocLen); 188 pBufferHdr->nFilledLen = sizeof(VIDDEC_WMV_RCV_struct); 190 pBufferHdr->nFilledLen); 196 pBufferHdr->nFilledLen= pBufferHdr->nFilledLen-52;
|
/hardware/intel/common/omx-components/videocodec/securevideo/moorefield/ |
OMXVideoDecoderAVCSecure.cpp | 184 ALOGV("%s: received AVC codec data (%" PRIu32 " bytes).", __FUNCTION__, pInput->nFilledLen); 185 DumpBuffer2("OMX: AVC codec data: ", pInput->pBuffer, pInput->nFilledLen); 226 pOutput->nFilledLen = 0; 244 pOutput->nFilledLen = 0; 283 p->size = buffer->nFilledLen; 292 nalu_headers.frame_size = buffer->nFilledLen; 303 nalu_headers.parse_size = buffer->nFilledLen; 312 ALOGE("Drm_WV_ReturnNALUHeaders failed. Error = %#x, frame_size: %d, len = %u", res, nalu_headers.frame_size, buffer->nFilledLen); 386 p->size = buffer->nFilledLen; 394 nalu_headers.frame_size = buffer->nFilledLen; [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/ |
SoftMPEG4.cpp | 117 if (inHeader->nFilledLen == 0) { 125 outHeader->nFilledLen = 0; 160 vol_size = inHeader->nFilledLen; 238 int32_t bufferSize = inHeader->nFilledLen; 283 inHeader->nFilledLen = 0; 290 if (inHeader->nFilledLen == 0) { 301 outHeader->nFilledLen = frameSize;
|
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
SoftFlacEncoder.cpp | 314 outHeader->nFilledLen = 0; 324 if (inHeader->nFilledLen > kMaxInputBufferSize) { 325 ALOGE("input buffer too large (%d).", inHeader->nFilledLen); 337 const unsigned nbInputFrames = inHeader->nFilledLen / (2 * mNumChannels); 338 const unsigned nbInputSamples = inHeader->nFilledLen / 2; 411 memcpy(outHeader->pBuffer + outHeader->nOffset + outHeader->nFilledLen, 413 outHeader->nFilledLen += mHeaderOffset; 421 if (bytes > outHeader->nAllocLen - outHeader->nOffset - outHeader->nFilledLen) { 430 outHeader->nFilledLen += bytes;
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
SoftAAC2.cpp | 574 inBufferLength[0] = inHeader->nFilledLen; 611 if (inHeader->nFilledLen == 0) { 629 if (inHeader->nFilledLen < 7) { 631 "Got %d bytes.", inHeader->nFilledLen); 632 hexdump(adtsHeader, inHeader->nFilledLen); 642 if (inHeader->nFilledLen < aac_frame_length) { 646 inHeader->nFilledLen, aac_frame_length); 647 hexdump(adtsHeader, inHeader->nFilledLen); 658 inHeader->nFilledLen -= adtsHeaderSize; 682 inBufferLength[0] = inHeader->nFilledLen; [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/ |
SoftAMRNBEncoder.cpp | 330 if (copy > inHeader->nFilledLen) { 331 copy = inHeader->nFilledLen; 342 inHeader->nFilledLen -= copy; 349 if (inHeader->nFilledLen == 0) { 397 outHeader->nFilledLen = res; 412 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen);
|
/frameworks/av/media/libstagefright/codecs/vorbis/dec/ |
SoftVorbis.cpp | 276 size_t size = header->nFilledLen; 347 if (inHeader->nFilledLen || !mSawInputEos) { 348 if (inHeader->nFilledLen < sizeof(numPageSamples)) { 351 ALOGE("onQueueFilled, input header has nFilledLen %u, expected %zu", 352 inHeader->nFilledLen, sizeof(numPageSamples)); 357 + inHeader->nOffset + inHeader->nFilledLen - 4, 365 inHeader->nFilledLen -= sizeof(numPageSamples);; 375 buf.size = inHeader ? inHeader->nFilledLen : 0; 433 outHeader->nFilledLen = numFrames * sizeof(int16_t) * mVi->channels;
|
/frameworks/av/media/libstagefright/codecs/raw/ |
SoftRaw.cpp | 206 CHECK_GE(outHeader->nAllocLen, inHeader->nFilledLen); 209 inHeader->nFilledLen); 213 outHeader->nFilledLen = inHeader->nFilledLen;
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
SoftAACEncoder.cpp | 426 outHeader->nFilledLen = sizeof(mAudioSpecificConfigData); 466 if (copy > inHeader->nFilledLen) { 467 copy = inHeader->nFilledLen; 482 inHeader->nFilledLen -= copy; 490 if (inHeader->nFilledLen == 0) { 552 outHeader->nFilledLen = nOutputBytes; 568 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/ |
SoftAMRWBEncoder.cpp | 377 if (copy > inHeader->nFilledLen) { 378 copy = inHeader->nFilledLen; 389 inHeader->nFilledLen -= copy; 396 if (inHeader->nFilledLen == 0) { 452 outHeader->nFilledLen = outputData.Length; 465 outHeader->nFilledLen, mInputTimeUs, outHeader->nFlags); 467 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen);
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/common/src/ |
extra_data_handler.cpp | 261 if (pBufHdr->nFilledLen != total_size) { 263 "total slices size[%d]", pBufHdr->nFilledLen, total_size); 273 buf_hdr->nFilledLen + 3)&(~3)); 459 buf_hdr->nOffset + buf_hdr->nFilledLen)); 462 DEBUG_PRINT_LOW("\n filled_len/orig_len %d/%d", buf_hdr->nFilledLen, 471 buf_hdr->nFilledLen += msg_size; 474 DEBUG_PRINT_LOW("\n filled_len/orig_len %d/%d", buf_hdr->nFilledLen,
|