/frameworks/av/media/libstagefright/codecs/mp3dec/ |
D | SoftMP3.cpp | 229 if (inHeader->nOffset == 0 && inHeader->nFilledLen) { in onQueueFilled() 241 mConfig->inputBufferCurrentLength = inHeader->nFilledLen; in onQueueFilled() 277 outHeader->nFilledLen = kPVMP3DecoderDelay * mNumChannels * sizeof(int16_t); in onQueueFilled() 279 memset(outHeader->pBuffer, 0, outHeader->nFilledLen); in onQueueFilled() 291 mConfig->inputBufferUsedLength = inHeader->nFilledLen; in onQueueFilled() 312 outHeader->nFilledLen = in onQueueFilled() 316 outHeader->nFilledLen = mConfig->outputFrameSize * sizeof(int16_t); in onQueueFilled() 324 CHECK_GE(inHeader->nFilledLen, mConfig->inputBufferUsedLength); in onQueueFilled() 327 inHeader->nFilledLen -= mConfig->inputBufferUsedLength; in onQueueFilled() 330 if (inHeader->nFilledLen == 0) { in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/gsm/dec/ |
D | SoftGSM.cpp | 195 outHeader->nFilledLen = 0; in onQueueFilled() 204 if (inHeader->nFilledLen > kMaxNumSamplesPerFrame) { in onQueueFilled() 205 ALOGE("input buffer too large (%d).", inHeader->nFilledLen); in onQueueFilled() 210 if(((inHeader->nFilledLen / 65) * 65) != inHeader->nFilledLen) { in onQueueFilled() 211 ALOGE("input buffer not multiple of 65 (%d).", inHeader->nFilledLen); in onQueueFilled() 219 reinterpret_cast<int16_t *>(outHeader->pBuffer), inputptr, inHeader->nFilledLen); in onQueueFilled() 223 outHeader->nFilledLen = n * sizeof(int16_t); in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
D | SoftAAC2.cpp | 525 inBufferLength[0] = inHeader->nFilledLen; in onQueueFilled() 563 if (inHeader->nFilledLen == 0) { in onQueueFilled() 581 if (inHeader->nFilledLen < 7) { in onQueueFilled() 583 "Got %d bytes.", inHeader->nFilledLen); in onQueueFilled() 584 hexdump(adtsHeader, inHeader->nFilledLen); in onQueueFilled() 594 if (inHeader->nFilledLen < aac_frame_length) { in onQueueFilled() 598 inHeader->nFilledLen, aac_frame_length); in onQueueFilled() 599 hexdump(adtsHeader, inHeader->nFilledLen); in onQueueFilled() 608 inHeader->nFilledLen -= adtsHeaderSize; in onQueueFilled() 631 inBufferLength[0] = inHeader->nFilledLen; in onQueueFilled() [all …]
|
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
D | SoftG711.cpp | 212 outHeader->nFilledLen = 0; in onQueueFilled() 221 if (inHeader->nFilledLen > kMaxNumSamplesPerFrame) { in onQueueFilled() 222 ALOGE("input buffer too large (%d).", inHeader->nFilledLen); in onQueueFilled() 233 inputptr, inHeader->nFilledLen); in onQueueFilled() 237 inputptr, inHeader->nFilledLen); in onQueueFilled() 242 outHeader->nFilledLen = inHeader->nFilledLen * sizeof(int16_t); in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
D | SoftFlacEncoder.cpp | 288 outHeader->nFilledLen = 0; in onQueueFilled() 298 if (inHeader->nFilledLen > kMaxInputBufferSize) { in onQueueFilled() 299 ALOGE("input buffer too large (%d).", inHeader->nFilledLen); in onQueueFilled() 311 const unsigned nbInputFrames = inHeader->nFilledLen / (2 * mNumChannels); in onQueueFilled() 312 const unsigned nbInputSamples = inHeader->nFilledLen / 2; in onQueueFilled() 385 memcpy(outHeader->pBuffer + outHeader->nOffset + outHeader->nFilledLen, in onEncodedFlacAvailable() 387 outHeader->nFilledLen += mHeaderOffset; in onEncodedFlacAvailable() 395 if (bytes > outHeader->nAllocLen - outHeader->nOffset - outHeader->nFilledLen) { in onEncodedFlacAvailable() 404 outHeader->nFilledLen += bytes; in onEncodedFlacAvailable()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/ |
D | SoftMPEG4.cpp | 112 if ((inHeader->nFlags & OMX_BUFFERFLAG_EOS) && inHeader->nFilledLen == 0) { in onQueueFilled() 119 outHeader->nFilledLen = 0; in onQueueFilled() 153 vol_size = inHeader->nFilledLen; in onQueueFilled() 222 int32_t bufferSize = inHeader->nFilledLen; in onQueueFilled() 250 inHeader->nFilledLen = 0; in onQueueFilled() 257 if (inHeader->nFilledLen == 0) { in onQueueFilled() 268 outHeader->nFilledLen = (mWidth * mHeight * 3) / 2; in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/ |
D | SoftAMRWBEncoder.cpp | 349 if (copy > inHeader->nFilledLen) { in onQueueFilled() 350 copy = inHeader->nFilledLen; in onQueueFilled() 361 inHeader->nFilledLen -= copy; in onQueueFilled() 368 if (inHeader->nFilledLen == 0) { in onQueueFilled() 424 outHeader->nFilledLen = outputData.Length; in onQueueFilled() 437 outHeader->nFilledLen, mInputTimeUs, outHeader->nFlags); in onQueueFilled() 439 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen); in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/ |
D | SoftAMR.cpp | 297 outHeader->nFilledLen = 0; in onQueueFilled() 333 if (static_cast<size_t>(numBytesRead) > inHeader->nFilledLen) { in onQueueFilled() 355 CHECK_GE(inHeader->nFilledLen, frameSize); in onQueueFilled() 390 inHeader->nFilledLen -= numBytesRead; in onQueueFilled() 396 outHeader->nFilledLen = kNumSamplesPerFrameNB * sizeof(int16_t); in onQueueFilled() 404 outHeader->nFilledLen = kNumSamplesPerFrameWB * sizeof(int16_t); in onQueueFilled() 413 if (inHeader->nFilledLen == 0) { in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
D | SoftAVCEncoder.cpp | 492 outHeader->nFilledLen = 0; in onQueueFilled() 526 outHeader->nFilledLen = 4 + dataLength; in onQueueFilled() 528 dataLength = outHeader->nAllocLen - outHeader->nFilledLen; in onQueueFilled() 533 memcpy((uint8_t *) outHeader->pBuffer + outHeader->nFilledLen, in onQueueFilled() 535 outHeader->nFilledLen += (dataLength + 4); in onQueueFilled() 556 if (inHeader->nFilledLen > 0) { in onQueueFilled() 564 if (inHeader->nFilledLen != 8) { in onQueueFilled() 566 "(got %u bytes, expected 8)", inHeader->nFilledLen); in onQueueFilled() 574 inHeader->pBuffer + inHeader->nOffset, inHeader->nFilledLen, in onQueueFilled() 626 if (inHeader->nFilledLen > 0) { in onQueueFilled() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/ |
D | SoftAMRNBEncoder.cpp | 302 if (copy > inHeader->nFilledLen) { in onQueueFilled() 303 copy = inHeader->nFilledLen; in onQueueFilled() 314 inHeader->nFilledLen -= copy; in onQueueFilled() 321 if (inHeader->nFilledLen == 0) { in onQueueFilled() 369 outHeader->nFilledLen = res; in onQueueFilled() 384 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen); in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/vorbis/dec/ |
D | SoftVorbis.cpp | 259 size_t size = header->nFilledLen; in onQueueFilled() 313 if (inHeader->nFilledLen || !mSawInputEos) { in onQueueFilled() 314 CHECK_GE(inHeader->nFilledLen, sizeof(numPageSamples)); in onQueueFilled() 317 + inHeader->nOffset + inHeader->nFilledLen - 4, in onQueueFilled() 325 inHeader->nFilledLen -= sizeof(numPageSamples);; in onQueueFilled() 335 buf.size = inHeader ? inHeader->nFilledLen : 0; in onQueueFilled() 388 outHeader->nFilledLen = numFrames * sizeof(int16_t) * mVi->channels; in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/raw/ |
D | SoftRaw.cpp | 181 CHECK_GE(outHeader->nAllocLen, inHeader->nFilledLen); in onQueueFilled() 184 inHeader->nFilledLen); in onQueueFilled() 188 outHeader->nFilledLen = inHeader->nFilledLen; in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/on2/dec/ |
D | SoftVPX.cpp | 107 if (inHeader->nFilledLen == 0) { in onQueueFilled() 112 outHeader->nFilledLen = 0; in onQueueFilled() 126 inHeader->nFilledLen, in onQueueFilled() 150 outHeader->nFilledLen = (width * height * 3) / 2; in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
D | SoftAACEncoder.cpp | 398 outHeader->nFilledLen = sizeof(mAudioSpecificConfigData); in onQueueFilled() 438 if (copy > inHeader->nFilledLen) { in onQueueFilled() 439 copy = inHeader->nFilledLen; in onQueueFilled() 454 inHeader->nFilledLen -= copy; in onQueueFilled() 462 if (inHeader->nFilledLen == 0) { in onQueueFilled() 524 outHeader->nFilledLen = nOutputBytes; in onQueueFilled() 540 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen); in onQueueFilled()
|
D | SoftAACEncoder2.cpp | 453 outHeader->nFilledLen = encInfo.confSize; in onQueueFilled() 493 if (copy > inHeader->nFilledLen) { in onQueueFilled() 494 copy = inHeader->nFilledLen; in onQueueFilled() 509 inHeader->nFilledLen -= copy; in onQueueFilled() 517 if (inHeader->nFilledLen == 0) { in onQueueFilled() 615 outHeader->nFilledLen = nOutputBytes; in onQueueFilled() 631 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen); in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
D | SoftMPEG4Encoder.cpp | 379 outHeader->nFilledLen = 0; in onQueueFilled() 395 outHeader->nFilledLen = dataLength; in onQueueFilled() 413 if (inHeader->nFilledLen > 0) { in onQueueFilled() 416 if (inHeader->nFilledLen != 8) { in onQueueFilled() 418 "(got %u bytes, expected 8)", inHeader->nFilledLen); in onQueueFilled() 426 inHeader->pBuffer + inHeader->nOffset, inHeader->nFilledLen, in onQueueFilled() 485 outHeader->nFilledLen = dataLength; in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/opus/dec/ |
D | SoftOpus.cpp | 335 size_t size = header->nFilledLen; in onQueueFilled() 408 outHeader->nFilledLen = 0; in onQueueFilled() 430 const uint32_t size = inHeader->nFilledLen; in onQueueFilled() 457 outHeader->nFilledLen = numFrames * sizeof(int16_t) * mHeader->channels; in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/ |
D | SoftAVC.cpp | 148 inPicture.dataLen = inHeader->nFilledLen; in onQueueFilled() 253 outHeader->nFilledLen = mWidth * mHeight * 3 / 2; in drainOneOutputBuffer() 294 outHeader->nFilledLen = 0; in drainAllOutputBuffers()
|
/frameworks/av/media/libstagefright/codecs/hevcdec/ |
D | SoftHEVC.cpp | 501 ps_dec_ip->u4_num_Bytes = inHeader->nFilledLen; in setDecodeArgs() 597 if (inHeader->nFilledLen == 0) { in onQueueFilled() 722 outHeader->nFilledLen = (mWidth * mHeight * 3) / 2; in onQueueFilled() 740 outHeader->nFilledLen = 0; in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/on2/enc/ |
D | SoftVPXEncoder.cpp | 669 outputBufferHeader->nFilledLen = 0; in onQueueFilled() 684 source, inputBufferHeader->nFilledLen, in onQueueFilled() 759 outputBufferHeader->nFilledLen = encoded_packet->data.frame.sz; in onQueueFilled()
|
/frameworks/av/media/libstagefright/omx/ |
D | OMXNodeInstance.cpp | 82 (header)->nOffset, (header)->nFilledLen, (header)->nFlags, (header)->nTimeStamp 125 header->nFilledLen); in CopyFromOMX() 135 header->nFilledLen); in CopyToOMX() 957 header->nFilledLen = 0; in fillBuffer() 983 header->nFilledLen = rangeLength; in emptyBuffer() 1056 header->nFilledLen = rangeLength; in emptyDirectBuffer()
|
D | SimpleSoftOMXComponent.cpp | 202 (*header)->nFilledLen = 0; in useBuffer() 517 buffer->mHeader->nFilledLen = 0; in onPortFlush()
|
D | OMX.cpp | 479 msg.u.extended_buffer_data.range_length = pBuffer->nFilledLen; in OnFillBufferDone()
|
D | GraphicBufferSource.cpp | 235 header, header->nAllocLen, header->nFilledLen, in codecBufferEmptied()
|
/frameworks/native/include/media/openmax/ |
D | OMX_Core.h | 422 OMX_U32 nFilledLen; /**< number of bytes currently in the member
|