Lines Matching refs:bufHdr
2934 OMX_BUFFERHEADERTYPE* bufHdr = NULL;
2951 bufHdr = (OMX_BUFFERHEADERTYPE*)p2;
2956 bufHdr = (OMX_BUFFERHEADERTYPE*)p2;
2961 bufHdr = (OMX_BUFFERHEADERTYPE*)p1;
2966 bufHdr = (OMX_BUFFERHEADERTYPE*)p1;
4375 OMX_BUFFERHEADERTYPE *bufHdr= NULL; // buffer header
5270 OMX_BUFFERHEADERTYPE *bufHdr= NULL; // buffer header
5404 bufHdr = m_out_mem_ptr;
5417 DEBUG_PRINT_LOW("bHdr %p OutMem %p PE %p",bufHdr, m_out_mem_ptr,pPlatformEntry);
5421 bufHdr->nSize = sizeof(OMX_BUFFERHEADERTYPE);
5422 bufHdr->nVersion.nVersion = OMX_SPEC_VERSION;
5424 bufHdr->nAllocLen = bytes;
5425 bufHdr->nFilledLen = 0;
5426 bufHdr->pAppPrivate = appData;
5427 bufHdr->nOutputPortIndex = OMX_CORE_OUTPUT_PORT_INDEX;
5437 bufHdr->pBuffer = NULL;
5438 bufHdr->nOffset = 0;
5442 bufHdr->pPlatformPrivate = pPlatformList;
5453 bufHdr->pOutputPortPrivate = &drv_ctx.ptr_respbuffer[i];
5464 bufHdr++;
6071 DEBUG_PRINT_LOW("ETBProxy: bufhdr = %p, bufhdr->pBuffer = %p", buffer, buffer->pBuffer);
6237 DEBUG_PRINT_HIGH("empty_this_buffer_proxy bufHdr %p pBuffer %p nFilledLen %lu m_pSwVdecIpBuffer %p, idx %d",
6287 DEBUG_PRINT_ERROR("ERROR:FTB invalid bufHdr %p, nPortIndex %u", buffer, nPortIndex);
6323 DEBUG_PRINT_LOW("fill_this_buffer: bufHdr %p idx %d mapped pBuffer %p size %u", buffer, nPortIndex, buff, drv_ctx.op_buf.buffer_size);
6334 DEBUG_PRINT_LOW("[FTB] bufhdr = %p, bufhdr->pBuffer = %p", buffer, buffer->pBuffer);
6368 DEBUG_PRINT_ERROR("FTBProxy: bufhdr = %p, nPortIndex %u bufCount %u",
6373 DEBUG_PRINT_LOW("FTBProxy: bufhdr = %p, bufhdr->pBuffer = %p",
6402 DEBUG_PRINT_HIGH("SwVdec_FillThisBuffer idx %d, bufHdr %p pBuffer %p", nPortIndex,
7018 DEBUG_PRINT_LOW("fill_buffer_done: bufhdr = %p, bufhdr->pBuffer = %p idx %d, TS %lld nFlags %lu",
7181 DEBUG_PRINT_ERROR("empty_buffer_done: ERROR bufhdr = %p", buffer);
7185 DEBUG_PRINT_LOW("empty_buffer_done: bufhdr = %p, bufhdr->pBuffer = %p",
7559 DEBUG_PRINT_LOW("ETBProxyArb: bufhdr = %p, bufhdr->pBuffer = %p", buffer, buffer->pBuffer);
8364 OMX_BUFFERHEADERTYPE *bufHdr = NULL;
8417 bufHdr = m_out_mem_ptr;
8430 DEBUG_PRINT_LOW("bHdr %p OutMem %p PE %p",bufHdr,
8435 bufHdr->nSize = sizeof(OMX_BUFFERHEADERTYPE);
8436 bufHdr->nVersion.nVersion = OMX_SPEC_VERSION;
8438 bufHdr->nAllocLen = 0;
8439 bufHdr->nFilledLen = 0;
8440 bufHdr->pAppPrivate = NULL;
8441 bufHdr->nOutputPortIndex = OMX_CORE_OUTPUT_PORT_INDEX;
8448 bufHdr->pBuffer = NULL;
8451 bufHdr->pPlatformPrivate = pPlatformList;
8457 bufHdr->pOutputPortPrivate = &drv_ctx.ptr_respbuffer[i];
8461 bufHdr++;
9431 OMX_BUFFERHEADERTYPE *bufhdr)
9436 return omx->free_output_buffer(bufhdr);
9439 if (!allocated_count || !bufhdr) {
9440 DEBUG_PRINT_ERROR("Color convert no buffer to be freed %p",bufhdr);
9443 index = bufhdr - m_out_mem_ptr_client;
9849 DEBUG_PRINT_LOW("empty_this_buffer_proxy_swvdec bufHdr %p pBuffer %p nFilledLen %lu m_pSwVdecIpBuffer %p, idx %d nFlags %x",
9869 DEBUG_PRINT_ERROR("empty_buffer_done_swvdec: ERROR bufhdr = %p", buffer);
9873 DEBUG_PRINT_LOW("empty_buffer_done_swvdec: bufhdr = %p, bufhdr->pBuffer = %p idx %d",
9880 DEBUG_PRINT_ERROR("empty_buffer_done_swvdec error: bufhdr = %p, idx %d, buffer not with swvdec ",buffer, idx);
9935 OMX_BUFFERHEADERTYPE* bufHdr = m_interm_mem_ptr + idx;
9936 nRet = fill_this_buffer_proxy_dsp(hComp, bufHdr);
9939 DEBUG_PRINT_ERROR("fill_this_buffer_proxy_dsp failed for buff %d bufHdr %p pBuffer %p",
9940 idx, bufHdr, bufHdr->pBuffer);
9988 DEBUG_PRINT_LOW("fill_this_buffer_proxy_dsp: bufhdr = %p,pBuffer = %p, idx %d, state %d",
10081 DEBUG_PRINT_LOW("fill_buffer_done_dsp: bufhdr = %p, bufhdr->pBuffer = %p, idx %d nFilledLen %lu nFlags %x",
10087 DEBUG_PRINT_ERROR("fill_buffer_done_dsp error: bufhdr = %p, idx %d, buffer not with dsp", buffer, idx);
10138 OMX_BUFFERHEADERTYPE *bufHdr= NULL; // buffer header
10173 bufHdr = m_interm_mem_ptr;
10215 bufHdr->nSize = sizeof(OMX_BUFFERHEADERTYPE);
10216 bufHdr->nVersion.nVersion = OMX_SPEC_VERSION;
10217 bufHdr->nAllocLen = bytes;
10218 bufHdr->nFilledLen = 0;
10219 bufHdr->pAppPrivate = this;
10220 bufHdr->nOutputPortIndex = OMX_CORE_OUTPUT_PORT_INDEX;
10221 bufHdr->pBuffer = pmem_baseaddress;
10222 bufHdr->nOffset = 0;
10224 bufHdr->pOutputPortPrivate = &drv_ctx.ptr_interm_respbuffer[i];
10231 DEBUG_PRINT_LOW("interm pmem_fd = %d offset = %d address = %p, bufHdr %p",
10233 drv_ctx.ptr_interm_outputbuffer[i].bufferaddr, bufHdr);
10236 m_pSwVdecIpBuffer[i].pBuffer = bufHdr->pBuffer;
10240 bufHdr++;
10255 bufHdr = (m_interm_mem_ptr + i );
10257 drv_ctx.ptr_interm_outputbuffer[i].bufferaddr = bufHdr;
10302 bufHdr->pAppPrivate = this;
10413 OMX_BUFFERHEADERTYPE *bufHdr = m_out_mem_ptr + index;
10414 bufHdr->nFilledLen = m_pSwVdecOpBuffer->nFilledLen;
10415 bufHdr->nFlags = m_pSwVdecOpBuffer->nFlags;
10416 bufHdr->nTimeStamp = m_pSwVdecOpBuffer->nOpTimestamp;
10420 bufHdr->nFilledLen = bufHdr->nAllocLen;
10422 if (bufHdr->nFlags & OMX_BUFFERFLAG_EOS)
10426 DEBUG_PRINT_LOW("swvdec_fill_buffer_done bufHdr %p pBuffer %p SwvdecOpBuffer %p idx %d nFilledLen %lu nAllocLen %lu nFlags %lx",
10427 bufHdr, bufHdr->pBuffer, m_pSwVdecOpBuffer->pBuffer, index, m_pSwVdecOpBuffer->nFilledLen, bufHdr->nAllocLen, m_pSwVdecOpBuffer->nFlags);
10428 post_event((unsigned int)bufHdr, VDEC_S_SUCCESS, OMX_COMPONENT_GENERATE_FBD);
10537 OMX_BUFFERHEADERTYPE* bufHdr = NULL;
10541 bufHdr = (OMX_BUFFERHEADERTYPE*)p2;
10545 bufHdr = (OMX_BUFFERHEADERTYPE*)p1;
10547 idx = (bufHdr - m_interm_mem_ptr);
10585 OMX_BUFFERHEADERTYPE* bufHdr = NULL;
10589 bufHdr = (OMX_BUFFERHEADERTYPE*)p2;
10593 bufHdr = (OMX_BUFFERHEADERTYPE*)p1;
10595 idx = (bufHdr - m_interm_mem_ptr);