Lines Matching refs:p_buf_hdr
8159 void omx_vdec::handle_extradata(OMX_BUFFERHEADERTYPE *p_buf_hdr)
8166 OMX_U32 index = p_buf_hdr - m_out_mem_ptr;
8170 ((unsigned)(pBuffer + p_buf_hdr->nOffset +
8171 p_buf_hdr->nFilledLen + 3)&(~3));
8172 if ((OMX_U8*)p_extra > (pBuffer + p_buf_hdr->nAllocLen))
8174 if (drv_ctx.extradata && (p_buf_hdr->nFlags & OMX_BUFFERFLAG_EXTRADATA))
8180 p_buf_hdr, p_buf_hdr->nTimeStamp, p_extra->eType, p_extra->nDataSize);
8186 if ((OMX_U8*)p_extra > (pBuffer + p_buf_hdr->nAllocLen) ||
8224 if ((OMX_U8*)p_extra > (pBuffer + p_buf_hdr->nAllocLen) ||
8233 ((unsigned)(pBuffer + p_buf_hdr->nOffset +
8234 p_buf_hdr->nFilledLen + 3)&(~3));
8235 p_buf_hdr->nFlags &= ~OMX_BUFFERFLAG_EXTRADATA;
8248 ts_in_sei = h264_parser->process_ts_with_sei_vui(p_buf_hdr->nTimeStamp);
8249 if (!VALID_TS(p_buf_hdr->nTimeStamp))
8250 p_buf_hdr->nTimeStamp = ts_in_sei;
8259 (pBuffer + p_buf_hdr->nAllocLen))
8261 p_buf_hdr->nFlags |= OMX_BUFFERFLAG_EXTRADATA;
8263 ((struct vdec_output_frameinfo *)p_buf_hdr->pOutputPortPrivate)->interlaced_format);
8268 (pBuffer + p_buf_hdr->nAllocLen))
8270 p_buf_hdr->nFlags |= OMX_BUFFERFLAG_EXTRADATA;
8275 ((struct vdec_output_frameinfo *)p_buf_hdr->pOutputPortPrivate)->pic_type,
8276 p_buf_hdr->nTimeStamp, frame_rate,
8278 p_buf_hdr->pOutputPortPrivate)->aspect_ratio_info);
8284 (pBuffer + p_buf_hdr->nAllocLen))
8286 p_buf_hdr->nFlags |= OMX_BUFFERFLAG_EXTRADATA;
8290 if (p_buf_hdr->nFlags & OMX_BUFFERFLAG_EXTRADATA)
8293 p_buf_hdr->nAllocLen))
8298 p_buf_hdr->nFlags &= ~OMX_BUFFERFLAG_EXTRADATA;
8672 OMX_ERRORTYPE omx_vdec::handle_demux_data(OMX_BUFFERHEADERTYPE *p_buf_hdr)
8689 buffer_index = p_buf_hdr - ((OMX_BUFFERHEADERTYPE *)m_inp_mem_ptr);
8710 if (p_buf_hdr->pBuffer[m_demux_offsets[demux_index] + 2] == 0x01)
8712 suffix_byte = p_buf_hdr->pBuffer[m_demux_offsets[demux_index] + 3];
8716 suffix_byte = p_buf_hdr->pBuffer[m_demux_offsets[demux_index] + 4];
8724 nal_size = p_buf_hdr->nFilledLen - m_demux_offsets[demux_index] - 2;