Lines Matching refs:buf_hdr
269 OMX_U32 extra_data_handler::parse_extra_data(OMX_BUFFERHEADERTYPE *buf_hdr)
272 ((unsigned)(buf_hdr->pBuffer + buf_hdr->nOffset +
273 buf_hdr->nFilledLen + 3)&(~3));
275 DEBUG_PRINT_LOW("\nIn %s() symbol : %u", __func__,buf_hdr->nFlags);
277 if (buf_hdr->nFlags & OMX_BUFFERFLAG_EXTRADATA) {
278 while(extra_data && (OMX_U8*)extra_data < (buf_hdr->pBuffer +
279 buf_hdr->nAllocLen) && extra_data->eType != VDEC_EXTRADATA_NONE) {
292 parse_sliceinfo(buf_hdr, extra_data);
456 OMX_U32 extra_data_handler::create_extra_data(OMX_BUFFERHEADERTYPE *buf_hdr)
458 OMX_U8 *buffer = (OMX_U8 *) ((unsigned)(buf_hdr->pBuffer +
459 buf_hdr->nOffset + buf_hdr->nFilledLen));
462 DEBUG_PRINT_LOW("\n filled_len/orig_len %d/%d", buf_hdr->nFilledLen,
463 buf_hdr->nAllocLen);
465 if(buf_hdr->nFlags & OMX_BUFFERFLAG_CODECCONFIG) {
471 buf_hdr->nFilledLen += msg_size;
474 DEBUG_PRINT_LOW("\n filled_len/orig_len %d/%d", buf_hdr->nFilledLen,
475 buf_hdr->nAllocLen);