Lines Matching refs:bufHdr
2965 OMX_BUFFERHEADERTYPE* bufHdr = NULL;
2982 bufHdr = (OMX_BUFFERHEADERTYPE*)p2;
2987 bufHdr = (OMX_BUFFERHEADERTYPE*)p2;
2992 bufHdr = (OMX_BUFFERHEADERTYPE*)p1;
2997 bufHdr = (OMX_BUFFERHEADERTYPE*)p1;
4570 OMX_BUFFERHEADERTYPE *bufHdr= NULL; // buffer header
5472 OMX_BUFFERHEADERTYPE *bufHdr= NULL; // buffer header
5608 bufHdr = m_out_mem_ptr;
5621 DEBUG_PRINT_LOW("bHdr %p OutMem %p PE %p",bufHdr, m_out_mem_ptr,pPlatformEntry);
5625 bufHdr->nSize = sizeof(OMX_BUFFERHEADERTYPE);
5626 bufHdr->nVersion.nVersion = OMX_SPEC_VERSION;
5628 bufHdr->nAllocLen = bytes;
5629 bufHdr->nFilledLen = 0;
5630 bufHdr->pAppPrivate = appData;
5631 bufHdr->nOutputPortIndex = OMX_CORE_OUTPUT_PORT_INDEX;
5641 bufHdr->pBuffer = NULL;
5642 bufHdr->nOffset = 0;
5646 bufHdr->pPlatformPrivate = pPlatformList;
5657 bufHdr->pOutputPortPrivate = &drv_ctx.ptr_respbuffer[i];
5668 bufHdr++;
6276 DEBUG_PRINT_LOW("ETBProxy: bufhdr = %p, bufhdr->pBuffer = %p", buffer, buffer->pBuffer);
6442 DEBUG_PRINT_HIGH("empty_this_buffer_proxy bufHdr %p pBuffer %p nFilledLen %lu m_pSwVdecIpBuffer %p, idx %d",
6494 DEBUG_PRINT_ERROR("ERROR:FTB invalid bufHdr %p, nPortIndex %u", buffer, nPortIndex);
6530 DEBUG_PRINT_LOW("fill_this_buffer: bufHdr %p idx %d mapped pBuffer %p size %u", buffer, nPortIndex, buff, drv_ctx.op_buf.buffer_size);
6541 DEBUG_PRINT_LOW("[FTB] bufhdr = %p, bufhdr->pBuffer = %p", buffer, buffer->pBuffer);
6576 DEBUG_PRINT_ERROR("FTBProxy: bufhdr = %p, il = %p, nPortIndex %u bufCount %u",
6581 DEBUG_PRINT_LOW("FTBProxy: bufhdr = %p, bufhdr->pBuffer = %p",
6610 DEBUG_PRINT_HIGH("SwVdec_FillThisBuffer idx %d, bufHdr %p pBuffer %p", nPortIndex,
7228 DEBUG_PRINT_LOW("fill_buffer_done: bufhdr = %p, bufhdr->pBuffer = %p idx %d, TS %lld nFlags %lu",
7396 DEBUG_PRINT_ERROR("empty_buffer_done: ERROR bufhdr = %p", buffer);
7400 DEBUG_PRINT_LOW("empty_buffer_done: bufhdr = %p, bufhdr->pBuffer = %p",
7774 DEBUG_PRINT_LOW("ETBProxyArb: bufhdr = %p, bufhdr->pBuffer = %p", buffer, buffer->pBuffer);
8579 OMX_BUFFERHEADERTYPE *bufHdr = NULL;
8632 bufHdr = m_out_mem_ptr;
8645 DEBUG_PRINT_LOW("bHdr %p OutMem %p PE %p",bufHdr,
8650 bufHdr->nSize = sizeof(OMX_BUFFERHEADERTYPE);
8651 bufHdr->nVersion.nVersion = OMX_SPEC_VERSION;
8653 bufHdr->nAllocLen = 0;
8654 bufHdr->nFilledLen = 0;
8655 bufHdr->pAppPrivate = NULL;
8656 bufHdr->nOutputPortIndex = OMX_CORE_OUTPUT_PORT_INDEX;
8663 bufHdr->pBuffer = NULL;
8666 bufHdr->pPlatformPrivate = pPlatformList;
8672 bufHdr->pOutputPortPrivate = &drv_ctx.ptr_respbuffer[i];
8676 bufHdr++;
9633 OMX_BUFFERHEADERTYPE *bufhdr)
9638 return omx->free_output_buffer(bufhdr);
9641 if (!allocated_count || !bufhdr) {
9642 DEBUG_PRINT_ERROR("Color convert no buffer to be freed %p",bufhdr);
9645 index = bufhdr - m_out_mem_ptr_client;
10059 DEBUG_PRINT_LOW("empty_this_buffer_proxy_swvdec bufHdr %p pBuffer %p nFilledLen %lu m_pSwVdecIpBuffer %p, idx %d nFlags %x",
10080 DEBUG_PRINT_ERROR("empty_buffer_done_swvdec: ERROR bufhdr = %p", buffer);
10084 DEBUG_PRINT_LOW("empty_buffer_done_swvdec: bufhdr = %p, bufhdr->pBuffer = %p idx %d",
10091 DEBUG_PRINT_ERROR("empty_buffer_done_swvdec error: bufhdr = %p, idx %d, buffer not with swvdec ",buffer, idx);
10146 OMX_BUFFERHEADERTYPE* bufHdr = m_interm_mem_ptr + idx;
10147 nRet = fill_this_buffer_proxy_dsp(hComp, bufHdr);
10150 DEBUG_PRINT_ERROR("fill_this_buffer_proxy_dsp failed for buff %d bufHdr %p pBuffer %p",
10151 idx, bufHdr, bufHdr->pBuffer);
10198 DEBUG_PRINT_ERROR("FTBProxyDSP: bufhdr = %p, nPortIndex %u bufCount %u",
10203 DEBUG_PRINT_LOW("fill_this_buffer_proxy_dsp: bufhdr = %p,pBuffer = %p, idx %d, state %d",
10297 DEBUG_PRINT_LOW("fill_buffer_done_dsp: bufhdr = %p, bufhdr->pBuffer = %p, idx %d nFilledLen %lu nFlags %x",
10303 DEBUG_PRINT_ERROR("fill_buffer_done_dsp error: bufhdr = %p, idx %d, buffer not with dsp", buffer, idx);
10354 OMX_BUFFERHEADERTYPE *bufHdr= NULL; // buffer header
10396 bufHdr = m_interm_mem_ptr;
10438 bufHdr->nSize = sizeof(OMX_BUFFERHEADERTYPE);
10439 bufHdr->nVersion.nVersion = OMX_SPEC_VERSION;
10440 bufHdr->nAllocLen = bytes;
10441 bufHdr->nFilledLen = 0;
10442 bufHdr->pAppPrivate = this;
10443 bufHdr->nOutputPortIndex = OMX_CORE_OUTPUT_PORT_INDEX;
10444 bufHdr->pBuffer = pmem_baseaddress;
10445 bufHdr->nOffset = 0;
10447 bufHdr->pOutputPortPrivate = &drv_ctx.ptr_interm_respbuffer[i];
10454 DEBUG_PRINT_LOW("interm pmem_fd = %d offset = %d address = %p, bufHdr %p",
10456 drv_ctx.ptr_interm_outputbuffer[i].bufferaddr, bufHdr);
10459 m_pSwVdecIpBuffer[i].pBuffer = bufHdr->pBuffer;
10463 bufHdr++;
10478 bufHdr = (m_interm_mem_ptr + i );
10480 drv_ctx.ptr_interm_outputbuffer[i].bufferaddr = bufHdr;
10525 bufHdr->pAppPrivate = this;
10638 OMX_BUFFERHEADERTYPE *bufHdr = m_out_mem_ptr + index;
10639 bufHdr->nFilledLen = m_pSwVdecOpBuffer->nFilledLen;
10640 bufHdr->nFlags = m_pSwVdecOpBuffer->nFlags;
10641 bufHdr->nTimeStamp = m_pSwVdecOpBuffer->nOpTimestamp;
10666 bufHdr->nFilledLen = bufHdr->nAllocLen;
10668 if (bufHdr->nFlags & OMX_BUFFERFLAG_EOS)
10672 DEBUG_PRINT_LOW("swvdec_fill_buffer_done bufHdr %p pBuffer %p SwvdecOpBuffer %p idx %lu nFilledLen %lu nAllocLen %lu nFlags %lx",
10673 bufHdr, bufHdr->pBuffer, m_pSwVdecOpBuffer->pBuffer, index, m_pSwVdecOpBuffer->nFilledLen, bufHdr->nAllocLen, m_pSwVdecOpBuffer->nFlags);
10674 post_event((unsigned long)bufHdr, (unsigned long)VDEC_S_SUCCESS, (unsigned long)OMX_COMPONENT_GENERATE_FBD);
10816 OMX_BUFFERHEADERTYPE* bufHdr = NULL;
10820 bufHdr = (OMX_BUFFERHEADERTYPE*)p2;
10824 bufHdr = (OMX_BUFFERHEADERTYPE*)p1;
10826 idx = (bufHdr - m_interm_mem_ptr);
10864 OMX_BUFFERHEADERTYPE* bufHdr = NULL;
10868 bufHdr = (OMX_BUFFERHEADERTYPE*)p2;
10872 bufHdr = (OMX_BUFFERHEADERTYPE*)p1;
10874 idx = (bufHdr - m_interm_mem_ptr);