/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
D | omx_swvenc_mpeg4.cpp | 1794 OMX_BUFFERHEADERTYPE *bufhdr = (OMX_BUFFERHEADERTYPE *)buffer; in dev_empty_buf() local 1805 meta_buf = (LEGACY_CAM_METADATA_TYPE *)bufhdr->pBuffer; in dev_empty_buf() 1813 if (!bufhdr->nFilledLen && (bufhdr->nFlags & OMX_BUFFERFLAG_EOS)) in dev_empty_buf() 1815 ipbuffer.p_buffer= bufhdr->pBuffer; in dev_empty_buf() 1816 ipbuffer.size = bufhdr->nAllocLen; in dev_empty_buf() 1817 ipbuffer.filled_length = bufhdr->nFilledLen; in dev_empty_buf() 1846 VideoGrallocMetadata *meta_buf = (VideoGrallocMetadata *)bufhdr->pBuffer; in dev_empty_buf() 1879 ipbuffer.p_buffer = bufhdr->pBuffer; in dev_empty_buf() 1880 ipbuffer.size = bufhdr->nAllocLen; in dev_empty_buf() 1881 ipbuffer.filled_length = bufhdr->nFilledLen; in dev_empty_buf() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
D | video_encoder_device.cpp | 1636 struct OMX_BUFFERHEADERTYPE *bufhdr; in venc_empty_buf() local 1643 bufhdr = (OMX_BUFFERHEADERTYPE *)buffer; in venc_empty_buf() 1645 DEBUG_PRINT_LOW("\n Input buffer length %d",bufhdr->nFilledLen); in venc_empty_buf() 1654 DEBUG_PRINT_LOW("\n Shared PMEM addr for i/p PMEM UseBuf/AllocateBuf: %p", bufhdr->pBuffer); in venc_empty_buf() 1655 frameinfo.ptrbuffer = (OMX_U8 *)bufhdr->pBuffer; in venc_empty_buf() 1659 frameinfo.sz = bufhdr->nFilledLen; in venc_empty_buf() 1660 frameinfo.len = bufhdr->nFilledLen; in venc_empty_buf() 1661 frameinfo.flags = bufhdr->nFlags; in venc_empty_buf() 1662 frameinfo.offset = bufhdr->nOffset; in venc_empty_buf() 1663 frameinfo.timestamp = bufhdr->nTimeStamp; in venc_empty_buf() [all …]
|
D | video_encoder_device_copper.cpp | 1572 struct OMX_BUFFERHEADERTYPE *bufhdr; in venc_empty_buf() local 1582 bufhdr = (OMX_BUFFERHEADERTYPE *)buffer; in venc_empty_buf() 1584 DEBUG_PRINT_LOW("\n Input buffer length %d",bufhdr->nFilledLen); in venc_empty_buf() 1593 DEBUG_PRINT_LOW("\n Shared PMEM addr for i/p PMEM UseBuf/AllocateBuf: %p", bufhdr->pBuffer); in venc_empty_buf() 1594 plane.m.userptr = (unsigned long)bufhdr->pBuffer; in venc_empty_buf() 1600 plane.length = bufhdr->nAllocLen; in venc_empty_buf() 1601 plane.bytesused = bufhdr->nFilledLen; in venc_empty_buf() 1604 plane.data_offset = bufhdr->nOffset; in venc_empty_buf() 1660 struct OMX_BUFFERHEADERTYPE *bufhdr; in venc_fill_buf() local 1666 bufhdr = (OMX_BUFFERHEADERTYPE *)buffer; in venc_fill_buf() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device.cpp | 276 DEBUG_PRINT_LOW("Shared PMEM addr for i/p PMEM UseBuf/AllocateBuf: %p", bufhdr->pBuffer); in venc_input_log_buffers() 298 … DEBUG_PRINT_LOW("Shared PMEM addr for i/p PMEM UseBuf/AllocateBuf: %p", bufhdr->pBuffer); in venc_input_log_buffers() 299 ptrbuffer = (OMX_U8 *)bufhdr->pBuffer; in venc_input_log_buffers() 1834 struct OMX_BUFFERHEADERTYPE *bufhdr; in venc_empty_buf() local 1841 bufhdr = (OMX_BUFFERHEADERTYPE *)buffer; in venc_empty_buf() 1843 DEBUG_PRINT_LOW("Input buffer length %d",bufhdr->nFilledLen); in venc_empty_buf() 1849 DEBUG_PRINT_LOW("Shared PMEM addr for i/p PMEM UseBuf/AllocateBuf: %p", bufhdr->pBuffer); in venc_empty_buf() 1850 frameinfo.ptrbuffer = (OMX_U8 *)bufhdr->pBuffer; in venc_empty_buf() 1854 frameinfo.sz = bufhdr->nFilledLen; in venc_empty_buf() 1855 frameinfo.len = bufhdr->nFilledLen; in venc_empty_buf() [all …]
|
D | omx_swvenc_mpeg4.cpp | 1800 OMX_BUFFERHEADERTYPE *bufhdr = (OMX_BUFFERHEADERTYPE *)buffer; in dev_empty_buf() local 1809 meta_buf = (encoder_media_buffer_type *)bufhdr->pBuffer; in dev_empty_buf() 1839 ipbuffer.p_buffer = bufhdr->pBuffer; in dev_empty_buf() 1840 ipbuffer.size = bufhdr->nAllocLen; in dev_empty_buf() 1841 ipbuffer.filled_length = bufhdr->nFilledLen; in dev_empty_buf() 1844 if (bufhdr->nFlags & OMX_BUFFERFLAG_EOS) in dev_empty_buf() 1848 ipbuffer.timestamp = bufhdr->nTimeStamp; in dev_empty_buf() 1849 ipbuffer.p_client_data = (unsigned char *)bufhdr; in dev_empty_buf() 1888 OMX_BUFFERHEADERTYPE *bufhdr = (OMX_BUFFERHEADERTYPE *)buffer; in dev_fill_buf() local 1894 opbuffer.p_buffer = bufhdr->pBuffer; in dev_fill_buf() [all …]
|
D | video_encoder_device_v4l2.cpp | 3405 struct OMX_BUFFERHEADERTYPE *bufhdr; in venc_empty_buf() local 3417 bufhdr = (OMX_BUFFERHEADERTYPE *)buffer; in venc_empty_buf() 3422 DEBUG_PRINT_LOW("Input buffer length %u", (unsigned int)bufhdr->nFilledLen); in venc_empty_buf() 3427 plane[0].data_offset = bufhdr->nOffset; in venc_empty_buf() 3428 plane[0].length = bufhdr->nAllocLen; in venc_empty_buf() 3429 plane[0].bytesused = bufhdr->nFilledLen; in venc_empty_buf() 3440 plane[0].m.userptr = (unsigned long)bufhdr->pBuffer; in venc_empty_buf() 3441 meta_buf = (encoder_media_buffer_type *)bufhdr->pBuffer; in venc_empty_buf() 3445 if (!bufhdr->nFilledLen && (bufhdr->nFlags & OMX_BUFFERFLAG_EOS)) { in venc_empty_buf() 3446 plane[0].data_offset = bufhdr->nOffset; in venc_empty_buf() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device.cpp | 275 DEBUG_PRINT_LOW("Shared PMEM addr for i/p PMEM UseBuf/AllocateBuf: %p", bufhdr->pBuffer); in venc_input_log_buffers() 297 … DEBUG_PRINT_LOW("Shared PMEM addr for i/p PMEM UseBuf/AllocateBuf: %p", bufhdr->pBuffer); in venc_input_log_buffers() 298 ptrbuffer = (OMX_U8 *)bufhdr->pBuffer; in venc_input_log_buffers() 1833 struct OMX_BUFFERHEADERTYPE *bufhdr; in venc_empty_buf() local 1840 bufhdr = (OMX_BUFFERHEADERTYPE *)buffer; in venc_empty_buf() 1842 DEBUG_PRINT_LOW("Input buffer length %d",bufhdr->nFilledLen); in venc_empty_buf() 1848 DEBUG_PRINT_LOW("Shared PMEM addr for i/p PMEM UseBuf/AllocateBuf: %p", bufhdr->pBuffer); in venc_empty_buf() 1849 frameinfo.ptrbuffer = (OMX_U8 *)bufhdr->pBuffer; in venc_empty_buf() 1853 frameinfo.sz = bufhdr->nFilledLen; in venc_empty_buf() 1854 frameinfo.len = bufhdr->nFilledLen; in venc_empty_buf() [all …]
|
D | video_encoder_device_v4l2.cpp | 2693 struct OMX_BUFFERHEADERTYPE *bufhdr; in venc_empty_buf() local 2706 bufhdr = (OMX_BUFFERHEADERTYPE *)buffer; in venc_empty_buf() 2708 DEBUG_PRINT_LOW("Input buffer length %u", (unsigned int)bufhdr->nFilledLen); in venc_empty_buf() 2713 plane.data_offset = bufhdr->nOffset; in venc_empty_buf() 2714 plane.length = bufhdr->nAllocLen; in venc_empty_buf() 2715 plane.bytesused = bufhdr->nFilledLen; in venc_empty_buf() 2727 meta_buf = (encoder_media_buffer_type *)bufhdr->pBuffer; in venc_empty_buf() 2731 if (!bufhdr->nFilledLen && (bufhdr->nFlags & OMX_BUFFERFLAG_EOS)) { in venc_empty_buf() 2732 plane.data_offset = bufhdr->nOffset; in venc_empty_buf() 2733 plane.length = bufhdr->nAllocLen; in venc_empty_buf() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec.cpp | 9532 OMX_BUFFERHEADERTYPE *bufhdr) in free_output_buffer() argument 9537 return omx->free_output_buffer(bufhdr); in free_output_buffer() 9542 if (!allocated_count || !bufhdr) { in free_output_buffer() 9543 DEBUG_PRINT_ERROR("Color convert no buffer to be freed %p",bufhdr); in free_output_buffer() 9547 index = bufhdr - m_out_mem_ptr_client; in free_output_buffer()
|
D | omx_vdec_hevc.cpp | 8347 OMX_BUFFERHEADERTYPE *bufhdr) in free_output_buffer() argument 8352 return omx->free_output_buffer(bufhdr); in free_output_buffer() 8355 if (!allocated_count || !bufhdr) { in free_output_buffer() 8356 DEBUG_PRINT_ERROR("Color convert no buffer to be freed %p",bufhdr); in free_output_buffer() 8359 index = bufhdr - m_out_mem_ptr_client; in free_output_buffer()
|
D | omx_vdec_hevc_swvdec.cpp | 9431 OMX_BUFFERHEADERTYPE *bufhdr) in free_output_buffer() argument 9436 return omx->free_output_buffer(bufhdr); in free_output_buffer() 9439 if (!allocated_count || !bufhdr) { in free_output_buffer() 9440 DEBUG_PRINT_ERROR("Color convert no buffer to be freed %p",bufhdr); in free_output_buffer() 9443 index = bufhdr - m_out_mem_ptr_client; in free_output_buffer()
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
D | omx_vdec.cpp | 9304 OMX_BUFFERHEADERTYPE *bufhdr) { in free_output_buffer() argument 9308 return omx->free_output_buffer(bufhdr); in free_output_buffer() 9311 if (!allocated_count || !bufhdr) { in free_output_buffer() 9312 DEBUG_PRINT_ERROR("\n Color convert no buffer to be freed %p",bufhdr); in free_output_buffer() 9315 index = bufhdr - m_out_mem_ptr_client; in free_output_buffer()
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc.cpp | 8293 OMX_BUFFERHEADERTYPE *bufhdr) in free_output_buffer() argument 8298 return omx->free_output_buffer(bufhdr); in free_output_buffer() 8301 if (!allocated_count || !bufhdr) { in free_output_buffer() 8302 DEBUG_PRINT_ERROR("Color convert no buffer to be freed %p",bufhdr); in free_output_buffer() 8305 index = bufhdr - m_out_mem_ptr_client; in free_output_buffer()
|
D | omx_vdec_hevc_swvdec.cpp | 9633 OMX_BUFFERHEADERTYPE *bufhdr) in free_output_buffer() argument 9638 return omx->free_output_buffer(bufhdr); in free_output_buffer() 9641 if (!allocated_count || !bufhdr) { in free_output_buffer() 9642 DEBUG_PRINT_ERROR("Color convert no buffer to be freed %p",bufhdr); in free_output_buffer() 9645 index = bufhdr - m_out_mem_ptr_client; in free_output_buffer()
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 12912 OMX_BUFFERHEADERTYPE *bufhdr) in free_output_buffer() argument 12917 return omx->free_output_buffer(bufhdr); in free_output_buffer() 12920 if (!allocated_count || !bufhdr) { in free_output_buffer() 12921 DEBUG_PRINT_ERROR("Color convert no buffer to be freed %p",bufhdr); in free_output_buffer() 12924 index = bufhdr - m_out_mem_ptr_client; in free_output_buffer()
|