Home
last modified time | relevance | path

Searched refs:ip_buf (Results 1 – 24 of 24) sorted by relevance

/hardware/qcom/media/msm8996/videopp/src/
Domx_vdpp.cpp938 OMX_ERRORTYPE eRet1 = pThis->get_buffer_req(&pThis->drv_ctx.ip_buf); in process_event_cb()
1701 drv_ctx.ip_buf.buffer_type = VDPP_BUFFER_TYPE_INPUT; in component_init()
1705 drv_ctx.ip_buf.alignment=SZ_4K; in component_init()
1709 eRet=get_buffer_req(&drv_ctx.ip_buf); in component_init()
1710 DEBUG_PRINT_HIGH("Input Buffer Size =%d \n ",drv_ctx.ip_buf.buffer_size); in component_init()
3184 eRet = get_buffer_req(&drv_ctx.ip_buf); in set_parameter()
3190 if (portDefn->nBufferCountActual >= drv_ctx.ip_buf.mincount in set_parameter()
3194 …ffer_size=%d \n", portDefn->nBufferCountActual, portDefn->nBufferSize, drv_ctx.ip_buf.buffer_size); in set_parameter()
3195 vdpp_allocatorproperty *buffer_prop = &drv_ctx.ip_buf; in set_parameter()
3196 drv_ctx.ip_buf.actualcount = portDefn->nBufferCountActual; in set_parameter()
[all …]
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2_params.cpp677 … (portDefn->nBufferCountActual != drv_ctx.ip_buf.actualcount || in set_parameter()
678 portDefn->nBufferSize != drv_ctx.ip_buf.buffer_size)) { in set_parameter()
684 if (portDefn->nBufferCountActual >= drv_ctx.ip_buf.mincount in set_parameter()
685 || portDefn->nBufferSize != drv_ctx.ip_buf.buffer_size) { in set_parameter()
687 vdec_allocatorproperty *buffer_prop = &drv_ctx.ip_buf; in set_parameter()
688 drv_ctx.ip_buf.actualcount = portDefn->nBufferCountActual; in set_parameter()
689 … drv_ctx.ip_buf.buffer_size = (portDefn->nBufferSize + buffer_prop->alignment - 1) & in set_parameter()
695 … drv_ctx.ip_buf.mincount, (unsigned int)drv_ctx.ip_buf.buffer_size, in set_parameter()
964 if (get_buffer_req(&drv_ctx.ip_buf)) { in set_parameter()
1135 eRet = get_buffer_req(&drv_ctx.ip_buf); in set_parameter()
[all …]
Domx_vdec_v4l2.cpp2028 drv_ctx.ip_buf.buffer_type = VDEC_BUFFER_TYPE_INPUT; in component_init()
2033 drv_ctx.ip_buf.alignment = SECURE_ALIGN; in component_init()
2036 drv_ctx.ip_buf.alignment = SZ_4K; in component_init()
2050 eRet = get_buffer_req(&drv_ctx.ip_buf); in component_init()
2051 DEBUG_PRINT_HIGH("Input Buffer Size =%u",(unsigned int)drv_ctx.ip_buf.buffer_size); in component_init()
3959 drv_ctx.ip_buf.actualcount); in use_input_heap_buffers()
3963 drv_ctx.ip_buf.actualcount); in use_input_heap_buffers()
3967 } else if (m_in_alloc_cnt < drv_ctx.ip_buf.actualcount) { in use_input_heap_buffers()
4087 if (index < drv_ctx.ip_buf.actualcount && drv_ctx.ptr_inputbuffer) { in free_input_buffer()
4244 if (bytes != drv_ctx.ip_buf.buffer_size) { in allocate_input_buffer()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Domx_vdec_copper.cpp1441 drv_ctx.ip_buf.buffer_type = VDEC_BUFFER_TYPE_INPUT; in component_init()
1444 drv_ctx.ip_buf.alignment=4096; in component_init()
1451 eRet=get_buffer_req(&drv_ctx.ip_buf); in component_init()
1452 printf("Input Buffer Size =%d \n ",drv_ctx.ip_buf.buffer_size); in component_init()
1471 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; in component_init()
1472 h264_scratch.pBuffer = (OMX_U8 *)malloc (drv_ctx.ip_buf.buffer_size); in component_init()
1482 m_frame_parser.mutils->allocate_rbsp_buffer (drv_ctx.ip_buf.buffer_size); in component_init()
2941 else if (portDefn->nBufferCountActual >= drv_ctx.ip_buf.mincount in set_parameter()
2942 && portDefn->nBufferSize == drv_ctx.ip_buf.buffer_size) in set_parameter()
2944 drv_ctx.ip_buf.actualcount = portDefn->nBufferCountActual; in set_parameter()
[all …]
Domx_vdec.cpp1495 drv_ctx.ip_buf.buffer_type = VDEC_BUFFER_TYPE_INPUT; in component_init()
1503 eRet = get_buffer_req(&drv_ctx.ip_buf); in component_init()
1555 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; in component_init()
1556 h264_scratch.pBuffer = (OMX_U8 *)malloc (drv_ctx.ip_buf.buffer_size); in component_init()
1566 m_frame_parser.mutils->allocate_rbsp_buffer (drv_ctx.ip_buf.buffer_size); in component_init()
3158 else if (portDefn->nBufferCountActual >= drv_ctx.ip_buf.mincount in set_parameter()
3159 && portDefn->nBufferSize == drv_ctx.ip_buf.buffer_size) in set_parameter()
3161 drv_ctx.ip_buf.actualcount = portDefn->nBufferCountActual; in set_parameter()
3162 drv_ctx.ip_buf.buffer_size = portDefn->nBufferSize; in set_parameter()
3163 eRet = set_buffer_req(&drv_ctx.ip_buf); in set_parameter()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp1528 drv_ctx.ip_buf.buffer_type = VDEC_BUFFER_TYPE_INPUT; in component_init()
1532 drv_ctx.ip_buf.alignment=SZ_1M; in component_init()
1535 drv_ctx.ip_buf.alignment=SZ_4K; in component_init()
1550 eRet=get_buffer_req(&drv_ctx.ip_buf); in component_init()
1551 DEBUG_PRINT_HIGH("Input Buffer Size =%d",drv_ctx.ip_buf.buffer_size); in component_init()
1555 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; in component_init()
1556 h264_scratch.pBuffer = (OMX_U8 *)malloc (drv_ctx.ip_buf.buffer_size); in component_init()
1575 m_frame_parser.mutils->allocate_rbsp_buffer (drv_ctx.ip_buf.buffer_size); in component_init()
2818 } else if (portDefn->nBufferCountActual >= drv_ctx.ip_buf.mincount in set_parameter()
2819 || portDefn->nBufferSize != drv_ctx.ip_buf.buffer_size) { in set_parameter()
[all …]
Domx_vdec_hevc_swvdec.cpp1824 drv_ctx.ip_buf.buffer_type = VDEC_BUFFER_TYPE_INPUT; in component_init()
1830 drv_ctx.ip_buf.alignment=SZ_1M; in component_init()
1834 drv_ctx.ip_buf.alignment=SZ_4K; in component_init()
1972 eRet=get_buffer_req(&drv_ctx.ip_buf); in component_init()
1973 DEBUG_PRINT_HIGH("Input Buffer Size =%d",drv_ctx.ip_buf.buffer_size); in component_init()
2013 drv_ctx.ip_buf.buffer_size, drv_ctx.interm_op_buf.buffer_size, in component_init()
2016 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; in component_init()
2017 h264_scratch.pBuffer = (OMX_U8 *)malloc (drv_ctx.ip_buf.buffer_size); in component_init()
3499 else if (portDefn->nBufferCountActual >= drv_ctx.ip_buf.mincount in set_parameter()
3500 || portDefn->nBufferSize != drv_ctx.ip_buf.buffer_size) in set_parameter()
[all …]
Domx_vdec_msm8974.cpp1969 drv_ctx.ip_buf.buffer_type = VDEC_BUFFER_TYPE_INPUT; in component_init()
1973 drv_ctx.ip_buf.alignment=SZ_1M; in component_init()
1976 drv_ctx.ip_buf.alignment=SZ_4K; in component_init()
2004 eRet=get_buffer_req(&drv_ctx.ip_buf); in component_init()
2005 DEBUG_PRINT_HIGH("Input Buffer Size =%u",(unsigned int)drv_ctx.ip_buf.buffer_size); in component_init()
2010 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; in component_init()
2011 h264_scratch.pBuffer = (OMX_U8 *)malloc (drv_ctx.ip_buf.buffer_size); in component_init()
2029 m_frame_parser.mutils->allocate_rbsp_buffer (drv_ctx.ip_buf.buffer_size); in component_init()
3550 … (portDefn->nBufferCountActual != drv_ctx.ip_buf.actualcount || in set_parameter()
3551 portDefn->nBufferSize != drv_ctx.ip_buf.buffer_size)) { in set_parameter()
[all …]
Domx_vdec.cpp1464 drv_ctx.ip_buf.buffer_type = VDEC_BUFFER_TYPE_INPUT; in component_init()
1472 eRet = get_buffer_req(&drv_ctx.ip_buf); in component_init()
1521 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size - DEVICE_SCRATCH; in component_init()
1532 m_frame_parser.mutils->allocate_rbsp_buffer (drv_ctx.ip_buf.buffer_size); in component_init()
3002 } else if (portDefn->nBufferCountActual >= drv_ctx.ip_buf.mincount in set_parameter()
3003 … && portDefn->nBufferSize == (drv_ctx.ip_buf.buffer_size - DEVICE_SCRATCH)) { in set_parameter()
3004 drv_ctx.ip_buf.actualcount = portDefn->nBufferCountActual; in set_parameter()
3005 drv_ctx.ip_buf.buffer_size = portDefn->nBufferSize + DEVICE_SCRATCH; in set_parameter()
3006 eRet = set_buffer_req(&drv_ctx.ip_buf); in set_parameter()
3009 drv_ctx.ip_buf.mincount, drv_ctx.ip_buf.buffer_size, in set_parameter()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp1507 drv_ctx.ip_buf.buffer_type = VDEC_BUFFER_TYPE_INPUT; in component_init()
1511 drv_ctx.ip_buf.alignment=SZ_1M; in component_init()
1514 drv_ctx.ip_buf.alignment=SZ_4K; in component_init()
1529 eRet=get_buffer_req(&drv_ctx.ip_buf); in component_init()
1530 DEBUG_PRINT_HIGH("Input Buffer Size =%d",drv_ctx.ip_buf.buffer_size); in component_init()
1534 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; in component_init()
1535 h264_scratch.pBuffer = (OMX_U8 *)malloc (drv_ctx.ip_buf.buffer_size); in component_init()
1554 m_frame_parser.mutils->allocate_rbsp_buffer (drv_ctx.ip_buf.buffer_size); in component_init()
2797 } else if (portDefn->nBufferCountActual >= drv_ctx.ip_buf.mincount in set_parameter()
2798 || portDefn->nBufferSize != drv_ctx.ip_buf.buffer_size) { in set_parameter()
[all …]
Domx_vdec_hevc_swvdec.cpp1847 drv_ctx.ip_buf.buffer_type = VDEC_BUFFER_TYPE_INPUT; in component_init()
1853 drv_ctx.ip_buf.alignment=SZ_1M; in component_init()
1857 drv_ctx.ip_buf.alignment=SZ_4K; in component_init()
1995 eRet=get_buffer_req(&drv_ctx.ip_buf); in component_init()
1996 DEBUG_PRINT_HIGH("Input Buffer Size =%d",drv_ctx.ip_buf.buffer_size); in component_init()
2036 drv_ctx.ip_buf.buffer_size, drv_ctx.interm_op_buf.buffer_size, in component_init()
2039 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; in component_init()
2040 h264_scratch.pBuffer = (OMX_U8 *)malloc (drv_ctx.ip_buf.buffer_size); in component_init()
3571 else if (portDefn->nBufferCountActual >= drv_ctx.ip_buf.mincount in set_parameter()
3572 || portDefn->nBufferSize != drv_ctx.ip_buf.buffer_size) in set_parameter()
[all …]
Domx_vdec_v4l2.cpp2430 drv_ctx.ip_buf.buffer_type = VDEC_BUFFER_TYPE_INPUT; in component_init()
2435 drv_ctx.ip_buf.alignment = SECURE_ALIGN; in component_init()
2438 drv_ctx.ip_buf.alignment = SZ_4K; in component_init()
2477 eRet = get_buffer_req(&drv_ctx.ip_buf); in component_init()
2478 DEBUG_PRINT_HIGH("Input Buffer Size =%u",(unsigned int)drv_ctx.ip_buf.buffer_size); in component_init()
2483 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; in component_init()
2484 h264_scratch.pBuffer = (OMX_U8 *)malloc (drv_ctx.ip_buf.buffer_size); in component_init()
2502 m_frame_parser.mutils->allocate_rbsp_buffer (drv_ctx.ip_buf.buffer_size); in component_init()
4176 … (portDefn->nBufferCountActual != drv_ctx.ip_buf.actualcount || in set_parameter()
4177 portDefn->nBufferSize != drv_ctx.ip_buf.buffer_size)) { in set_parameter()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp2647 drv_ctx.ip_buf.buffer_type = VDEC_BUFFER_TYPE_INPUT; in component_init()
2652 drv_ctx.ip_buf.alignment = SECURE_ALIGN; in component_init()
2655 drv_ctx.ip_buf.alignment = SZ_4K; in component_init()
2696 eRet = get_buffer_req(&drv_ctx.ip_buf); in component_init()
2697 DEBUG_PRINT_HIGH("Input Buffer Size =%u",(unsigned int)drv_ctx.ip_buf.buffer_size); in component_init()
2702 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; in component_init()
2703 h264_scratch.pBuffer = (OMX_U8 *)malloc (drv_ctx.ip_buf.buffer_size); in component_init()
2721 m_frame_parser.mutils->allocate_rbsp_buffer (drv_ctx.ip_buf.buffer_size); in component_init()
4474 … (portDefn->nBufferCountActual != drv_ctx.ip_buf.actualcount || in set_parameter()
4475 portDefn->nBufferSize != drv_ctx.ip_buf.buffer_size)) { in set_parameter()
[all …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp2623 drv_ctx.ip_buf.buffer_type = VDEC_BUFFER_TYPE_INPUT; in component_init()
2628 drv_ctx.ip_buf.alignment = SECURE_ALIGN; in component_init()
2631 drv_ctx.ip_buf.alignment = SZ_4K; in component_init()
2663 eRet = get_buffer_req(&drv_ctx.ip_buf); in component_init()
2664 DEBUG_PRINT_HIGH("Input Buffer Size =%u",(unsigned int)drv_ctx.ip_buf.buffer_size); in component_init()
2669 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; in component_init()
2670 h264_scratch.pBuffer = (OMX_U8 *)malloc (drv_ctx.ip_buf.buffer_size); in component_init()
2688 m_frame_parser.mutils->allocate_rbsp_buffer (drv_ctx.ip_buf.buffer_size); in component_init()
4502 … (portDefn->nBufferCountActual != drv_ctx.ip_buf.actualcount || in set_parameter()
4503 portDefn->nBufferSize != drv_ctx.ip_buf.buffer_size)) { in set_parameter()
[all …]
/hardware/qcom/media/msm8996/videopp/inc/
Domx_vdpp.h360 struct vdpp_allocatorproperty ip_buf; member
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
Domx_vdec.h235 struct vdec_allocatorproperty ip_buf; member
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec_hevc.h232 struct vdec_allocatorproperty ip_buf; member
Domx_vdec_hevc_swvdec.h256 struct vdec_allocatorproperty ip_buf; member
Domx_vdec.h275 struct vdec_allocatorproperty ip_buf; member
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec_hevc.h231 struct vdec_allocatorproperty ip_buf; member
Domx_vdec.h267 struct vdec_allocatorproperty ip_buf; member
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h277 struct vdec_allocatorproperty ip_buf; member
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h401 struct vdec_allocatorproperty ip_buf; member
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h468 struct vdec_allocatorproperty ip_buf; member