/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/ |
D | omx_swvenc_mpeg4.cpp | 2217 OMX_BUFFERHEADERTYPE *bufhdr = (OMX_BUFFERHEADERTYPE *)buffer; in dev_empty_buf() local 2228 meta_buf = (LEGACY_CAM_METADATA_TYPE *)bufhdr->pBuffer; in dev_empty_buf() 2236 if (!bufhdr->nFilledLen && (bufhdr->nFlags & OMX_BUFFERFLAG_EOS)) in dev_empty_buf() 2238 ipbuffer.p_buffer= bufhdr->pBuffer; in dev_empty_buf() 2239 ipbuffer.size = bufhdr->nAllocLen; in dev_empty_buf() 2240 ipbuffer.filled_length = bufhdr->nFilledLen; in dev_empty_buf() 2269 VideoGrallocMetadata *meta_buf = (VideoGrallocMetadata *)bufhdr->pBuffer; in dev_empty_buf() 2273 uint64_t avTimerTimestampNs = bufhdr->nTimeStamp * 1000; in dev_empty_buf() 2276 bufhdr->nTimeStamp = avTimerTimestampNs / 1000; in dev_empty_buf() 2277 … DEBUG_PRINT_LOW("AVTimer TS: %llu us", (unsigned long long)bufhdr->nTimeStamp); in dev_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 …]
|
/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 | 2244 OMX_BUFFERHEADERTYPE *bufhdr = (OMX_BUFFERHEADERTYPE *)buffer; in dev_empty_buf() local 2255 meta_buf = (LEGACY_CAM_METADATA_TYPE *)bufhdr->pBuffer; in dev_empty_buf() 2263 if (!bufhdr->nFilledLen && (bufhdr->nFlags & OMX_BUFFERFLAG_EOS)) in dev_empty_buf() 2265 ipbuffer.p_buffer= bufhdr->pBuffer; in dev_empty_buf() 2266 ipbuffer.size = bufhdr->nAllocLen; in dev_empty_buf() 2267 ipbuffer.filled_length = bufhdr->nFilledLen; in dev_empty_buf() 2296 VideoGrallocMetadata *meta_buf = (VideoGrallocMetadata *)bufhdr->pBuffer; in dev_empty_buf() 2300 uint64_t avTimerTimestampNs = bufhdr->nTimeStamp * 1000; in dev_empty_buf() 2303 bufhdr->nTimeStamp = avTimerTimestampNs / 1000; in dev_empty_buf() 2304 … DEBUG_PRINT_LOW("AVTimer TS: %llu us", (unsigned long long)bufhdr->nTimeStamp); in dev_empty_buf() [all …]
|
D | video_encoder_device_v4l2.cpp | 4180 struct OMX_BUFFERHEADERTYPE *bufhdr; in venc_empty_buf() local 4192 bufhdr = (OMX_BUFFERHEADERTYPE *)buffer; in venc_empty_buf() 4197 …_LOW("Input buffer length %u, Timestamp = %lld", (unsigned int)bufhdr->nFilledLen, bufhdr->nTimeSt… in venc_empty_buf() 4202 plane[0].data_offset = bufhdr->nOffset; in venc_empty_buf() 4203 plane[0].length = bufhdr->nAllocLen; in venc_empty_buf() 4204 plane[0].bytesused = bufhdr->nFilledLen; in venc_empty_buf() 4216 meta_buf = (LEGACY_CAM_METADATA_TYPE *)bufhdr->pBuffer; in venc_empty_buf() 4219 if (!bufhdr->nFilledLen) { in venc_empty_buf() 4220 if (bufhdr->nFlags & OMX_BUFFERFLAG_EOS) { in venc_empty_buf() 4318 VideoGrallocMetadata *meta_buf = (VideoGrallocMetadata *)bufhdr->pBuffer; in venc_empty_buf() [all …]
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/ |
D | omx_swvenc_mpeg4.cpp | 2188 OMX_BUFFERHEADERTYPE *bufhdr = (OMX_BUFFERHEADERTYPE *)buffer; in dev_empty_buf() local 2199 meta_buf = (LEGACY_CAM_METADATA_TYPE *)bufhdr->pBuffer; in dev_empty_buf() 2207 if (!bufhdr->nFilledLen && (bufhdr->nFlags & OMX_BUFFERFLAG_EOS)) in dev_empty_buf() 2209 ipbuffer.p_buffer= bufhdr->pBuffer; in dev_empty_buf() 2210 ipbuffer.size = bufhdr->nAllocLen; in dev_empty_buf() 2211 ipbuffer.filled_length = bufhdr->nFilledLen; in dev_empty_buf() 2240 VideoGrallocMetadata *meta_buf = (VideoGrallocMetadata *)bufhdr->pBuffer; in dev_empty_buf() 2244 uint64_t avTimerTimestampNs = bufhdr->nTimeStamp * 1000; in dev_empty_buf() 2247 bufhdr->nTimeStamp = avTimerTimestampNs / 1000; in dev_empty_buf() 2248 … DEBUG_PRINT_LOW("AVTimer TS: %llu us", (unsigned long long)bufhdr->nTimeStamp); in dev_empty_buf() [all …]
|
D | video_encoder_device_v4l2.cpp | 2535 struct OMX_BUFFERHEADERTYPE *bufhdr; in venc_empty_buf() local 2547 bufhdr = (OMX_BUFFERHEADERTYPE *)buffer; in venc_empty_buf() 2555 plane[0].data_offset = bufhdr->nOffset; in venc_empty_buf() 2556 plane[0].length = bufhdr->nAllocLen; in venc_empty_buf() 2557 plane[0].bytesused = bufhdr->nFilledLen; in venc_empty_buf() 2569 meta_buf = (LEGACY_CAM_METADATA_TYPE *)bufhdr->pBuffer; in venc_empty_buf() 2572 if (!bufhdr->nFilledLen) { in venc_empty_buf() 2573 if (bufhdr->nFlags & OMX_BUFFERFLAG_EOS) { in venc_empty_buf() 2671 VideoGrallocMetadata *meta_buf = (VideoGrallocMetadata *)bufhdr->pBuffer; in venc_empty_buf() 2681 uint64_t avTimerTimestampNs = bufhdr->nTimeStamp * 1000; 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 …]
|
/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()
|
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/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_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 | 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()
|