/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/ |
D | omx_swvenc_mpeg4.cpp | 2210 OMX_BUFFERHEADERTYPE *bufhdr = (OMX_BUFFERHEADERTYPE *)buffer; in dev_empty_buf() local 2221 meta_buf = (LEGACY_CAM_METADATA_TYPE *)bufhdr->pBuffer; in dev_empty_buf() 2229 if (!bufhdr->nFilledLen && (bufhdr->nFlags & OMX_BUFFERFLAG_EOS)) in dev_empty_buf() 2231 ipbuffer.p_buffer= bufhdr->pBuffer; in dev_empty_buf() 2232 ipbuffer.size = bufhdr->nAllocLen; in dev_empty_buf() 2233 ipbuffer.filled_length = bufhdr->nFilledLen; in dev_empty_buf() 2262 VideoGrallocMetadata *meta_buf = (VideoGrallocMetadata *)bufhdr->pBuffer; in dev_empty_buf() 2266 uint64_t avTimerTimestampNs = bufhdr->nTimeStamp * 1000; in dev_empty_buf() 2269 bufhdr->nTimeStamp = avTimerTimestampNs / 1000; in dev_empty_buf() 2270 … DEBUG_PRINT_LOW("AVTimer TS: %llu us", (unsigned long long)bufhdr->nTimeStamp); in dev_empty_buf() [all …]
|
D | video_encoder_device_v4l2.cpp | 3831 struct OMX_BUFFERHEADERTYPE *bufhdr; in venc_empty_buf() local 3843 bufhdr = (OMX_BUFFERHEADERTYPE *)buffer; in venc_empty_buf() 3848 …_LOW("Input buffer length %u, Timestamp = %lld", (unsigned int)bufhdr->nFilledLen, bufhdr->nTimeSt… in venc_empty_buf() 3853 plane[0].data_offset = bufhdr->nOffset; in venc_empty_buf() 3854 plane[0].length = bufhdr->nAllocLen; in venc_empty_buf() 3855 plane[0].bytesused = bufhdr->nFilledLen; in venc_empty_buf() 3867 meta_buf = (LEGACY_CAM_METADATA_TYPE *)bufhdr->pBuffer; in venc_empty_buf() 3870 if (!bufhdr->nFilledLen) { in venc_empty_buf() 3871 if (bufhdr->nFlags & OMX_BUFFERFLAG_EOS) { in venc_empty_buf() 3968 VideoGrallocMetadata *meta_buf = (VideoGrallocMetadata *)bufhdr->pBuffer; in venc_empty_buf() [all …]
|
/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 …]
|
D | video_encoder_device_v4l2.cpp | 3844 struct OMX_BUFFERHEADERTYPE *bufhdr; in venc_empty_buf() local 3856 bufhdr = (OMX_BUFFERHEADERTYPE *)buffer; in venc_empty_buf() 3861 …_LOW("Input buffer length %u, Timestamp = %lld", (unsigned int)bufhdr->nFilledLen, bufhdr->nTimeSt… in venc_empty_buf() 3866 plane[0].data_offset = bufhdr->nOffset; in venc_empty_buf() 3867 plane[0].length = bufhdr->nAllocLen; in venc_empty_buf() 3868 plane[0].bytesused = bufhdr->nFilledLen; in venc_empty_buf() 3880 meta_buf = (LEGACY_CAM_METADATA_TYPE *)bufhdr->pBuffer; in venc_empty_buf() 3884 if (!bufhdr->nFilledLen && (bufhdr->nFlags & OMX_BUFFERFLAG_EOS)) { in venc_empty_buf() 3885 plane[0].data_offset = bufhdr->nOffset; in venc_empty_buf() 3886 plane[0].length = bufhdr->nAllocLen; in venc_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/sm8150/media/mm-video-v4l2/vidc/venc/src/ |
D | omx_swvenc_mpeg4.cpp | 2229 OMX_BUFFERHEADERTYPE *bufhdr = (OMX_BUFFERHEADERTYPE *)buffer; in dev_empty_buf() local 2240 meta_buf = (LEGACY_CAM_METADATA_TYPE *)bufhdr->pBuffer; in dev_empty_buf() 2248 if (!bufhdr->nFilledLen && (bufhdr->nFlags & OMX_BUFFERFLAG_EOS)) in dev_empty_buf() 2250 ipbuffer.p_buffer= bufhdr->pBuffer; in dev_empty_buf() 2251 ipbuffer.size = bufhdr->nAllocLen; in dev_empty_buf() 2252 ipbuffer.filled_length = bufhdr->nFilledLen; in dev_empty_buf() 2281 VideoGrallocMetadata *meta_buf = (VideoGrallocMetadata *)bufhdr->pBuffer; in dev_empty_buf() 2285 uint64_t avTimerTimestampNs = bufhdr->nTimeStamp * 1000; in dev_empty_buf() 2288 bufhdr->nTimeStamp = avTimerTimestampNs / 1000; in dev_empty_buf() 2289 … DEBUG_PRINT_LOW("AVTimer TS: %llu us", (unsigned long long)bufhdr->nTimeStamp); in dev_empty_buf() [all …]
|
D | video_encoder_device_v4l2.cpp | 4102 struct OMX_BUFFERHEADERTYPE *bufhdr; in venc_empty_buf() local 4114 bufhdr = (OMX_BUFFERHEADERTYPE *)buffer; in venc_empty_buf() 4119 …_LOW("Input buffer length %u, Timestamp = %lld", (unsigned int)bufhdr->nFilledLen, bufhdr->nTimeSt… in venc_empty_buf() 4124 plane[0].data_offset = bufhdr->nOffset; in venc_empty_buf() 4125 plane[0].length = bufhdr->nAllocLen; in venc_empty_buf() 4126 plane[0].bytesused = bufhdr->nFilledLen; in venc_empty_buf() 4138 meta_buf = (LEGACY_CAM_METADATA_TYPE *)bufhdr->pBuffer; in venc_empty_buf() 4141 if (!bufhdr->nFilledLen) { in venc_empty_buf() 4142 if (bufhdr->nFlags & OMX_BUFFERFLAG_EOS) { in venc_empty_buf() 4240 VideoGrallocMetadata *meta_buf = (VideoGrallocMetadata *)bufhdr->pBuffer; in venc_empty_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-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()
|
D | omx_vdec_v4l2.cpp | 11726 OMX_BUFFERHEADERTYPE *bufhdr) in free_output_buffer() argument 11731 return omx->free_output_buffer(bufhdr); in free_output_buffer() 11734 if (!allocated_count || !bufhdr) { in free_output_buffer() 11735 DEBUG_PRINT_ERROR("Color convert no buffer to be freed %p",bufhdr); in free_output_buffer() 11738 index = bufhdr - m_out_mem_ptr_client; in free_output_buffer()
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
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.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_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()
|
D | omx_vdec_msm8974.cpp | 10432 OMX_BUFFERHEADERTYPE *bufhdr) in free_output_buffer() argument 10437 return omx->free_output_buffer(bufhdr); in free_output_buffer() 10440 if (!allocated_count || !bufhdr) { in free_output_buffer() 10441 DEBUG_PRINT_ERROR("Color convert no buffer to be freed %p",bufhdr); in free_output_buffer() 10444 index = bufhdr - m_out_mem_ptr_client; in free_output_buffer()
|
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 11431 OMX_BUFFERHEADERTYPE *bufhdr) in free_output_buffer() argument 11436 return omx->free_output_buffer(bufhdr); in free_output_buffer() 11439 if (!allocated_count || !bufhdr) { in free_output_buffer() 11442 DEBUG_PRINT_ERROR("Color convert no buffer to be freed %p",bufhdr); in free_output_buffer() 11445 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 | 12938 OMX_BUFFERHEADERTYPE *bufhdr) in free_output_buffer() argument 12943 return omx->free_output_buffer(bufhdr); in free_output_buffer() 12946 if (!allocated_count || !bufhdr) { in free_output_buffer() 12947 DEBUG_PRINT_ERROR("Color convert no buffer to be freed %p",bufhdr); in free_output_buffer() 12950 index = bufhdr - m_out_mem_ptr_client; in free_output_buffer()
|