Home
last modified time | relevance | path

Searched refs:m_out_mem_ptr (Results 1 – 25 of 45) sorted by relevance

12

/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Domx_video_base.cpp231 m_out_mem_ptr(NULL), in omx_video()
2246 if(!m_out_mem_ptr) in use_output_buffer()
2261 m_out_mem_ptr = (OMX_BUFFERHEADERTYPE *)calloc(nBufHdrSize,1); in use_output_buffer()
2262 if(m_out_mem_ptr == NULL) in use_output_buffer()
2282 if(m_out_mem_ptr) in use_output_buffer()
2284 bufHdr = m_out_mem_ptr; in use_output_buffer()
2285 DEBUG_PRINT_LOW("Memory Allocation Succeeded for OUT port%p\n",m_out_mem_ptr); in use_output_buffer()
2307 DEBUG_PRINT_ERROR("ERROR: Output buf mem alloc failed[0x%x]\n",m_out_mem_ptr); in use_output_buffer()
2324 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
2564 if(bufferHdr == NULL || m_out_mem_ptr == NULL) in free_output_buffer()
[all …]
Domx_video_encoder.cpp1449 if(m_out_mem_ptr) in component_deinit()
1454 free_output_buffer (&m_out_mem_ptr[i]); in component_deinit()
1456 free(m_out_mem_ptr); in component_deinit()
1457 m_out_mem_ptr = NULL; in component_deinit()
1685 ((OMX_U32)(omxhdr - omx->m_out_mem_ptr) < omx->m_sOutPortDef.nBufferCountActual)) in async_message_process()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp235 m_out_mem_ptr(NULL), in omx_video()
2375 if (!m_out_mem_ptr) { in use_output_buffer()
2389 m_out_mem_ptr = (OMX_BUFFERHEADERTYPE *)calloc(nBufHdrSize,1); in use_output_buffer()
2390 if (m_out_mem_ptr == NULL) { in use_output_buffer()
2407 if (m_out_mem_ptr) { in use_output_buffer()
2408 bufHdr = m_out_mem_ptr; in use_output_buffer()
2409 DEBUG_PRINT_LOW("Memory Allocation Succeeded for OUT port%p",m_out_mem_ptr); in use_output_buffer()
2428 DEBUG_PRINT_ERROR("ERROR: Output buf mem alloc failed[0x%p]",m_out_mem_ptr); in use_output_buffer()
2441 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
2674 if (bufferHdr == NULL || m_out_mem_ptr == NULL) { in free_output_buffer()
[all …]
Domx_video_encoder.cpp673 if (m_out_mem_ptr && in set_parameter()
1948 if (m_out_mem_ptr) { in component_deinit()
1953 free_output_buffer (&m_out_mem_ptr[i]); in component_deinit()
1960 free(m_out_mem_ptr); in component_deinit()
1961 m_out_mem_ptr = NULL; in component_deinit()
2261 OMX_U32 bufIndex = (OMX_U32)(omxhdr - omx->m_out_mem_ptr); in async_message_process()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp290 m_out_mem_ptr(NULL), in omx_video()
2674 if (!m_out_mem_ptr) { in use_output_buffer()
2688 m_out_mem_ptr = (OMX_BUFFERHEADERTYPE *)calloc(nBufHdrSize,1); in use_output_buffer()
2689 if (m_out_mem_ptr == NULL) { in use_output_buffer()
2706 if (m_out_mem_ptr) { in use_output_buffer()
2707 bufHdr = m_out_mem_ptr; in use_output_buffer()
2708 DEBUG_PRINT_LOW("Memory Allocation Succeeded for OUT port%p",m_out_mem_ptr); in use_output_buffer()
2727 DEBUG_PRINT_ERROR("ERROR: Output buf mem alloc failed[0x%p]",m_out_mem_ptr); in use_output_buffer()
2740 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
2985 if (bufferHdr == NULL || m_out_mem_ptr == NULL) { in free_output_buffer()
[all …]
Domx_swvenc_hevc.cpp1001 if (m_out_mem_ptr) { in component_deinit()
1004 free_output_buffer (&m_out_mem_ptr[i]); in component_deinit()
1006 free(m_out_mem_ptr); in component_deinit()
1007 m_out_mem_ptr = NULL; in component_deinit()
1492 OMX_BUFFERHEADERTYPE *bufHdr = m_out_mem_ptr + index; in swvenc_fill_buffer_done()
Domx_video_encoder.cpp749 if (m_out_mem_ptr && in set_parameter()
2206 if (m_out_mem_ptr) { in component_deinit()
2213 free_output_buffer (&m_out_mem_ptr[i]); in component_deinit()
2220 free(m_out_mem_ptr); in component_deinit()
2221 m_out_mem_ptr = NULL; in component_deinit()
2549 OMX_U32 bufIndex = (OMX_U32)(omxhdr - omx->m_out_mem_ptr); in async_message_process()
Domx_swvenc_mpeg4.cpp1628 if (m_out_mem_ptr) in component_deinit()
1633 free_output_buffer (&m_out_mem_ptr[i]); in component_deinit()
1635 free(m_out_mem_ptr); in component_deinit()
1636 m_out_mem_ptr = NULL; in component_deinit()
2481 ((OMX_U32)(omxhdr - omx->m_out_mem_ptr) < omx->m_sOutPortDef.nBufferCountActual) in swvenc_fill_buffer_done_cb()
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp253 m_out_mem_ptr(NULL), in omx_video()
2751 if (!m_out_mem_ptr) { in use_output_buffer()
2765 m_out_mem_ptr = (OMX_BUFFERHEADERTYPE *)calloc(nBufHdrSize,1); in use_output_buffer()
2766 if (m_out_mem_ptr == NULL) { in use_output_buffer()
2783 if (m_out_mem_ptr) { in use_output_buffer()
2784 bufHdr = m_out_mem_ptr; in use_output_buffer()
2785 DEBUG_PRINT_LOW("Memory Allocation Succeeded for OUT port%p",m_out_mem_ptr); in use_output_buffer()
2804 DEBUG_PRINT_ERROR("ERROR: Output buf mem alloc failed[0x%p]",m_out_mem_ptr); in use_output_buffer()
2817 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
3134 if (bufferHdr == NULL || m_out_mem_ptr == NULL) { in free_output_buffer()
[all …]
Domx_video_encoder.cpp648 if (m_out_mem_ptr && in set_parameter()
1014 } else if (m_out_mem_ptr) { in set_parameter()
2132 if (m_out_mem_ptr) { in component_deinit()
2139 free_output_buffer (&m_out_mem_ptr[i]); in component_deinit()
2146 free(m_out_mem_ptr); in component_deinit()
2147 m_out_mem_ptr = NULL; in component_deinit()
2480 OMX_U32 bufIndex = (OMX_U32)(omxhdr - omx->m_out_mem_ptr); in async_message_process()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp283 m_out_mem_ptr(NULL), in omx_video()
2761 if (!m_out_mem_ptr) { in use_output_buffer()
2775 m_out_mem_ptr = (OMX_BUFFERHEADERTYPE *)calloc(nBufHdrSize,1); in use_output_buffer()
2776 if (m_out_mem_ptr == NULL) { in use_output_buffer()
2793 if (m_out_mem_ptr) { in use_output_buffer()
2794 bufHdr = m_out_mem_ptr; in use_output_buffer()
2795 DEBUG_PRINT_LOW("Memory Allocation Succeeded for OUT port%p",m_out_mem_ptr); in use_output_buffer()
2814 DEBUG_PRINT_ERROR("ERROR: Output buf mem alloc failed[0x%p]",m_out_mem_ptr); in use_output_buffer()
2827 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
3070 if (bufferHdr == NULL || m_out_mem_ptr == NULL) { in free_output_buffer()
[all …]
Domx_video_encoder.cpp789 if (m_out_mem_ptr && in set_parameter()
1200 } else if (m_out_mem_ptr) { in set_parameter()
2366 if (m_out_mem_ptr) { in component_deinit()
2373 free_output_buffer (&m_out_mem_ptr[i]); in component_deinit()
2380 free(m_out_mem_ptr); in component_deinit()
2381 m_out_mem_ptr = NULL; in component_deinit()
2717 OMX_U32 bufIndex = (OMX_U32)(omxhdr - omx->m_out_mem_ptr); in async_message_process()
Domx_swvenc_mpeg4.cpp1625 if (m_out_mem_ptr) in component_deinit()
1630 free_output_buffer (&m_out_mem_ptr[i]); in component_deinit()
1632 free(m_out_mem_ptr); in component_deinit()
1633 m_out_mem_ptr = NULL; in component_deinit()
2547 ((OMX_U32)(omxhdr - omx->m_out_mem_ptr) < omx->m_sOutPortDef.nBufferCountActual) in swvenc_fill_buffer_done_cb()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec.cpp430 m_out_mem_ptr(NULL), in omx_vdec()
3870 if (!m_out_mem_ptr) { in use_output_buffer()
4067 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
4324 if (bufferHdr == NULL || m_out_mem_ptr == NULL) { in free_output_buffer()
4329 index = bufferHdr - m_out_mem_ptr; in free_output_buffer()
4717 if (!m_out_mem_ptr) { in allocate_output_buffer()
4742 m_out_mem_ptr = (OMX_BUFFERHEADERTYPE *)calloc(nBufHdrSize,1); in allocate_output_buffer()
4764 if (m_out_mem_ptr && pPtr && drv_ctx.ptr_outputbuffer in allocate_output_buffer()
4773 bufHdr = m_out_mem_ptr; in allocate_output_buffer()
4783 DEBUG_PRINT_LOW("Memory Allocation Succeeded for OUT port%p",m_out_mem_ptr); in allocate_output_buffer()
[all …]
Domx_vdec_hevc.cpp492 m_out_mem_ptr(NULL), in omx_vdec()
3652 if (!m_out_mem_ptr) { in use_output_buffer()
3808 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
4060 if (bufferHdr == NULL || m_out_mem_ptr == NULL) { in free_output_buffer()
4064 index = bufferHdr - m_out_mem_ptr; in free_output_buffer()
4403 if (!m_out_mem_ptr) { in allocate_output_buffer()
4488 m_out_mem_ptr = (OMX_BUFFERHEADERTYPE *)calloc(nBufHdrSize,1); in allocate_output_buffer()
4505 if (m_out_mem_ptr && pPtr && drv_ctx.ptr_outputbuffer in allocate_output_buffer()
4510 bufHdr = m_out_mem_ptr; in allocate_output_buffer()
4520 DEBUG_PRINT_LOW("Memory Allocation Succeeded for OUT port%p",m_out_mem_ptr); in allocate_output_buffer()
[all …]
Domx_vdec_msm8974.cpp532 m_out_mem_ptr(NULL), in omx_vdec()
1538 int buf_index = buffer - m_out_mem_ptr; in log_output_buffers()
3425 if (m_out_mem_ptr && in set_parameter()
3993 } else if (m_out_mem_ptr) { in set_parameter()
4083 if (m_out_mem_ptr) { in set_parameter()
4731 if (!m_out_mem_ptr) { in use_output_buffer()
4756 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
4925 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
5194 if (bufferHdr == NULL || m_out_mem_ptr == NULL) { in free_output_buffer()
5198 index = bufferHdr - m_out_mem_ptr; in free_output_buffer()
[all …]
Domx_vdec_hevc_swvdec.cpp530 m_out_mem_ptr(NULL), in omx_vdec()
1653 int buf_index = buffer - m_out_mem_ptr; in log_output_buffers()
4382 if (!m_out_mem_ptr) { in use_output_buffer()
4411 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
4584 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
4889 if (bufferHdr == NULL || m_out_mem_ptr == NULL) in free_output_buffer()
4894 index = bufferHdr - m_out_mem_ptr; in free_output_buffer()
5279 if(!m_out_mem_ptr) in allocate_output_buffer()
5377 m_out_mem_ptr = (OMX_BUFFERHEADERTYPE *)calloc(nBufHdrSize,1); in allocate_output_buffer()
5398 if(m_out_mem_ptr && pPtr && drv_ctx.ptr_outputbuffer && drv_ctx.ptr_respbuffer in allocate_output_buffer()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Domx_vdec_copper.cpp452 m_out_mem_ptr(NULL), in omx_vdec()
3794 if (!m_out_mem_ptr) { in use_output_buffer()
3931 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
4171 if (bufferHdr == NULL || m_out_mem_ptr == NULL) in free_output_buffer()
4176 index = bufferHdr - m_out_mem_ptr; in free_output_buffer()
4548 if(!m_out_mem_ptr) in allocate_output_buffer()
4638 m_out_mem_ptr = (OMX_BUFFERHEADERTYPE *)calloc(nBufHdrSize,1); in allocate_output_buffer()
4655 if(m_out_mem_ptr && pPtr && drv_ctx.ptr_outputbuffer in allocate_output_buffer()
4661 bufHdr = m_out_mem_ptr; in allocate_output_buffer()
4671 DEBUG_PRINT_LOW("Memory Allocation Succeeded for OUT port%p\n",m_out_mem_ptr); in allocate_output_buffer()
[all …]
Domx_vdec.cpp445 m_out_mem_ptr(NULL), in omx_vdec()
4109 if (!m_out_mem_ptr) { in use_output_buffer()
4276 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
4527 if (bufferHdr == NULL || m_out_mem_ptr == NULL) in free_output_buffer()
4533 index = bufferHdr - m_out_mem_ptr; in free_output_buffer()
4924 if (!m_out_mem_ptr) in allocate_output_buffer()
4950 m_out_mem_ptr = (OMX_BUFFERHEADERTYPE *)calloc(nBufHdrSize,1); in allocate_output_buffer()
4972 if(m_out_mem_ptr && pPtr && drv_ctx.ptr_outputbuffer in allocate_output_buffer()
4982 bufHdr = m_out_mem_ptr; in allocate_output_buffer()
4992 DEBUG_PRINT_LOW("Memory Allocation Succeeded for OUT port%p\n",m_out_mem_ptr); in allocate_output_buffer()
[all …]
/hardware/qcom/media/msm8996/videopp/src/
Domx_vdpp.cpp605 m_out_mem_ptr(NULL), in omx_vdpp()
3890 if (!m_out_mem_ptr) { in use_output_buffer()
4031 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
4535 if (bufferHdr == NULL || m_out_mem_ptr == NULL) in free_output_buffer()
4540 index = bufferHdr - m_out_mem_ptr; in free_output_buffer()
4861 if(!m_out_mem_ptr) in allocate_output_buffer()
4902 m_out_mem_ptr = (OMX_BUFFERHEADERTYPE *)calloc(nBufHdrSize,1); in allocate_output_buffer()
4921 if(m_out_mem_ptr /*&& pPtr*/ && drv_ctx.ptr_outputbuffer in allocate_output_buffer()
4927 bufHdr = m_out_mem_ptr; in allocate_output_buffer()
4929 DEBUG_PRINT_LOW("Memory Allocation Succeeded for OUT port%p\n",m_out_mem_ptr); in allocate_output_buffer()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp488 m_out_mem_ptr(NULL), in omx_vdec()
3631 if (!m_out_mem_ptr) { in use_output_buffer()
3787 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
4039 if (bufferHdr == NULL || m_out_mem_ptr == NULL) { in free_output_buffer()
4043 index = bufferHdr - m_out_mem_ptr; in free_output_buffer()
4382 if (!m_out_mem_ptr) { in allocate_output_buffer()
4467 m_out_mem_ptr = (OMX_BUFFERHEADERTYPE *)calloc(nBufHdrSize,1); in allocate_output_buffer()
4484 if (m_out_mem_ptr && pPtr && drv_ctx.ptr_outputbuffer in allocate_output_buffer()
4489 bufHdr = m_out_mem_ptr; in allocate_output_buffer()
4499 DEBUG_PRINT_LOW("Memory Allocation Succeeded for OUT port%p",m_out_mem_ptr); in allocate_output_buffer()
[all …]
Domx_vdec_hevc_swvdec.cpp533 m_out_mem_ptr(NULL), in omx_vdec()
1670 int buf_index = buffer - m_out_mem_ptr; in log_output_buffers()
4579 if (!m_out_mem_ptr) { in use_output_buffer()
4608 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
4781 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
5086 if (bufferHdr == NULL || m_out_mem_ptr == NULL) in free_output_buffer()
5091 index = bufferHdr - m_out_mem_ptr; in free_output_buffer()
5481 if(!m_out_mem_ptr) in allocate_output_buffer()
5581 m_out_mem_ptr = (OMX_BUFFERHEADERTYPE *)calloc(nBufHdrSize,1); in allocate_output_buffer()
5602 if(m_out_mem_ptr && pPtr && drv_ctx.ptr_outputbuffer && drv_ctx.ptr_respbuffer in allocate_output_buffer()
[all …]
Domx_vdec_v4l2.cpp582 m_out_mem_ptr(NULL), in omx_vdec()
1918 buf_index = buffer - m_out_mem_ptr; in log_output_buffers()
4051 if (m_out_mem_ptr && in set_parameter()
4643 } else if (m_out_mem_ptr) { in set_parameter()
4733 if (m_out_mem_ptr) { in set_parameter()
5570 if (!m_out_mem_ptr) { in use_output_buffer()
5595 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
5768 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
6040 if (bufferHdr == NULL || m_out_mem_ptr == NULL) { in free_output_buffer()
6044 index = bufferHdr - m_out_mem_ptr; in free_output_buffer()
[all …]
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp668 m_out_mem_ptr(NULL), in omx_vdec()
2061 buf_index = buffer - m_out_mem_ptr; in log_output_buffers()
4128 if (m_out_mem_ptr && in set_parameter()
4659 } else if (m_out_mem_ptr) { in set_parameter()
4751 if (m_out_mem_ptr) { in set_parameter()
5565 if (!m_out_mem_ptr) { in use_output_buffer()
5590 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
5762 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
6078 if (bufferHdr == NULL || m_out_mem_ptr == NULL) { in free_output_buffer()
6083 index = bufferHdr - m_out_mem_ptr; in free_output_buffer()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp596 m_out_mem_ptr(NULL), in omx_vdec()
2121 buf_index = buffer - m_out_mem_ptr; in log_output_buffers()
4330 if (m_out_mem_ptr && in set_parameter()
4981 } else if (m_out_mem_ptr) { in set_parameter()
5073 if (m_out_mem_ptr) { in set_parameter()
5994 if (!m_out_mem_ptr) { in use_output_buffer()
6019 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
6192 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
6557 if (bufferHdr == NULL || m_out_mem_ptr == NULL) { in free_output_buffer()
6561 index = bufferHdr - m_out_mem_ptr; in free_output_buffer()
[all …]

12