Lines Matching refs:p_buf_hdr
7774 void omx_vdec::handle_extradata(OMX_BUFFERHEADERTYPE *p_buf_hdr)
7781 ((unsigned)(p_buf_hdr->pBuffer + p_buf_hdr->nOffset +
7782 p_buf_hdr->nFilledLen + 3)&(~3));
7783 if ((OMX_U8*)p_extra > (p_buf_hdr->pBuffer + p_buf_hdr->nAllocLen))
7785 if (drv_ctx.extradata && (p_buf_hdr->nFlags & OMX_BUFFERFLAG_EXTRADATA))
7791 p_buf_hdr, p_buf_hdr->nTimeStamp, p_extra->eType, p_extra->nDataSize);
7797 if ((OMX_U8*)p_extra > (p_buf_hdr->pBuffer + p_buf_hdr->nAllocLen) ||
7833 if ((OMX_U8*)p_extra > (p_buf_hdr->pBuffer + p_buf_hdr->nAllocLen) ||
7842 ((unsigned)(p_buf_hdr->pBuffer + p_buf_hdr->nOffset +
7843 p_buf_hdr->nFilledLen + 3)&(~3));
7844 p_buf_hdr->nFlags &= ~OMX_BUFFERFLAG_EXTRADATA;
7857 ts_in_sei = h264_parser->process_ts_with_sei_vui(p_buf_hdr->nTimeStamp);
7858 if (!VALID_TS(p_buf_hdr->nTimeStamp))
7859 p_buf_hdr->nTimeStamp = ts_in_sei;
7868 (p_buf_hdr->pBuffer + p_buf_hdr->nAllocLen))
7870 p_buf_hdr->nFlags |= OMX_BUFFERFLAG_EXTRADATA;
7872 ((struct vdec_output_frameinfo *)p_buf_hdr->pOutputPortPrivate)->interlaced_format);
7877 (p_buf_hdr->pBuffer + p_buf_hdr->nAllocLen))
7879 p_buf_hdr->nFlags |= OMX_BUFFERFLAG_EXTRADATA;
7884 ((struct vdec_output_frameinfo *)p_buf_hdr->pOutputPortPrivate)->pic_type,
7885 p_buf_hdr->nTimeStamp, frame_rate, NULL);
7891 (p_buf_hdr->pBuffer + p_buf_hdr->nAllocLen))
7893 p_buf_hdr->nFlags |= OMX_BUFFERFLAG_EXTRADATA;
7897 if (p_buf_hdr->nFlags & OMX_BUFFERFLAG_EXTRADATA)
7900 (p_buf_hdr->pBuffer + p_buf_hdr->nAllocLen))
7905 p_buf_hdr->nFlags &= ~OMX_BUFFERFLAG_EXTRADATA;
8245 OMX_ERRORTYPE omx_vdec::handle_demux_data(OMX_BUFFERHEADERTYPE *p_buf_hdr)
8262 buffer_index = p_buf_hdr - ((OMX_BUFFERHEADERTYPE *)m_inp_mem_ptr);
8283 if (p_buf_hdr->pBuffer[m_demux_offsets[demux_index] + 2] == 0x01)
8285 suffix_byte = p_buf_hdr->pBuffer[m_demux_offsets[demux_index] + 3];
8289 suffix_byte = p_buf_hdr->pBuffer[m_demux_offsets[demux_index] + 4];
8297 nal_size = p_buf_hdr->nFilledLen - m_demux_offsets[demux_index] - 2;