Home
last modified time | relevance | path

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

123

/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/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/sdm845/media/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp298 &m_sInPortDef.nBufferCountActual, in component_init()
330 &m_sOutPortDef.nBufferCountActual, in component_init()
574 portDefn->nBufferCountMin, portDefn->nBufferCountActual, portDefn->nBufferSize, in set_parameter()
578 if (portDefn->nBufferCountActual > MAX_NUM_INPUT_BUFFERS) { in set_parameter()
580 … (unsigned int)portDefn->nBufferCountActual, (unsigned int)MAX_NUM_INPUT_BUFFERS); in set_parameter()
584 (portDefn->nBufferCountActual != m_sInPortDef.nBufferCountActual || in set_parameter()
590 (portDefn->nBufferCountActual != m_sInPortDef.nBufferCountActual || in set_parameter()
595 if (portDefn->nBufferCountMin > portDefn->nBufferCountActual) { in set_parameter()
597 … (unsigned int)portDefn->nBufferCountMin, (unsigned int)portDefn->nBufferCountActual); in set_parameter()
620 &m_sInPortDef.nBufferCountActual, in set_parameter()
[all …]
Domx_video_base.cpp1557 &m_sInPortDef.nBufferCountActual, in get_parameter()
1576 &m_sOutPortDef.nBufferCountActual, in get_parameter()
1603 portDefn->nBufferCountActual = m_client_out_extradata_info.getBufferCount(); in get_parameter()
1607 (unsigned int)portDefn->nBufferCountActual); in get_parameter()
1616 portDefn->nBufferCountActual, portDefn->nBufferSize, in get_parameter()
2588 calloc( (sizeof(OMX_BUFFERHEADERTYPE)), m_sInPortDef.nBufferCountActual); in use_input_buffer()
2596 … m_pInput_pmem = (struct pmem *) calloc(sizeof (struct pmem), m_sInPortDef.nBufferCountActual); in use_input_buffer()
2602 …pInput_ion = (struct venc_ion *) calloc(sizeof (struct venc_ion), m_sInPortDef.nBufferCountActual); in use_input_buffer()
2609 for (i=0; i< m_sInPortDef.nBufferCountActual; i++) { in use_input_buffer()
2620 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_base.cpp1456 &m_sInPortDef.nBufferCountActual, in get_parameter()
1461 (unsigned int)m_sInPortDef.nBufferCountActual); in get_parameter()
1475 &m_sOutPortDef.nBufferCountActual, in get_parameter()
1481 (unsigned int)m_sOutPortDef.nBufferCountActual); in get_parameter()
2205 calloc( (sizeof(OMX_BUFFERHEADERTYPE)), m_sInPortDef.nBufferCountActual); in use_input_buffer()
2213 … m_pInput_pmem = (struct pmem *) calloc(sizeof (struct pmem), m_sInPortDef.nBufferCountActual); in use_input_buffer()
2219 …pInput_ion = (struct venc_ion *) calloc(sizeof (struct venc_ion), m_sInPortDef.nBufferCountActual); in use_input_buffer()
2226 for (i=0; i< m_sInPortDef.nBufferCountActual; i++) { in use_input_buffer()
2237 for (i=0; i< m_sInPortDef.nBufferCountActual; i++) { in use_input_buffer()
2243 if (i < m_sInPortDef.nBufferCountActual) { in use_input_buffer()
[all …]
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_base.cpp1532 &m_sInPortDef.nBufferCountActual, in get_parameter()
1537 (unsigned int)m_sInPortDef.nBufferCountActual); in get_parameter()
1551 &m_sOutPortDef.nBufferCountActual, in get_parameter()
1557 (unsigned int)m_sOutPortDef.nBufferCountActual); in get_parameter()
2503 calloc( (sizeof(OMX_BUFFERHEADERTYPE)), m_sInPortDef.nBufferCountActual); in use_input_buffer()
2511 … m_pInput_pmem = (struct pmem *) calloc(sizeof (struct pmem), m_sInPortDef.nBufferCountActual); in use_input_buffer()
2517 …pInput_ion = (struct venc_ion *) calloc(sizeof (struct venc_ion), m_sInPortDef.nBufferCountActual); in use_input_buffer()
2524 for (i=0; i< m_sInPortDef.nBufferCountActual; i++) { in use_input_buffer()
2535 for (i=0; i< m_sInPortDef.nBufferCountActual; i++) { in use_input_buffer()
2541 if (i < m_sInPortDef.nBufferCountActual) { in use_input_buffer()
[all …]
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 …]
Domx_video_base.cpp1547 &m_sInPortDef.nBufferCountActual, in get_parameter()
1552 (unsigned int)m_sInPortDef.nBufferCountActual); in get_parameter()
1568 &m_sOutPortDef.nBufferCountActual, in get_parameter()
1574 (unsigned int)m_sOutPortDef.nBufferCountActual); in get_parameter()
2590 calloc( (sizeof(OMX_BUFFERHEADERTYPE)), m_sInPortDef.nBufferCountActual); in use_input_buffer()
2598 … m_pInput_pmem = (struct pmem *) calloc(sizeof (struct pmem), m_sInPortDef.nBufferCountActual); in use_input_buffer()
2604 …pInput_ion = (struct venc_ion *) calloc(sizeof (struct venc_ion), m_sInPortDef.nBufferCountActual); in use_input_buffer()
2611 for (i=0; i< m_sInPortDef.nBufferCountActual; i++) { in use_input_buffer()
2622 for (i=0; i< m_sInPortDef.nBufferCountActual; i++) { in use_input_buffer()
2628 if (i < m_sInPortDef.nBufferCountActual) { in use_input_buffer()
[all …]
Domx_swvenc_mpeg4.cpp301 &m_sInPortDef.nBufferCountActual, in component_init()
334 &m_sOutPortDef.nBufferCountActual, in component_init()
520 DEBUG_PRINT_LOW("i/p actual cnt requested = %u", portDefn->nBufferCountActual); in set_parameter()
523 if (portDefn->nBufferCountMin > portDefn->nBufferCountActual) in set_parameter()
526 portDefn->nBufferCountMin, portDefn->nBufferCountActual); in set_parameter()
576 DEBUG_PRINT_LOW("i/p previous actual cnt = %u", m_sInPortDef.nBufferCountActual); in set_parameter()
584 &m_sInPortDef.nBufferCountActual, in set_parameter()
595 if (portDefn->nBufferCountActual > m_sInPortDef.nBufferCountActual) in set_parameter()
597 m_sInPortDef.nBufferCountActual = portDefn->nBufferCountActual; in set_parameter()
604 DEBUG_PRINT_LOW("i/p new actual cnt = %u", 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.cpp396 for (size_t i = 0; i < portDef.nBufferCountActual; i++) { in allocatePortBuffers()
440 if (portDefInput.nBufferCountActual || portDefOutput.nBufferCountActual) { in changeStateLoadedtoIdle()
450 if (portDefOutput.nBufferCountActual) { in changeStateLoadedtoIdle()
494 if (portDefInput.nBufferCountActual || portDefOutput.nBufferCountActual) { in changeStateIdletoLoaded()
505 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.cpp1351 producer->setMaxDequeuedBufferCount(portDef.nBufferCountActual)); in TEST_F()
1356 new CodecProducerListener(portDef.nBufferCountActual + value, value); in TEST_F()
1365 portDef.nBufferCountActual = portDef.nBufferCountActual + value; in TEST_F()
1451 EXPECT_EQ(portDef.nBufferCountActual, listener->freeBuffers); in TEST_F()
1513 producer->setMaxDequeuedBufferCount(portDef.nBufferCountActual)); in TEST_F()
1518 new CodecProducerListener(portDef.nBufferCountActual + value, value); in TEST_F()
1527 portDef.nBufferCountActual = portDef.nBufferCountActual + value; in TEST_F()
1566 EXPECT_EQ(portDef.nBufferCountActual, listener->freeBuffers); in TEST_F()
/hardware/interfaces/media/omx/1.0/vts/functional/component/
DVtsHalMediaOmxV1_0TargetComponentTest.cpp342 EXPECT_GE(portDef.nBufferCountActual, portDef.nBufferCountMin); in TEST_F()
352 portDef.nBufferCountActual = portDef.nBufferCountMin - 1; in TEST_F()
384 portDef.nBufferCountActual += 1; in TEST_F()
390 EXPECT_EQ(portDef.nBufferCountActual, in TEST_F()
391 mirror.nBufferCountActual + 1); in TEST_F()
475 for (size_t i = 0; i < portDef.nBufferCountActual; i++) { in TEST_F()
780 for (size_t i = 0; i < def.nBufferCountActual; i++) { in TEST_F()
/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/media/msm8996/mm-core/inc/
DOMX_Component.h66 OMX_U32 nBufferCountActual; /**< The actual number of buffers allocated on this port */ member

123