HomeSort by relevance Sort by last modified time
    Searched refs:outHeader (Results 1 - 25 of 29) sorted by null

1 2

  /frameworks/av/media/libstagefright/codecs/mp3dec/
SoftMP3.cpp 123 void *SoftMP3::memsetSafe(OMX_BUFFERHEADERTYPE *outHeader, int c, size_t len) {
124 if (len > outHeader->nAllocLen) {
125 ALOGE("memset buffer too small: got %u, expected %zu", outHeader->nAllocLen, len);
131 return memset(outHeader->pBuffer, c, len);
252 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader;
253 outHeader->nFlags = 0;
277 if ((int32)outHeader->nAllocLen < mConfig->outputFrameSize) {
279 outHeader->nAllocLen, mConfig->outputFrameSize);
287 reinterpret_cast<int16_t *>(outHeader->pBuffer);
311 outHeader->nOffset = 0
    [all...]
SoftMP3.h 75 void *memsetSafe(OMX_BUFFERHEADERTYPE *outHeader, int c, size_t len);
  /frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
SoftMPEG4.cpp 114 OMX_BUFFERHEADERTYPE *outHeader =
125 outHeader->nFilledLen = 0;
126 outHeader->nFlags = OMX_BUFFERFLAG_EOS;
129 while ((*it)->mHeader != outHeader) {
138 notifyFillBufferDone(outHeader);
139 outHeader = NULL;
211 OMX_BUFFERHEADERTYPE *outHeader = port->mBuffers.editItemAt(1).mHeader;
214 if ((outHeader->nAllocLen < yFrameSize) ||
215 (outHeader->nAllocLen - yFrameSize < yFrameSize / 2)) {
217 (unsigned long)outHeader->nAllocLen)
    [all...]
  /frameworks/av/media/libstagefright/codecs/on2/dec/
SoftVPX.cpp 115 OMX_BUFFERHEADERTYPE *outHeader = NULL;
148 outHeader = outInfo->mHeader;
155 outHeader->nOffset = 0;
156 outHeader->nFlags = 0;
157 outHeader->nFilledLen = (outputBufferWidth() * outputBufferHeight() * 3) / 2;
158 outHeader->nTimeStamp = *(OMX_TICKS *)mImg->user_priv;
159 if (outputBufferSafe(outHeader)) {
160 uint8_t *dst = outHeader->pBuffer;
169 outHeader->nFilledLen = 0;
176 notifyFillBufferDone(outHeader);
    [all...]
SoftVPX.h 69 bool outputBufferSafe(OMX_BUFFERHEADERTYPE *outHeader);
  /frameworks/av/media/libstagefright/codecs/gsm/dec/
SoftGSM.cpp 203 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader;
210 outHeader->nFilledLen = 0;
211 outHeader->nFlags = OMX_BUFFERFLAG_EOS;
215 notifyFillBufferDone(outHeader);
231 if (outHeader->nAllocLen < (inHeader->nFilledLen / kMSGSMFrameSize) * 320) {
232 ALOGE("output buffer is not large enough (%d).", outHeader->nAllocLen);
242 reinterpret_cast<int16_t *>(outHeader->pBuffer), inputptr, inHeader->nFilledLen);
244 outHeader->nTimeStamp = inHeader->nTimeStamp;
245 outHeader->nOffset = 0;
246 outHeader->nFilledLen = n * sizeof(int16_t)
    [all...]
  /frameworks/av/media/libstagefright/codecs/aacenc/
SoftAACEncoder.cpp 425 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader;
426 outHeader->nFilledLen = sizeof(mAudioSpecificConfigData);
427 outHeader->nFlags = OMX_BUFFERFLAG_CODECCONFIG;
429 uint8_t *out = outHeader->pBuffer + outHeader->nOffset;
439 notifyFillBufferDone(outHeader);
522 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader;
536 uint8_t *outPtr = (uint8_t *)outHeader->pBuffer + outHeader->nOffset;
537 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset
    [all...]
SoftAACEncoder2.cpp 513 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader;
514 outHeader->nFilledLen = encInfo.confSize;
515 outHeader->nFlags = OMX_BUFFERFLAG_CODECCONFIG;
517 uint8_t *out = outHeader->pBuffer + outHeader->nOffset;
522 notifyFillBufferDone(outHeader);
609 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader;
611 uint8_t *outPtr = (uint8_t *)outHeader->pBuffer + outHeader->nOffset;
612 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset
    [all...]
  /frameworks/av/media/libstagefright/codecs/flac/enc/
SoftFlacEncoder.cpp 307 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader;
314 outHeader->nFilledLen = 0;
315 outHeader->nFlags = OMX_BUFFERFLAG_EOS;
319 notifyFillBufferDone(outHeader);
357 notifyFillBufferDone(outHeader);
358 outHeader = NULL;
406 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader;
411 memcpy(outHeader->pBuffer + outHeader->nOffset + outHeader->nFilledLen
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrnb/enc/
SoftAMRNBEncoder.cpp 381 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader;
383 uint8_t *outPtr = outHeader->pBuffer + outHeader->nOffset;
384 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset;
397 outHeader->nFilledLen = res;
398 outHeader->nFlags = OMX_BUFFERFLAG_ENDOFFRAME;
403 outHeader->nFlags = OMX_BUFFERFLAG_EOS;
406 outHeader->nTimeStamp = mInputTimeUs;
410 nOutputBytes, mInputTimeUs, outHeader->nFlags)
    [all...]
  /frameworks/av/media/libstagefright/codecs/g711/dec/
SoftG711.cpp 220 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader;
227 outHeader->nFilledLen = 0;
228 outHeader->nFlags = OMX_BUFFERFLAG_EOS;
232 notifyFillBufferDone(outHeader);
243 if (inHeader->nFilledLen * sizeof(int16_t) > outHeader->nAllocLen) {
244 ALOGE("output buffer too small (%d).", outHeader->nAllocLen);
256 reinterpret_cast<int16_t *>(outHeader->pBuffer),
260 reinterpret_cast<int16_t *>(outHeader->pBuffer),
264 outHeader->nTimeStamp = inHeader->nTimeStamp;
265 outHeader->nOffset = 0
    [all...]
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/
SoftAVC.cpp 253 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader;
255 if (outHeader->nAllocLen - outHeader->nOffset < frameSize) {
261 outHeader->nTimeStamp = header->nTimeStamp;
262 outHeader->nFlags = header->nFlags;
263 outHeader->nFilledLen = frameSize;
265 uint8_t *dst = outHeader->pBuffer + outHeader->nOffset;
277 notifyFillBufferDone(outHeader);
307 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader
    [all...]
  /frameworks/av/media/libstagefright/codecs/avc/enc/
SoftAVCEncoder.cpp 511 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader;
513 outHeader->nTimeStamp = 0;
514 outHeader->nFlags = 0;
515 outHeader->nOffset = 0;
516 outHeader->nFilledLen = 0;
517 outHeader->nOffset = 0;
519 uint8_t *outPtr = (uint8_t *) outHeader->pBuffer;
520 uint32_t dataLength = outHeader->nAllocLen;
540 outHeader->nFlags = OMX_BUFFERFLAG_CODECCONFIG;
543 notifyFillBufferDone(outHeader);
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrnb/dec/
SoftAMR.cpp 310 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader;
317 outHeader->nFilledLen = 0;
318 outHeader->nFlags = OMX_BUFFERFLAG_EOS;
322 notifyFillBufferDone(outHeader);
342 if (outHeader->nAllocLen < kNumSamplesPerFrameNB * sizeof(int16_t)) {
344 kNumSamplesPerFrameNB * sizeof(int16_t), outHeader->nAllocLen);
366 reinterpret_cast<int16_t *>(outHeader->pBuffer),
389 if (outHeader->nAllocLen < kNumSamplesPerFrameWB * sizeof(int16_t)) {
391 kNumSamplesPerFrameWB * sizeof(int16_t), outHeader->nAllocLen);
418 int16_t *outPtr = (int16_t *)outHeader->pBuffer
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrwbenc/
SoftAMRWBEncoder.cpp 428 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader;
430 uint8_t *outPtr = outHeader->pBuffer + outHeader->nOffset;
431 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset;
452 outHeader->nFilledLen = outputData.Length;
453 outHeader->nFlags = OMX_BUFFERFLAG_ENDOFFRAME;
458 outHeader->nFlags = OMX_BUFFERFLAG_EOS;
461 outHeader->nTimeStamp = mInputTimeUs;
465 outHeader->nFilledLen, mInputTimeUs, outHeader->nFlags)
    [all...]
  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
SoftMPEG4Encoder.cpp 406 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader;
408 outHeader->nTimeStamp = 0;
409 outHeader->nFlags = 0;
410 outHeader->nOffset = 0;
411 outHeader->nFilledLen = 0;
412 outHeader->nOffset = 0;
414 uint8_t *outPtr = (uint8_t *) outHeader->pBuffer;
415 int32_t dataLength = outHeader->nAllocLen;
426 outHeader->nFlags |= OMX_BUFFERFLAG_CODECCONFIG;
427 outHeader->nFilledLen = dataLength
    [all...]
  /frameworks/av/media/libstagefright/codecs/mpeg2dec/
SoftMPEG2.cpp 518 OMX_BUFFERHEADERTYPE *outHeader,
547 if (outHeader) {
548 if (outHeader->nAllocLen < sizeY + (sizeUV * 2)) {
552 pBuf = outHeader->pBuffer;
607 OMX_BUFFERHEADERTYPE *outHeader;
623 outHeader = outInfo->mHeader;
624 outHeader->nFlags = 0;
625 outHeader->nTimeStamp = 0;
626 outHeader->nOffset = 0;
671 if (!setDecodeArgs(&s_dec_ip, &s_dec_op, inHeader, outHeader, timeStampIx))
    [all...]
  /frameworks/av/media/libstagefright/codecs/raw/
SoftRaw.cpp 204 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader;
206 CHECK_GE(outHeader->nAllocLen, inHeader->nFilledLen);
207 memcpy(outHeader->pBuffer,
211 outHeader->nFlags = inHeader->nFlags;
212 outHeader->nOffset = 0;
213 outHeader->nFilledLen = inHeader->nFilledLen;
214 outHeader->nTimeStamp = inHeader->nTimeStamp;
224 notifyFillBufferDone(outHeader);
  /frameworks/av/media/libstagefright/codecs/opus/dec/
SoftOpus.cpp 431 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader;
438 outHeader->nFilledLen = 0;
439 outHeader->nFlags = OMX_BUFFERFLAG_EOS;
443 notifyFillBufferDone(outHeader);
462 if (frameSize > outHeader->nAllocLen / sizeof(int16_t) / mHeader->channels) {
463 frameSize = outHeader->nAllocLen / sizeof(int16_t) / mHeader->channels;
470 (int16_t *)outHeader->pBuffer,
479 outHeader->nOffset = 0;
486 outHeader->nOffset = mSamplesToDiscard * sizeof(int16_t) *
492 outHeader->nFilledLen = numFrames * sizeof(int16_t) * mHeader->channels
    [all...]
  /frameworks/av/media/libstagefright/codecs/avcdec/
SoftAVCDec.cpp 431 OMX_BUFFERHEADERTYPE *outHeader,
460 if (outHeader) {
461 if (outHeader->nAllocLen < sizeY + (sizeUV * 2)) {
465 pBuf = outHeader->pBuffer;
548 OMX_BUFFERHEADERTYPE *outHeader;
569 outHeader = outInfo->mHeader;
570 outHeader->nFlags = 0;
571 outHeader->nTimeStamp = 0;
572 outHeader->nOffset = 0;
614 if (!setDecodeArgs(&s_dec_ip, &s_dec_op, inHeader, outHeader, timeStampIx))
    [all...]
  /frameworks/av/media/libstagefright/codecs/hevcdec/
SoftHEVC.cpp 391 OMX_BUFFERHEADERTYPE *outHeader,
420 if (outHeader) {
421 if (outHeader->nAllocLen < sizeY + (sizeUV * 2)) {
425 pBuf = outHeader->pBuffer;
509 OMX_BUFFERHEADERTYPE *outHeader;
525 outHeader = outInfo->mHeader;
526 outHeader->nFlags = 0;
527 outHeader->nTimeStamp = 0;
528 outHeader->nOffset = 0;
563 if (!setDecodeArgs(&s_dec_ip, &s_dec_op, inHeader, outHeader, timeStampIx))
    [all...]
SoftHEVC.h 113 OMX_BUFFERHEADERTYPE *outHeader,
  /frameworks/av/media/libstagefright/codecs/vorbis/dec/
SoftVorbis.cpp 338 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader;
395 outHeader->nFlags = 0;
406 if (numSamplesPerBuffer > outHeader->nAllocLen / sizeof(int16_t)) {
407 numSamplesPerBuffer = outHeader->nAllocLen / sizeof(int16_t);
411 mState, (int16_t *)outHeader->pBuffer,
426 outHeader->nFlags = OMX_BUFFERFLAG_EOS;
433 outHeader->nFilledLen = numFrames * sizeof(int16_t) * mVi->channels;
434 outHeader->nOffset = 0;
436 outHeader->nTimeStamp =
453 notifyFillBufferDone(outHeader);
    [all...]
  /frameworks/av/media/libstagefright/codecs/aacdec/
SoftAAC2.cpp     [all...]
  /external/icu/icu4c/source/common/
ucol_swp.cpp 170 UCATableHeader *outHeader;
188 outHeader=(UCATableHeader *)outData;
252 outHeader, pErrorCode);
254 &(outHeader->scriptToLeadByte), pErrorCode);
256 outHeader->isBigEndian=ds->outIsBigEndian;
257 outHeader->charSetFamily=ds->outCharset;
608 InverseUCATableHeader *outHeader;
639 outHeader=(InverseUCATableHeader *)outBytes;
674 ds->swapArray32(ds, inHeader, 5*4, outHeader, pErrorCode);

Completed in 1910 milliseconds

1 2