/hardware/interfaces/media/omx/1.0/vts/functional/component/ |
D | VtsHalMediaOmxV1_0TargetComponentTest.cpp | 399 OMX_U32 nBufferSize = portDef.nBufferSize >> 1; in TEST_F() local 400 if (nBufferSize != 0) { in TEST_F() 402 portDef.nBufferSize = nBufferSize; in TEST_F() 405 portDef.nBufferSize = ALIGN_POWER_OF_TWO(nBufferSize, 12); in TEST_F() 406 nBufferSize = portDef.nBufferSize; in TEST_F() 419 double dev = (portDef.nBufferSize / (double)nBufferSize); in TEST_F() 426 EXPECT_EQ(portDef.nBufferSize, mirror.nBufferSize); in TEST_F() 432 portDef.nBufferSize = mirror.nBufferSize << 1; in TEST_F() 435 EXPECT_EQ(portDef.nBufferSize, (mirror.nBufferSize << 1)); in TEST_F() 473 uint32_t nBufferSize = portDef.nBufferSize >> 1; in TEST_F() local [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | omx_swvenc_mpeg4.cpp | 302 &m_sInPortDef.nBufferSize, in component_init() 335 &m_sOutPortDef.nBufferSize, in component_init() 524 DEBUG_PRINT_LOW("i/p buffersize requested = %u", portDefn->nBufferSize); in set_parameter() 580 DEBUG_PRINT_LOW("i/p previous buffersize = %u", m_sInPortDef.nBufferSize); in set_parameter() 587 &m_sInPortDef.nBufferSize, in set_parameter() 601 if (portDefn->nBufferSize > m_sInPortDef.nBufferSize) in set_parameter() 603 m_sInPortDef.nBufferSize = portDefn->nBufferSize; in set_parameter() 608 DEBUG_PRINT_LOW("i/p new buffersize = %u", m_sInPortDef.nBufferSize); in set_parameter() 614 DEBUG_PRINT_LOW("o/p buffersize requested = %u", portDefn->nBufferSize); in set_parameter() 633 DEBUG_PRINT_LOW("o/p previous buffersize = %u", m_sOutPortDef.nBufferSize); in set_parameter() [all …]
|
D | omx_video_base.cpp | 1533 &m_sInPortDef.nBufferSize, in get_parameter() 1536 … (unsigned int)m_sInPortDef.nBufferSize, (unsigned int)m_sInPortDef.nBufferCountMin, in get_parameter() 1541 portDefn->nBufferSize = sizeof(encoder_media_buffer_type); in get_parameter() 1552 &m_sOutPortDef.nBufferSize, in get_parameter() 1556 … (unsigned int)m_sOutPortDef.nBufferSize, (unsigned int)m_sOutPortDef.nBufferCountMin, in get_parameter() 2494 if (bytes < m_sInPortDef.nBufferSize) { in use_input_buffer() 2496 … "bytes[%u] < Port.nBufferSize[%u]", (unsigned int)bytes, (unsigned int)m_sInPortDef.nBufferSize); in use_input_buffer() 2550 (*bufferHdr)->nAllocLen = m_sInPortDef.nBufferSize; in use_input_buffer() 2557 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer() 2562 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer() [all …]
|
D | omx_video_encoder.cpp | 389 &m_sInPortDef.nBufferSize, in component_init() 421 &m_sOutPortDef.nBufferSize, in component_init() 683 … DEBUG_PRINT_LOW("i/p buffersize requested = %u", (unsigned int)portDefn->nBufferSize); in set_parameter() 691 portDefn->nBufferSize != m_sInPortDef.nBufferSize)) { in set_parameter() 730 &m_sInPortDef.nBufferSize, in set_parameter() 736 &m_sOutPortDef.nBufferSize, in set_parameter() 742 … DEBUG_PRINT_LOW("o/p buffersize requested = %u", (unsigned int)portDefn->nBufferSize); in set_parameter() 751 portDefn->nBufferSize != m_sOutPortDef.nBufferSize)) { in set_parameter() 770 &m_sOutPortDef.nBufferSize, in set_parameter() 1258 &m_sOutPortDef.nBufferSize, in set_parameter() [all …]
|
D | omx_swvenc_hevc.cpp | 250 &m_sInPortDef.nBufferSize, in component_init() 272 &m_sOutPortDef.nBufferSize, in component_init() 425 DEBUG_PRINT_LOW("i/p buffersize requested = %u", portDefn->nBufferSize); in set_parameter() 456 &m_sInPortDef.nBufferSize, in set_parameter() 462 &m_sOutPortDef.nBufferSize, in set_parameter() 468 DEBUG_PRINT_LOW("o/p buffersize requested = %u", portDefn->nBufferSize); in set_parameter() 478 &m_sOutPortDef.nBufferSize, in set_parameter()
|
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/ |
D | omx_swvenc_mpeg4.cpp | 326 &m_sInPortDef.nBufferSize, in component_init() 359 &m_sOutPortDef.nBufferSize, in component_init() 568 DEBUG_PRINT_LOW("i/p buffersize requested = %u", portDefn->nBufferSize); in set_parameter() 627 DEBUG_PRINT_LOW("i/p previous buffersize = %u", m_sInPortDef.nBufferSize); in set_parameter() 634 &m_sInPortDef.nBufferSize, in set_parameter() 648 if (portDefn->nBufferSize > m_sInPortDef.nBufferSize) in set_parameter() 650 m_sInPortDef.nBufferSize = portDefn->nBufferSize; in set_parameter() 655 DEBUG_PRINT_LOW("i/p new buffersize = %u", m_sInPortDef.nBufferSize); in set_parameter() 675 DEBUG_PRINT_LOW("o/p buffersize requested = %u", portDefn->nBufferSize); in set_parameter() 694 DEBUG_PRINT_LOW("o/p previous buffersize = %u", m_sOutPortDef.nBufferSize); in set_parameter() [all …]
|
D | omx_video_encoder.cpp | 299 &m_sInPortDef.nBufferSize, in component_init() 331 &m_sOutPortDef.nBufferSize, in component_init() 574 portDefn->nBufferCountMin, portDefn->nBufferCountActual, portDefn->nBufferSize, in set_parameter() 585 portDefn->nBufferSize != m_sInPortDef.nBufferSize)) { in set_parameter() 591 portDefn->nBufferSize != m_sInPortDef.nBufferSize)) { in set_parameter() 621 &m_sInPortDef.nBufferSize, in set_parameter() 627 &m_sOutPortDef.nBufferSize, in set_parameter() 633 (unsigned int)portDefn->nBufferSize); in set_parameter() 635 portDefn->nBufferSize != m_client_out_extradata_info.getSize()) { in set_parameter() 637 portDefn->nBufferCountActual, portDefn->nBufferSize); in set_parameter() [all …]
|
D | omx_video_base.cpp | 1558 &m_sInPortDef.nBufferSize, in get_parameter() 1566 portDefn->nBufferSize = sizeof(LEGACY_CAM_METADATA_TYPE); in get_parameter() 1577 &m_sOutPortDef.nBufferSize, in get_parameter() 1597 portDefn->nBufferSize = in get_parameter() 1601 portDefn->nBufferSize = m_client_out_extradata_info.getSize(); in get_parameter() 1606 … (unsigned int)portDefn->nBufferSize, (unsigned int)portDefn->nBufferCountMin, in get_parameter() 1616 portDefn->nBufferCountActual, portDefn->nBufferSize, in get_parameter() 2579 if (bytes < m_sInPortDef.nBufferSize) { in use_input_buffer() 2581 … "bytes[%u] < Port.nBufferSize[%u]", (unsigned int)bytes, (unsigned int)m_sInPortDef.nBufferSize); in use_input_buffer() 2635 (*bufferHdr)->nAllocLen = m_sInPortDef.nBufferSize; in use_input_buffer() [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
D | omx_swvenc_mpeg4.cpp | 302 &m_sInPortDef.nBufferSize, in component_init() 335 &m_sOutPortDef.nBufferSize, in component_init() 522 DEBUG_PRINT_LOW("i/p buffersize requested = %u", portDefn->nBufferSize); in set_parameter() 578 DEBUG_PRINT_LOW("i/p previous buffersize = %u", m_sInPortDef.nBufferSize); in set_parameter() 585 &m_sInPortDef.nBufferSize, in set_parameter() 599 if (portDefn->nBufferSize > m_sInPortDef.nBufferSize) in set_parameter() 601 m_sInPortDef.nBufferSize = portDefn->nBufferSize; in set_parameter() 606 DEBUG_PRINT_LOW("i/p new buffersize = %u", m_sInPortDef.nBufferSize); in set_parameter() 612 DEBUG_PRINT_LOW("o/p buffersize requested = %u", portDefn->nBufferSize); in set_parameter() 631 DEBUG_PRINT_LOW("o/p previous buffersize = %u", m_sOutPortDef.nBufferSize); in set_parameter() [all …]
|
D | omx_video_base.cpp | 1548 &m_sInPortDef.nBufferSize, in get_parameter() 1551 … (unsigned int)m_sInPortDef.nBufferSize, (unsigned int)m_sInPortDef.nBufferCountMin, in get_parameter() 1558 portDefn->nBufferSize = sizeof(LEGACY_CAM_METADATA_TYPE); in get_parameter() 1569 &m_sOutPortDef.nBufferSize, in get_parameter() 1573 … (unsigned int)m_sOutPortDef.nBufferSize, (unsigned int)m_sOutPortDef.nBufferCountMin, in get_parameter() 1578 portDefn->nBufferSize = in get_parameter() 2581 if (bytes < m_sInPortDef.nBufferSize) { in use_input_buffer() 2583 … "bytes[%u] < Port.nBufferSize[%u]", (unsigned int)bytes, (unsigned int)m_sInPortDef.nBufferSize); in use_input_buffer() 2637 (*bufferHdr)->nAllocLen = m_sInPortDef.nBufferSize; in use_input_buffer() 2644 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer() [all …]
|
D | omx_video_encoder.cpp | 403 &m_sInPortDef.nBufferSize, in component_init() 435 &m_sOutPortDef.nBufferSize, in component_init() 723 … DEBUG_PRINT_LOW("i/p buffersize requested = %u", (unsigned int)portDefn->nBufferSize); in set_parameter() 731 portDefn->nBufferSize != m_sInPortDef.nBufferSize)) { in set_parameter() 770 &m_sInPortDef.nBufferSize, in set_parameter() 776 &m_sOutPortDef.nBufferSize, in set_parameter() 782 … DEBUG_PRINT_LOW("o/p buffersize requested = %u", (unsigned int)portDefn->nBufferSize); in set_parameter() 791 portDefn->nBufferSize != m_sOutPortDef.nBufferSize)) { in set_parameter() 810 &m_sOutPortDef.nBufferSize, in set_parameter() 898 &m_sInPortDef.nBufferSize, in set_parameter() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_swvdec.cpp | 2036 m_port_op.def.nBufferSize, in fill_this_buffer() 2047 m_port_op.def.nBufferSize); in fill_this_buffer() 2055 p_buffer_payload->buffer_len = m_port_op.def.nBufferSize; in fill_this_buffer() 2056 p_buffer_payload->mmaped_size = m_port_op.def.nBufferSize; in fill_this_buffer() 2059 p_buffer_swvdec->size = m_port_op.def.nBufferSize; in fill_this_buffer() 2589 p_port_def->nBufferSize = m_port_ip.def.nBufferSize; in get_port_definition() 2598 p_port_def->nBufferSize); in get_port_definition() 2673 p_port_def->nBufferSize = m_port_op.def.nBufferSize; in get_port_definition() 2682 p_port_def->nBufferSize); in get_port_definition() 2714 p_port_def->nBufferSize); in set_port_definition() [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
D | omx_swvdec.cpp | 2201 m_port_op.def.nBufferSize, in fill_this_buffer() 2212 m_port_op.def.nBufferSize); in fill_this_buffer() 2222 p_buffer_payload->buffer_len = m_port_op.def.nBufferSize; in fill_this_buffer() 2223 p_buffer_payload->mmaped_size = m_port_op.def.nBufferSize; in fill_this_buffer() 2226 p_buffer_swvdec->size = m_port_op.def.nBufferSize; in fill_this_buffer() 2838 p_port_def->nBufferSize = m_port_ip.def.nBufferSize; in get_port_definition() 2847 p_port_def->nBufferSize); in get_port_definition() 2914 p_port_def->nBufferSize = m_port_op.def.nBufferSize; in get_port_definition() 2923 p_port_def->nBufferSize); in get_port_definition() 2978 p_port_def->nBufferSize); in set_port_definition() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_base.cpp | 1457 &m_sInPortDef.nBufferSize, in get_parameter() 1460 … (unsigned int)m_sInPortDef.nBufferSize, (unsigned int)m_sInPortDef.nBufferCountMin, in get_parameter() 1465 portDefn->nBufferSize = sizeof(encoder_media_buffer_type); in get_parameter() 1476 &m_sOutPortDef.nBufferSize, in get_parameter() 1480 … (unsigned int)m_sOutPortDef.nBufferSize, (unsigned int)m_sOutPortDef.nBufferCountMin, in get_parameter() 2196 if (bytes != m_sInPortDef.nBufferSize) { in use_input_buffer() 2198 … "bytes[%u] != Port.nBufferSize[%u]", (unsigned int)bytes, (unsigned int)m_sInPortDef.nBufferSize); in use_input_buffer() 2251 (*bufferHdr)->nAllocLen = m_sInPortDef.nBufferSize; in use_input_buffer() 2258 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer() 2262 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer() [all …]
|
D | omx_video_encoder.cpp | 310 &m_sInPortDef.nBufferSize, in component_init() 342 &m_sOutPortDef.nBufferSize, in component_init() 607 … DEBUG_PRINT_LOW("i/p buffersize requested = %u", (unsigned int)portDefn->nBufferSize); in set_parameter() 615 portDefn->nBufferSize != m_sInPortDef.nBufferSize)) { in set_parameter() 654 &m_sInPortDef.nBufferSize, in set_parameter() 660 &m_sOutPortDef.nBufferSize, in set_parameter() 666 … DEBUG_PRINT_LOW("o/p buffersize requested = %u", (unsigned int)portDefn->nBufferSize); in set_parameter() 675 portDefn->nBufferSize != m_sOutPortDef.nBufferSize)) { in set_parameter() 693 &m_sOutPortDef.nBufferSize, in set_parameter() 1208 &m_sOutPortDef.nBufferSize, in set_parameter() [all …]
|
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_swvdec.cpp | 2221 m_port_op.def.nBufferSize, in fill_this_buffer() 2232 m_port_op.def.nBufferSize); in fill_this_buffer() 2242 p_buffer_payload->buffer_len = m_port_op.def.nBufferSize; in fill_this_buffer() 2243 p_buffer_payload->mmaped_size = m_port_op.def.nBufferSize; in fill_this_buffer() 2246 p_buffer_swvdec->size = m_port_op.def.nBufferSize; in fill_this_buffer() 2856 p_port_def->nBufferSize = m_port_ip.def.nBufferSize; in get_port_definition() 2874 p_port_def->nBufferSize, in get_port_definition() 2941 p_port_def->nBufferSize = m_port_op.def.nBufferSize; in get_port_definition() 2950 p_port_def->nBufferSize); in get_port_definition() 3005 p_port_def->nBufferSize); in set_port_definition() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
D | omx_video_base.cpp | 1532 m_sInPortDef.nBufferSize, m_sInPortDef.nBufferCountMin, in get_parameter() 1538 portDefn->nBufferSize = sizeof(encoder_media_buffer_type); in get_parameter() 1554 &m_sOutPortDef.nBufferSize, in get_parameter() 1557 m_sOutPortDef.nBufferSize, m_sOutPortDef.nBufferCountMin, in get_parameter() 2064 if(bytes != m_sInPortDef.nBufferSize || secure_session) in use_input_buffer() 2067 "bytes[%d] != Port.nBufferSize[%d]", bytes, m_sInPortDef.nBufferSize); in use_input_buffer() 2127 (*bufferHdr)->nAllocLen = m_sInPortDef.nBufferSize; in use_input_buffer() 2134 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer() 2155 m_pInput_pmem[i].size = m_sInPortDef.nBufferSize; in use_input_buffer() 2179 m_pInput_pmem[i].size = m_sInPortDef.nBufferSize; in use_input_buffer() [all …]
|
D | omx_video_encoder.cpp | 263 &m_sInPortDef.nBufferSize, in component_init() 296 &m_sOutPortDef.nBufferSize, in component_init() 522 DEBUG_PRINT_LOW("\n i/p buffersize requested = %d\n", portDefn->nBufferSize); in set_parameter() 556 &m_sInPortDef.nBufferSize, in set_parameter() 562 &m_sOutPortDef.nBufferSize, in set_parameter() 570 DEBUG_PRINT_LOW("\n o/p buffersize requested = %d\n", portDefn->nBufferSize); in set_parameter() 1019 &m_sOutPortDef.nBufferSize, in set_parameter() 1057 &m_sOutPortDef.nBufferSize, in set_parameter() 1063 m_sOutPortDef.nBufferSize); in set_parameter()
|
/hardware/interfaces/media/omx/1.0/vts/functional/common/ |
D | media_hidl_test_common.cpp | 82 if (portDef.nBufferSize < size) { in setPortBufferSize() 83 portDef.nBufferSize = size; in setPortBufferSize() 305 OMX_U32 nBufferSize, PortMode portMode) { in allocateBuffer() argument 312 portIndex, nBufferSize, in allocateBuffer() 332 nBufferSize = sizeof(android::VideoNativeMetadata); in allocateBuffer() 335 nBufferSize, in allocateBuffer() 342 ASSERT_EQ(buffer->omxBuffer.sharedMemory.size(), nBufferSize); in allocateBuffer() 399 portDef.nBufferSize, portMode)); in allocatePortBuffers()
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 1864 DEBUG_PRINT("\nDec: Buffer Size %d\n", portFmt.nBufferSize); in Play_Decoder() 1978 portFmt.nBufferCountActual, portFmt.nBufferSize); in Play_Decoder() 1993 portFmt.nBufferSize, in Play_Decoder() 2008 DEBUG_PRINT("nBuffer Size=%d", portFmt.nBufferSize); in Play_Decoder() 2021 portFmt.nBufferSize, in Play_Decoder() 2028 portFmt.nBufferCountActual, portFmt.nBufferSize); in Play_Decoder() 2044 portFmt.nBufferSize, in Play_Decoder() 3682 portFmt.nBufferSize, in enable_output_port() 3688 portFmt.nBufferCountActual, portFmt.nBufferSize); in enable_output_port() 3703 portFmt.nBufferSize, in enable_output_port() [all …]
|
/hardware/qcom/sdm845/media/mm-core/inc/ |
D | QOMX_IVCommonExtensions.h | 381 …OMX_U32 nBufferSize; /**< Read-only parameter that specifies the minimum size of the … member
|
/hardware/qcom/media/msm8996/mm-core/inc/ |
D | QOMX_IVCommonExtensions.h | 381 …OMX_U32 nBufferSize; /**< Read-only parameter that specifies the minimum size of the … member
|
/hardware/qcom/media/msm8998/mm-core/inc/ |
D | QOMX_IVCommonExtensions.h | 381 …OMX_U32 nBufferSize; /**< Read-only parameter that specifies the minimum size of the … member
|
/hardware/qcom/media/msm8974/mm-core/inc/ |
D | QOMX_IVCommonExtensions.h | 381 …OMX_U32 nBufferSize; /**< Read-only parameter that specifies the minimum size of the … member
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 2096 DEBUG_PRINT("\nDec: Buffer Size %d\n", portFmt.nBufferSize); in Play_Decoder() 2242 portFmt.nBufferCountActual, portFmt.nBufferSize); in Play_Decoder() 2256 portFmt.nBufferSize, in Play_Decoder() 2270 DEBUG_PRINT("nBuffer Size=%d", portFmt.nBufferSize); in Play_Decoder() 2296 portFmt.nBufferSize, in Play_Decoder() 2301 portFmt.nBufferCountActual, portFmt.nBufferSize); in Play_Decoder() 2315 portFmt.nBufferSize, in Play_Decoder() 4151 portFmt.nBufferSize, in enable_output_port() 4155 portFmt.nBufferCountActual, portFmt.nBufferSize); in enable_output_port() 4168 portFmt.nBufferSize, in enable_output_port() [all …]
|