Home | History | Annotate | Download | only in src

Lines Matching refs:pBufHdr

1742     output_buf->pBufHdr = (OMX_BUFFERHEADERTYPE *)out_buff_hdr_ptr[ii];
1744 output_buf->pBufHdr->nFilledLen = 0; // make sure you tell OMX component buffer is empty
1745 output_buf->pBufHdr->nOffset = 0;
1746 output_buf->pBufHdr->pAppPrivate = output_buf; // set pAppPrivate to be pointer to output_buf
1750 output_buf->pBufHdr->nFlags = 0; // zero out the flags
1752 OMX_FillThisBuffer(iOMXDecoder, output_buf->pBufHdr);
1836 input_buf->pBufHdr->nFilledLen = 0;
1837 input_buf->pBufHdr->nOffset = 0;
1842 input_buf->pBufHdr->nTimeStamp = iOMXTicksTimestamp;
1845 input_buf->pBufHdr->pAppPrivate = (OMX_PTR) input_buf;
1848 input_buf->pBufHdr->hMarkTargetComponent = NULL;
1849 input_buf->pBufHdr->pMarkData = NULL;
1853 input_buf->pBufHdr->nFlags = 0;
1855 input_buf->pBufHdr->nFlags |= OMX_BUFFERFLAG_ENDOFFRAME;
1857 input_buf->pBufHdr->nFlags |= OMX_BUFFERFLAG_EOS;
1860 OMX_EmptyThisBuffer(iOMXDecoder, input_buf->pBufHdr);
1896 iInputBufferUnderConstruction->pBufHdr->nFlags |= OMX_BUFFERFLAG_ENDOFFRAME;
1899 (0, "%s::SendIncompleteBufferUnderConstruction() - Sending Incomplete Buffer 0x%x to OMX Component MARKER field set to %x, TS=%d, Ticks=%L", iName.Str(), iInputBufferUnderConstruction->pBufHdr->pBuffer, iInputBufferUnderConstruction->pBufHdr->nFlags, iInTimestamp, iOMXTicksTimestamp));
1901 OMX_EmptyThisBuffer(iOMXDecoder, iInputBufferUnderConstruction->pBufHdr);
2196 input_buf->pBufHdr = (OMX_BUFFERHEADERTYPE *)in_buff_hdr_ptr[ii];
2202 input_buf->pBufHdr->nFilledLen = 0; // init this for now
2309 input_buf->pBufHdr->pBuffer = (uint8 *)frag.getMemFragPtr();
2310 input_buf->pBufHdr->nFilledLen = frag.getMemFragSize();
2313 (0, "%s::SendInputBufferToOMXComponent() - Buffer 0x%x of size %d, %d frag out of tot. %d, TS=%d", iName.Str(), input_buf->pBufHdr->pBuffer, frag.getMemFragSize(), iCurrFragNum + 1, iDataIn->getNumFragments(), iInTimestamp));
2327 oscl_memcpy(input_buf->pBufHdr->pBuffer + input_buf->pBufHdr->nFilledLen,
2330 input_buf->pBufHdr->nFilledLen += NAL_START_CODE_SIZE;
2353 int32 temp = (input_buf->pBufHdr->nAllocLen - input_buf->pBufHdr->nFilledLen - (20 + 4 * (iNALCount + 1) + 20 + 6));//(sizeOfExtraDataStruct_NAL + sizeOfExTraData + sizeOfExtraDataStruct_terminator + padding);
2358 bytes_remaining_in_buffer = (input_buf->pBufHdr->nAllocLen - input_buf->pBufHdr->nFilledLen);
2364 oscl_memcpy(input_buf->pBufHdr->pBuffer + input_buf->pBufHdr->nFilledLen,
2368 input_buf->pBufHdr->nFilledLen += iFragmentSizeRemainingToCopy;
2392 (0, "%s::SendInputBufferToOMXComponent() - Copied %d bytes of fragment %d out of %d into buffer 0x%x of size %d, TS=%d ", iName.Str(), iFragmentSizeRemainingToCopy, iCurrFragNum + 1, iDataIn->getNumFragments(), input_buf->pBufHdr->pBuffer, input_buf->pBufHdr->nFilledLen, iInTimestamp));
2406 oscl_memcpy(input_buf->pBufHdr->pBuffer + input_buf->pBufHdr->nFilledLen,
2411 (0, "%s::SendInputBufferToOMXComponent() - Copied %d bytes of fragment %d out of %d into buffer 0x%x of size %d, TS=%d", iName.Str(), bytes_remaining_in_buffer, iCurrFragNum + 1, iDataIn->getNumFragments(), input_buf->pBufHdr->pBuffer, input_buf->pBufHdr->nFilledLen, iInTimestamp));
2414 input_buf->pBufHdr->nFilledLen += bytes_remaining_in_buffer;
2419 (0, "%s::SendInputBufferToOMXComponent() - Reconstructing partial frame (iOMXComponentUsesFullAVCFrames) - more data cannot fit in buffer 0x%x, TS=%d.Skipping data.", iName.Str(), input_buf->pBufHdr->pBuffer, iInTimestamp));
2437 (0, "%s::SendInputBufferToOMXComponent() - Reconstructing partial frame - more data cannot fit in buffer 0x%x, TS=%d.Skipping data.", iName.Str(), input_buf->pBufHdr->pBuffer, iInTimestamp));
2448 input_buf->pBufHdr->nOffset = 0;
2455 input_buf->pBufHdr->nTimeStamp = iOMXTicksTimestamp;
2460 input_buf->pBufHdr->pAppPrivate = (OMX_PTR) input_buf;
2463 input_buf->pBufHdr->hMarkTargetComponent = NULL;
2464 input_buf->pBufHdr->pMarkData = NULL;
2468 input_buf->pBufHdr->nFlags = 0;
2503 (0, "%s::SendInputBufferToOMXComponent() - END OF FRAGMENT - Multifragmented msg AVC case, Buffer 0x%x MARKER bit set to 1", iName.Str(), input_buf->pBufHdr->pBuffer));
2509 input_buf->pBufHdr->nFlags |= OMX_BUFFERFLAG_ENDOFFRAME;
2517 input_buf->pBufHdr->nFlags |= OMX_BUFFERFLAG_ENDOFFRAME;
2527 (0, "%s::SendInputBufferToOMXComponent() - END OF FRAGMENT - Buffer 0x%x MARKER bit set to %d", iName.Str(), input_buf->pBufHdr->pBuffer, iCurrentMsgMarkerBit));
2535 input_buf->pBufHdr->nFlags |= OMX_BUFFERFLAG_ENDOFFRAME;
2541 input_buf->pBufHdr->nFlags |= OMX_BUFFERFLAG_ENDOFFRAME;
2551 (0, "%s::SendInputBufferToOMXComponent() - NOT END OF FRAGMENT - Buffer 0x%x MARKER bit set to 0", iName.Str(), input_buf->pBufHdr->pBuffer));
2573 (0, "%s::SendInputBufferToOMXComponent() - END OF MESSAGE - Buffer 0x%x MARKER bit set to 1, TS=%d, Ticks=%L", iName.Str(), input_buf->pBufHdr->pBuffer, iInTimestamp, iOMXTicksTimestamp));
2575 input_buf->pBufHdr->nFlags |= OMX_BUFFERFLAG_ENDOFFRAME;
2584 (0, "%s::SendInputBufferToOMXComponent() - END OF MESSAGE - Buffer 0x%x MARKER bit set to 0, TS=%d, Ticks=%L", iName.Str(), input_buf->pBufHdr->pBuffer, iInTimestamp, iOMXTicksTimestamp));
2590 (0, "%s::SendInputBufferToOMXComponent() - NOT END OF MESSAGE - Buffer 0x%x MARKER bit set to 0, TS=%d, Ticks=%L", iName.Str(), input_buf->pBufHdr->pBuffer, iInTimestamp, iOMXTicksTimestamp));
2599 input_buf->pBufHdr->nFlags |= OMX_BUFFERFLAG_SYNCFRAME;
2625 (0, "%s::SendInputBufferToOMXComponent() - Sending Buffer 0x%x to OMX Component MARKER field set to %x, TS=%d, Ticks=%L", iName.Str(), input_buf->pBufHdr->pBuffer, input_buf->pBufHdr->nFlags, iInTimestamp, iOMXTicksTimestamp));
2627 OMX_EmptyThisBuffer(iOMXDecoder, input_buf->pBufHdr);
2667 if ((aType != OMX_ExtraDataNone) && (aExtraData != NULL) && (aInputBuffer->pBufHdr->pBuffer != NULL))
2689 if (aInputBuffer->pBufHdr->nAllocLen < (aInputBuffer->pBufHdr->nFilledLen + sizeOfExtraDataStruct + aDataLength + terminator.nSize + 6))
2692 (0, "%s::AppendExtraDataToBuffer() - Error (not enough room in buffer) appending extra data to Buffer 0x%x to OMX Component, TS=%d, Ticks=%L", iName.Str(), aInputBuffer->pBufHdr->pBuffer, iInTimestamp, iOMXTicksTimestamp));
2702 OMX_U8* buffer = aInputBuffer->pBufHdr->pBuffer + aInputBuffer->pBufHdr->nOffset + aInputBuffer->pBufHdr->nFilledLen;
2712 aInputBuffer->pBufHdr->nFlags |= OMX_BUFFERFLAG_EXTRADATA;
2715 (0, "%s::AppendExtraDataToBuffer() - Appending extra data to Buffer 0x%x to OMX Component, TS=%d, Ticks=%L", iName.Str(), aInputBuffer->pBufHdr->pBuffer, iInTimestamp, iOMXTicksTimestamp));
2758 input_buf->pBufHdr->nFilledLen = 0; //init this to 0
2799 input_buf->pBufHdr->pBuffer = initbuffer;
2800 input_buf->pBufHdr->nFilledLen = initbufsize;
2819 oscl_memcpy(input_buf->pBufHdr->pBuffer,
2822 input_buf->pBufHdr->nFilledLen += NAL_START_CODE_SIZE;
2827 uint32 bytes_remaining_in_buffer = (input_buf->pBufHdr->nAllocLen - input_buf->pBufHdr->nFilledLen);
2832 oscl_memcpy(input_buf->pBufHdr->pBuffer + input_buf->pBufHdr->nFilledLen,
2836 input_buf->pBufHdr->nFilledLen += iFragmentSizeRemainingToCopy;
2839 (0, "%s::SendConfigBufferToOMXComponent() - Copied %d bytes into buffer 0x%x of size %d", iName.Str(), iFragmentSizeRemainingToCopy, input_buf->pBufHdr->pBuffer, input_buf->pBufHdr->nFilledLen));
2859 input_buf->pBufHdr->nOffset = 0;
2863 input_buf->pBufHdr->nTimeStamp = iOMXTicksTimestamp;
2866 input_buf->pBufHdr->pAppPrivate = (OMX_PTR) input_buf;
2869 input_buf->pBufHdr->hMarkTargetComponent = NULL;
2870 input_buf->pBufHdr->pMarkData = NULL;
2874 input_buf->pBufHdr->nFlags = 0;
2879 (0, "%s::SendConfigBufferToOMXComponent() - END OF FRAGMENT - Buffer 0x%x MARKER bit set to 1", iName.Str(), input_buf->pBufHdr->pBuffer));
2881 input_buf->pBufHdr->nFlags |= OMX_BUFFERFLAG_ENDOFFRAME;
2884 input_buf->pBufHdr->nFlags |= OMX_BUFFERFLAG_CODECCONFIG;
2886 OMX_EmptyThisBuffer(iOMXDecoder, input_buf->pBufHdr);
3147 &(temp->pBufHdr), // address where ptr to buffer header will be stored
3156 in_buff_hdr_ptr[ii] = temp->pBufHdr;
3180 &(temp->pBufHdr), // address where ptr to buffer header will be stored
3189 out_buff_hdr_ptr[ii] = temp->pBufHdr;
3199 &(temp->pBufHdr), // address where ptr to buffer header will be stored
3208 out_buff_hdr_ptr[ii] = temp->pBufHdr;
3227 &(temp->pBufHdr),
3233 in_buff_hdr_ptr[ii] = temp->pBufHdr;
3239 &(temp->pBufHdr),
3245 out_buff_hdr_ptr[ii] = temp->pBufHdr;
3344 temp->pBufHdr);
3356 ipFixedSizeBufferAlloc->deallocate((OsclAny*) temp->pBufHdr->pBuffer);
3360 temp->pBufHdr);
3368 temp->pBufHdr);