Home
last modified time | relevance | path

Searched refs:nBufferCountActual (Results 1 – 25 of 42) sorted by relevance

12

/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp2044 for (ii = 0; ii < m_port_ip.def.nBufferCountActual; ii++) in empty_this_buffer()
2055 if (ii == m_port_ip.def.nBufferCountActual) in empty_this_buffer()
2148 for (ii = 0; ii < m_port_op.def.nBufferCountActual; ii++) in fill_this_buffer()
2159 if (ii == m_port_op.def.nBufferCountActual) in fill_this_buffer()
2836 p_port_def->nBufferCountActual = m_port_ip.def.nBufferCountActual; in get_port_definition()
2845 p_port_def->nBufferCountActual, in get_port_definition()
2912 p_port_def->nBufferCountActual = m_port_op.def.nBufferCountActual; in get_port_definition()
2921 p_port_def->nBufferCountActual, in get_port_definition()
2976 p_port_def->nBufferCountActual, in set_port_definition()
2982 m_port_ip.def.nBufferCountActual = p_port_def->nBufferCountActual; in set_port_definition()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp1882 for (ii = 0; ii < m_port_ip.def.nBufferCountActual; ii++) in empty_this_buffer()
1893 if (ii == m_port_ip.def.nBufferCountActual) in empty_this_buffer()
1984 for (ii = 0; ii < m_port_op.def.nBufferCountActual; ii++) in fill_this_buffer()
1995 if (ii == m_port_op.def.nBufferCountActual) in fill_this_buffer()
2587 p_port_def->nBufferCountActual = m_port_ip.def.nBufferCountActual; in get_port_definition()
2596 p_port_def->nBufferCountActual, in get_port_definition()
2671 p_port_def->nBufferCountActual = m_port_op.def.nBufferCountActual; in get_port_definition()
2680 p_port_def->nBufferCountActual, in get_port_definition()
2712 p_port_def->nBufferCountActual, in set_port_definition()
2718 m_port_ip.def.nBufferCountActual = p_port_def->nBufferCountActual; in set_port_definition()
[all …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp2064 for (ii = 0; ii < m_port_ip.def.nBufferCountActual; ii++) in empty_this_buffer()
2075 if (ii == m_port_ip.def.nBufferCountActual) in empty_this_buffer()
2168 for (ii = 0; ii < m_port_op.def.nBufferCountActual; ii++) in fill_this_buffer()
2179 if (ii == m_port_op.def.nBufferCountActual) in fill_this_buffer()
2849 p_port_def->nBufferCountActual = m_port_ip.def.nBufferCountActual; in get_port_definition()
2867 p_port_def->nBufferCountActual, in get_port_definition()
2934 p_port_def->nBufferCountActual = m_port_op.def.nBufferCountActual; in get_port_definition()
2943 p_port_def->nBufferCountActual, in get_port_definition()
2998 p_port_def->nBufferCountActual, in set_port_definition()
3004 m_port_ip.def.nBufferCountActual = p_port_def->nBufferCountActual; in set_port_definition()
[all …]
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp2064 for (ii = 0; ii < m_port_ip.def.nBufferCountActual; ii++) in empty_this_buffer()
2075 if (ii == m_port_ip.def.nBufferCountActual) in empty_this_buffer()
2168 for (ii = 0; ii < m_port_op.def.nBufferCountActual; ii++) in fill_this_buffer()
2179 if (ii == m_port_op.def.nBufferCountActual) in fill_this_buffer()
2854 p_port_def->nBufferCountActual = m_port_ip.def.nBufferCountActual; in get_port_definition()
2872 p_port_def->nBufferCountActual, in get_port_definition()
2939 p_port_def->nBufferCountActual = m_port_op.def.nBufferCountActual; in get_port_definition()
2948 p_port_def->nBufferCountActual, in get_port_definition()
3003 p_port_def->nBufferCountActual, in set_port_definition()
3009 m_port_ip.def.nBufferCountActual = p_port_def->nBufferCountActual; in set_port_definition()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Domx_video_base.cpp1533 m_sInPortDef.nBufferCountActual); in get_parameter()
1553 &m_sOutPortDef.nBufferCountActual, in get_parameter()
1558 m_sOutPortDef.nBufferCountActual); in get_parameter()
2075 calloc( (sizeof(OMX_BUFFERHEADERTYPE)), m_sInPortDef.nBufferCountActual); in use_input_buffer()
2083 m_pInput_pmem = (struct pmem *) calloc(sizeof (struct pmem), m_sInPortDef.nBufferCountActual); in use_input_buffer()
2090 …pInput_ion = (struct venc_ion *) calloc(sizeof (struct venc_ion), m_sInPortDef.nBufferCountActual); in use_input_buffer()
2098 for(i=0; i< m_sInPortDef.nBufferCountActual; i++) in use_input_buffer()
2110 for(i=0; i< m_sInPortDef.nBufferCountActual; i++) in use_input_buffer()
2118 if(i < m_sInPortDef.nBufferCountActual) in use_input_buffer()
2251 DEBUG_PRINT_LOW("Allocating First Output Buffer(%d)\n",m_sOutPortDef.nBufferCountActual); in use_output_buffer()
[all …]
Domx_video_encoder.cpp262 &m_sInPortDef.nBufferCountActual, in component_init()
295 &m_sOutPortDef.nBufferCountActual, in component_init()
520 DEBUG_PRINT_LOW("\n i/p actual cnt requested = %d\n", portDefn->nBufferCountActual); in set_parameter()
529 DEBUG_PRINT_LOW("\n i/p previous actual cnt = %d\n", m_sInPortDef.nBufferCountActual); in set_parameter()
555 &m_sInPortDef.nBufferCountActual, in set_parameter()
561 &m_sOutPortDef.nBufferCountActual, in set_parameter()
564 m_sInPortDef.nBufferCountActual = portDefn->nBufferCountActual; in set_parameter()
568 DEBUG_PRINT_LOW("\n o/p actual cnt requested = %d\n", portDefn->nBufferCountActual); in set_parameter()
579 DEBUG_PRINT_LOW("\n o/p previous actual cnt = %d\n", m_sOutPortDef.nBufferCountActual); in set_parameter()
581 m_sOutPortDef.nBufferCountActual = portDefn->nBufferCountActual; in set_parameter()
[all …]
Dvideo_encoder_device_copper.cpp666 if((portDefn->nBufferCountActual >= m_sInput_buff_property.mincount) && in venc_set_param()
667 (portDefn->nBufferCountActual <= m_sInput_buff_property.maxcount)) in venc_set_param()
669 m_sInput_buff_property.actualcount = portDefn->nBufferCountActual; in venc_set_param()
690 if((portDefn->nBufferCountActual >= m_sInput_buff_property.mincount) && in venc_set_param()
691 (m_sInput_buff_property.maxcount >= portDefn->nBufferCountActual) && in venc_set_param()
694 m_sInput_buff_property.actualcount = portDefn->nBufferCountActual; in venc_set_param()
720 if( (portDefn->nBufferCountActual >= m_sOutput_buff_property.mincount) in venc_set_param()
722 (m_sOutput_buff_property.maxcount >= portDefn->nBufferCountActual) in venc_set_param()
727 m_sOutput_buff_property.actualcount = portDefn->nBufferCountActual; in venc_set_param()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp468 &m_sInPortDef.nBufferCountActual, in component_init()
500 &m_sOutPortDef.nBufferCountActual, in component_init()
757 portDefn->nBufferCountMin, portDefn->nBufferCountActual, portDefn->nBufferSize, in set_parameter()
761 if (portDefn->nBufferCountActual > MAX_NUM_INPUT_BUFFERS) { in set_parameter()
763 … (unsigned int)portDefn->nBufferCountActual, (unsigned int)MAX_NUM_INPUT_BUFFERS); in set_parameter()
767 (portDefn->nBufferCountActual != m_sInPortDef.nBufferCountActual || in set_parameter()
773 (portDefn->nBufferCountActual != m_sInPortDef.nBufferCountActual || in set_parameter()
778 if (portDefn->nBufferCountMin > portDefn->nBufferCountActual) { in set_parameter()
780 … (unsigned int)portDefn->nBufferCountMin, (unsigned int)portDefn->nBufferCountActual); in set_parameter()
803 &m_sInPortDef.nBufferCountActual, in set_parameter()
[all …]
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp1550 &m_sInPortDef.nBufferCountActual, in get_parameter()
1569 &m_sOutPortDef.nBufferCountActual, in get_parameter()
1596 portDefn->nBufferCountActual = m_client_out_extradata_info.getBufferCount(); in get_parameter()
1600 (unsigned int)portDefn->nBufferCountActual); in get_parameter()
1609 portDefn->nBufferCountActual, portDefn->nBufferSize, in get_parameter()
2581 calloc( (sizeof(OMX_BUFFERHEADERTYPE)), m_sInPortDef.nBufferCountActual); in use_input_buffer()
2589 … m_pInput_pmem = (struct pmem *) calloc(sizeof (struct pmem), m_sInPortDef.nBufferCountActual); in use_input_buffer()
2595 …pInput_ion = (struct venc_ion *) calloc(sizeof (struct venc_ion), m_sInPortDef.nBufferCountActual); in use_input_buffer()
2602 for (i=0; i< m_sInPortDef.nBufferCountActual; i++) { in use_input_buffer()
2613 for (i=0; i< m_sInPortDef.nBufferCountActual; i++) { in use_input_buffer()
[all …]
Domx_swvenc_mpeg4.cpp325 &m_sInPortDef.nBufferCountActual, in component_init()
358 &m_sOutPortDef.nBufferCountActual, in component_init()
566 DEBUG_PRINT_LOW("i/p actual cnt requested = %u", portDefn->nBufferCountActual); in set_parameter()
569 if (portDefn->nBufferCountMin > portDefn->nBufferCountActual) in set_parameter()
572 portDefn->nBufferCountMin, portDefn->nBufferCountActual); in set_parameter()
625 DEBUG_PRINT_LOW("i/p previous actual cnt = %u", m_sInPortDef.nBufferCountActual); in set_parameter()
633 &m_sInPortDef.nBufferCountActual, in set_parameter()
644 if (portDefn->nBufferCountActual > m_sInPortDef.nBufferCountActual) in set_parameter()
646 m_sInPortDef.nBufferCountActual = portDefn->nBufferCountActual; in set_parameter()
653 DEBUG_PRINT_LOW("i/p new actual cnt = %u", m_sInPortDef.nBufferCountActual); in set_parameter()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp309 &m_sInPortDef.nBufferCountActual, in component_init()
341 &m_sOutPortDef.nBufferCountActual, in component_init()
605 … DEBUG_PRINT_LOW("i/p actual cnt requested = %u", (unsigned int)portDefn->nBufferCountActual); in set_parameter()
608 if (portDefn->nBufferCountActual > MAX_NUM_INPUT_BUFFERS) { in set_parameter()
610 … (unsigned int)portDefn->nBufferCountActual, (unsigned int)MAX_NUM_INPUT_BUFFERS); in set_parameter()
614 (portDefn->nBufferCountActual != m_sInPortDef.nBufferCountActual || in set_parameter()
619 if (portDefn->nBufferCountMin > portDefn->nBufferCountActual) { in set_parameter()
621 … (unsigned int)portDefn->nBufferCountMin, (unsigned int)portDefn->nBufferCountActual); in set_parameter()
630 … DEBUG_PRINT_LOW("i/p previous actual cnt = %u", (unsigned int)m_sInPortDef.nBufferCountActual); in set_parameter()
653 &m_sInPortDef.nBufferCountActual, in set_parameter()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp388 &m_sInPortDef.nBufferCountActual, in component_init()
420 &m_sOutPortDef.nBufferCountActual, in component_init()
681 … DEBUG_PRINT_LOW("i/p actual cnt requested = %u", (unsigned int)portDefn->nBufferCountActual); in set_parameter()
684 if (portDefn->nBufferCountActual > MAX_NUM_INPUT_BUFFERS) { in set_parameter()
686 … (unsigned int)portDefn->nBufferCountActual, (unsigned int)MAX_NUM_INPUT_BUFFERS); in set_parameter()
690 (portDefn->nBufferCountActual != m_sInPortDef.nBufferCountActual || in set_parameter()
695 if (portDefn->nBufferCountMin > portDefn->nBufferCountActual) { in set_parameter()
697 … (unsigned int)portDefn->nBufferCountMin, (unsigned int)portDefn->nBufferCountActual); in set_parameter()
706 … DEBUG_PRINT_LOW("i/p previous actual cnt = %u", (unsigned int)m_sInPortDef.nBufferCountActual); in set_parameter()
729 &m_sInPortDef.nBufferCountActual, in set_parameter()
[all …]
Domx_swvenc_hevc.cpp249 &m_sInPortDef.nBufferCountActual, in component_init()
271 &m_sOutPortDef.nBufferCountActual, in component_init()
423 DEBUG_PRINT_LOW("i/p actual cnt requested = %u", portDefn->nBufferCountActual); in set_parameter()
426 if (portDefn->nBufferCountMin > portDefn->nBufferCountActual) { in set_parameter()
428 portDefn->nBufferCountMin, portDefn->nBufferCountActual); in set_parameter()
432 … DEBUG_PRINT_LOW("i/p previous actual cnt = %u", m_sInPortDef.nBufferCountActual); in set_parameter()
455 &m_sInPortDef.nBufferCountActual, in set_parameter()
461 &m_sOutPortDef.nBufferCountActual, in set_parameter()
464 m_sInPortDef.nBufferCountActual = portDefn->nBufferCountActual; in set_parameter()
466 DEBUG_PRINT_LOW("o/p actual cnt requested = %u", portDefn->nBufferCountActual); in set_parameter()
[all …]
Domx_swvenc_mpeg4.cpp301 &m_sInPortDef.nBufferCountActual, in component_init()
334 &m_sOutPortDef.nBufferCountActual, in component_init()
522 DEBUG_PRINT_LOW("i/p actual cnt requested = %u", portDefn->nBufferCountActual); in set_parameter()
525 if (portDefn->nBufferCountMin > portDefn->nBufferCountActual) in set_parameter()
528 portDefn->nBufferCountMin, portDefn->nBufferCountActual); in set_parameter()
578 DEBUG_PRINT_LOW("i/p previous actual cnt = %u", m_sInPortDef.nBufferCountActual); in set_parameter()
586 &m_sInPortDef.nBufferCountActual, in set_parameter()
597 if (portDefn->nBufferCountActual > m_sInPortDef.nBufferCountActual) in set_parameter()
599 m_sInPortDef.nBufferCountActual = portDefn->nBufferCountActual; in set_parameter()
606 DEBUG_PRINT_LOW("i/p new actual cnt = %u", m_sInPortDef.nBufferCountActual); in set_parameter()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp402 &m_sInPortDef.nBufferCountActual, in component_init()
434 &m_sOutPortDef.nBufferCountActual, in component_init()
721 … DEBUG_PRINT_LOW("i/p actual cnt requested = %u", (unsigned int)portDefn->nBufferCountActual); in set_parameter()
724 if (portDefn->nBufferCountActual > MAX_NUM_INPUT_BUFFERS) { in set_parameter()
726 … (unsigned int)portDefn->nBufferCountActual, (unsigned int)MAX_NUM_INPUT_BUFFERS); in set_parameter()
730 (portDefn->nBufferCountActual != m_sInPortDef.nBufferCountActual || in set_parameter()
735 if (portDefn->nBufferCountMin > portDefn->nBufferCountActual) { in set_parameter()
737 … (unsigned int)portDefn->nBufferCountMin, (unsigned int)portDefn->nBufferCountActual); in set_parameter()
746 … DEBUG_PRINT_LOW("i/p previous actual cnt = %u", (unsigned int)m_sInPortDef.nBufferCountActual); in set_parameter()
769 &m_sInPortDef.nBufferCountActual, in set_parameter()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp639 if (free_op_buf_cnt == portFmt.nBufferCountActual) in fbd_thread()
1972 input_buf_cnt = portFmt.nBufferCountActual; in Play_Decoder()
1978 portFmt.nBufferCountActual, portFmt.nBufferSize); in Play_Decoder()
1994 portFmt.nBufferCountActual); in Play_Decoder()
2022 portFmt.nBufferCountActual); in Play_Decoder()
2028 portFmt.nBufferCountActual, portFmt.nBufferSize); in Play_Decoder()
2030 free_op_buf_cnt = portFmt.nBufferCountActual; in Play_Decoder()
2045 portFmt.nBufferCountActual); in Play_Decoder()
2046 free_op_buf_cnt = portFmt.nBufferCountActual; in Play_Decoder()
2093 for(bufCnt=0; bufCnt < portFmt.nBufferCountActual; ++bufCnt) { in Play_Decoder()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp395 for (size_t i = 0; i < portDef.nBufferCountActual; i++) { in allocatePortBuffers()
439 if (portDefInput.nBufferCountActual || portDefOutput.nBufferCountActual) { in changeStateLoadedtoIdle()
449 if (portDefOutput.nBufferCountActual) { in changeStateLoadedtoIdle()
493 if (portDefInput.nBufferCountActual || portDefOutput.nBufferCountActual) { in changeStateIdletoLoaded()
504 if (portDefOutput.nBufferCountActual) { in changeStateIdletoLoaded()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp772 if (free_op_buf_cnt == portFmt.nBufferCountActual) in fbd_thread()
2236 input_buf_cnt = portFmt.nBufferCountActual; in Play_Decoder()
2242 portFmt.nBufferCountActual, portFmt.nBufferSize); in Play_Decoder()
2257 portFmt.nBufferCountActual); in Play_Decoder()
2282 portFmt.nBufferCountActual += 1; in Play_Decoder()
2297 portFmt.nBufferCountActual); in Play_Decoder()
2301 portFmt.nBufferCountActual, portFmt.nBufferSize); in Play_Decoder()
2303 free_op_buf_cnt = portFmt.nBufferCountActual; in Play_Decoder()
2316 portFmt.nBufferCountActual); in Play_Decoder()
2317 free_op_buf_cnt = portFmt.nBufferCountActual; in Play_Decoder()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp1350 producer->setMaxDequeuedBufferCount(portDef.nBufferCountActual)); in TEST_P()
1355 new CodecProducerListener(portDef.nBufferCountActual + value, value); in TEST_P()
1364 portDef.nBufferCountActual = portDef.nBufferCountActual + value; in TEST_P()
1450 EXPECT_EQ(portDef.nBufferCountActual, listener->freeBuffers); in TEST_P()
1512 producer->setMaxDequeuedBufferCount(portDef.nBufferCountActual)); in TEST_P()
1517 new CodecProducerListener(portDef.nBufferCountActual + value, value); in TEST_P()
1526 portDef.nBufferCountActual = portDef.nBufferCountActual + value; in TEST_P()
1565 EXPECT_EQ(portDef.nBufferCountActual, listener->freeBuffers); in TEST_P()
/hardware/interfaces/media/omx/1.0/vts/functional/component/
DVtsHalMediaOmxV1_0TargetComponentTest.cpp339 EXPECT_GE(portDef.nBufferCountActual, portDef.nBufferCountMin); in TEST_P()
349 portDef.nBufferCountActual = portDef.nBufferCountMin - 1; in TEST_P()
381 portDef.nBufferCountActual += 1; in TEST_P()
387 EXPECT_EQ(portDef.nBufferCountActual, in TEST_P()
388 mirror.nBufferCountActual + 1); in TEST_P()
472 for (size_t i = 0; i < portDef.nBufferCountActual; i++) { in TEST_P()
777 for (size_t i = 0; i < def.nBufferCountActual; i++) { in TEST_P()
/hardware/qcom/media/msm8974/mm-core/omxcore/inc/
DOMX_Component.h66 OMX_U32 nBufferCountActual; /**< The actual number of buffers allocated on this port */ member
/hardware/qcom/media/msm8998/mm-core/inc/
DOMX_Component.h66 OMX_U32 nBufferCountActual; /**< The actual number of buffers allocated on this port */ member
/hardware/qcom/media/msm8974/mm-core/inc/
DOMX_Component.h66 OMX_U32 nBufferCountActual; /**< The actual number of buffers allocated on this port */ member
/hardware/qcom/sdm845/media/mm-core/inc/
DOMX_Component.h66 OMX_U32 nBufferCountActual; /**< The actual number of buffers allocated on this port */ member
/hardware/qcom/sm8150/media/mm-core/inc/
DOMX_Component.h66 OMX_U32 nBufferCountActual; /**< The actual number of buffers allocated on this port */ member

12