Home
last modified time | relevance | path

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

123

/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 …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp290 m_out_mem_ptr(NULL), in omx_video()
2673 if (!m_out_mem_ptr) { in use_output_buffer()
2687 m_out_mem_ptr = (OMX_BUFFERHEADERTYPE *)calloc(nBufHdrSize,1); in use_output_buffer()
2688 if (m_out_mem_ptr == NULL) { in use_output_buffer()
2705 if (m_out_mem_ptr) { in use_output_buffer()
2706 bufHdr = m_out_mem_ptr; in use_output_buffer()
2707 DEBUG_PRINT_LOW("Memory Allocation Succeeded for OUT port%p",m_out_mem_ptr); in use_output_buffer()
2726 DEBUG_PRINT_ERROR("ERROR: Output buf mem alloc failed[0x%p]",m_out_mem_ptr); in use_output_buffer()
2739 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
2984 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()
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp257 m_out_mem_ptr(NULL), in omx_video()
2690 if (!m_out_mem_ptr) { in use_output_buffer()
2704 m_out_mem_ptr = (OMX_BUFFERHEADERTYPE *)calloc(nBufHdrSize,1); in use_output_buffer()
2705 if (m_out_mem_ptr == NULL) { in use_output_buffer()
2722 if (m_out_mem_ptr) { in use_output_buffer()
2723 bufHdr = m_out_mem_ptr; in use_output_buffer()
2724 DEBUG_PRINT_LOW("Memory Allocation Succeeded for OUT port%p",m_out_mem_ptr); in use_output_buffer()
2742 DEBUG_PRINT_ERROR("ERROR: Output buf mem alloc failed[0x%p]",m_out_mem_ptr); in use_output_buffer()
2755 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
3152 if (bufferHdr == NULL || m_out_mem_ptr == NULL) { in free_output_buffer()
[all …]
Domx_video_encoder.cpp786 if (m_out_mem_ptr && in set_parameter()
1107 } else if (m_out_mem_ptr) { in set_parameter()
2086 if (m_out_mem_ptr) { in component_deinit()
2093 free_output_buffer (&m_out_mem_ptr[i]); in component_deinit()
2100 free(m_out_mem_ptr); in component_deinit()
2101 m_out_mem_ptr = NULL; in component_deinit()
2488 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()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp255 m_out_mem_ptr(NULL), in omx_video()
2844 if (!m_out_mem_ptr) { in use_output_buffer()
2858 m_out_mem_ptr = (OMX_BUFFERHEADERTYPE *)calloc(nBufHdrSize,1); in use_output_buffer()
2859 if (m_out_mem_ptr == NULL) { in use_output_buffer()
2876 if (m_out_mem_ptr) { in use_output_buffer()
2877 bufHdr = m_out_mem_ptr; in use_output_buffer()
2878 DEBUG_PRINT_LOW("Memory Allocation Succeeded for OUT port%p",m_out_mem_ptr); in use_output_buffer()
2896 DEBUG_PRINT_ERROR("ERROR: Output buf mem alloc failed[0x%p]",m_out_mem_ptr); in use_output_buffer()
2909 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
3304 if (bufferHdr == NULL || m_out_mem_ptr == NULL) { in free_output_buffer()
[all …]
Domx_video_encoder.cpp853 if (m_out_mem_ptr && in set_parameter()
1233 } else if (m_out_mem_ptr) { in set_parameter()
2404 if (m_out_mem_ptr) { in component_deinit()
2411 free_output_buffer (&m_out_mem_ptr[i]); in component_deinit()
2418 free(m_out_mem_ptr); in component_deinit()
2419 m_out_mem_ptr = NULL; in component_deinit()
2805 OMX_U32 bufIndex = (OMX_U32)(omxhdr - omx->m_out_mem_ptr); in async_message_process()
/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/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 …]
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp533 m_out_mem_ptr(NULL), in omx_vdec()
1540 index = buffer - m_out_mem_ptr; in log_cc_output_buffers()
1603 buf_index = buffer - m_out_mem_ptr; in log_output_buffers()
3613 if (!m_out_mem_ptr) { in use_output_buffer()
3623 intermediate?&m_intermediate_out_mem_ptr:&m_out_mem_ptr; in use_output_buffer()
3648 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
3811 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
4134 intermediate?m_intermediate_out_mem_ptr:m_out_mem_ptr; in free_output_buffer()
4421 intermediate?&m_intermediate_out_mem_ptr:&m_out_mem_ptr; in allocate_output_buffer()
4894 m_intermediate_out_mem_ptr:m_out_mem_ptr; in free_buffer()
[all …]
Domx_vdec_v4l2_params.cpp557 if (m_out_mem_ptr && in set_parameter()
1000 } else if (m_out_mem_ptr) { in set_parameter()
1104 if (m_out_mem_ptr) { in set_parameter()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp691 m_out_mem_ptr(NULL), in omx_vdec()
2162 buf_index = buffer - m_out_mem_ptr; in log_output_buffers()
4360 if (m_out_mem_ptr && in set_parameter()
4956 } else if (m_out_mem_ptr) { in set_parameter()
5048 if (m_out_mem_ptr) { in set_parameter()
5937 if (!m_out_mem_ptr) { in use_output_buffer()
5947 intermediate?&m_intermediate_out_mem_ptr:&m_out_mem_ptr; in use_output_buffer()
5972 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
6135 *bufferHdr = (m_out_mem_ptr + i ); in use_output_buffer()
6460 intermediate?m_intermediate_out_mem_ptr:m_out_mem_ptr; in free_output_buffer()
[all …]

123