Home | History | Annotate | Download | only in src

Lines Matching defs:bufhdr

2693     struct OMX_BUFFERHEADERTYPE *bufhdr;
2706 bufhdr = (OMX_BUFFERHEADERTYPE *)buffer;
2708 DEBUG_PRINT_LOW("Input buffer length %u", (unsigned int)bufhdr->nFilledLen);
2713 plane.data_offset = bufhdr->nOffset;
2714 plane.length = bufhdr->nAllocLen;
2715 plane.bytesused = bufhdr->nFilledLen;
2722 // surface encode (RBG) 1 GrallocSource 1 bufhdr (color-converted)
2723 // CPU (Eg: MediaCodec) 0 -- 0 bufhdr
2727 meta_buf = (encoder_media_buffer_type *)bufhdr->pBuffer;
2731 if (!bufhdr->nFilledLen && (bufhdr->nFlags & OMX_BUFFERFLAG_EOS)) {
2732 plane.data_offset = bufhdr->nOffset;
2733 plane.length = bufhdr->nAllocLen;
2734 plane.bytesused = bufhdr->nFilledLen;
2821 plane.data_offset = bufhdr->nOffset;
2822 plane.length = bufhdr->nAllocLen;
2823 plane.bytesused = bufhdr->nFilledLen;
2828 plane.data_offset = bufhdr->nOffset;
2829 plane.length = bufhdr->nAllocLen;
2830 plane.bytesused = bufhdr->nFilledLen;
2844 if (bufhdr->nFlags & OMX_BUFFERFLAG_EOS)
2847 buf.timestamp.tv_sec = bufhdr->nTimeStamp / 1000000;
2848 buf.timestamp.tv_usec = (bufhdr->nTimeStamp % 1000000);
2875 venc_input_log_buffers(bufhdr, fd, plane.data_offset);
2888 struct OMX_BUFFERHEADERTYPE *bufhdr;
2893 bufhdr = (OMX_BUFFERHEADERTYPE *)buffer;
2899 DEBUG_PRINT_LOW("Shared PMEM addr for o/p PMEM UseBuf/AllocateBuf: %p", bufhdr->pBuffer);
2900 plane[0].m.userptr = (unsigned long)bufhdr->pBuffer;
2906 plane[0].length = bufhdr->nAllocLen;
2907 plane[0].bytesused = bufhdr->nFilledLen;
2910 plane[0].data_offset = bufhdr->nOffset;