/hardware/interfaces/media/omx/1.0/vts/functional/component/ |
D | VtsHalMediaOmxV1_0TargetComponentTest.cpp | 396 OMX_U32 nBufferSize = portDef.nBufferSize >> 1; in TEST_P() local 397 if (nBufferSize != 0) { in TEST_P() 399 portDef.nBufferSize = nBufferSize; in TEST_P() 402 portDef.nBufferSize = ALIGN_POWER_OF_TWO(nBufferSize, 12); in TEST_P() 403 nBufferSize = portDef.nBufferSize; in TEST_P() 416 double dev = (portDef.nBufferSize / (double)nBufferSize); in TEST_P() 423 EXPECT_EQ(portDef.nBufferSize, mirror.nBufferSize); in TEST_P() 429 portDef.nBufferSize = mirror.nBufferSize << 1; in TEST_P() 432 EXPECT_EQ(portDef.nBufferSize, (mirror.nBufferSize << 1)); in TEST_P() 470 uint32_t nBufferSize = portDef.nBufferSize >> 1; in TEST_P() 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 | 1532 &m_sInPortDef.nBufferSize, in get_parameter() 1535 … (unsigned int)m_sInPortDef.nBufferSize, (unsigned int)m_sInPortDef.nBufferCountMin, in get_parameter() 1540 portDefn->nBufferSize = sizeof(encoder_media_buffer_type); in get_parameter() 1551 &m_sOutPortDef.nBufferSize, in get_parameter() 1555 … (unsigned int)m_sOutPortDef.nBufferSize, (unsigned int)m_sOutPortDef.nBufferCountMin, in get_parameter() 2493 if (bytes < m_sInPortDef.nBufferSize) { in use_input_buffer() 2495 … "bytes[%u] < Port.nBufferSize[%u]", (unsigned int)bytes, (unsigned int)m_sInPortDef.nBufferSize); in use_input_buffer() 2549 (*bufferHdr)->nAllocLen = m_sInPortDef.nBufferSize; in use_input_buffer() 2556 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer() 2561 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/sm8150/media/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_encoder.cpp | 427 &m_sInPortDef.nBufferSize, in component_init() 459 &m_sOutPortDef.nBufferSize, in component_init() 707 portDefn->nBufferCountMin, portDefn->nBufferCountActual, portDefn->nBufferSize, in set_parameter() 718 portDefn->nBufferSize != m_sInPortDef.nBufferSize)) { in set_parameter() 724 portDefn->nBufferSize != m_sInPortDef.nBufferSize)) { in set_parameter() 754 &m_sInPortDef.nBufferSize, in set_parameter() 760 &m_sOutPortDef.nBufferSize, in set_parameter() 766 (unsigned int)portDefn->nBufferSize); in set_parameter() 768 portDefn->nBufferSize != m_client_out_extradata_info.getSize()) { in set_parameter() 770 portDefn->nBufferCountActual, portDefn->nBufferSize); in set_parameter() [all …]
|
D | omx_swvenc_mpeg4.cpp | 327 &m_sInPortDef.nBufferSize, in component_init() 360 &m_sOutPortDef.nBufferSize, in component_init() 547 DEBUG_PRINT_LOW("i/p buffersize requested = %u", portDefn->nBufferSize); in set_parameter() 611 DEBUG_PRINT_LOW("i/p previous buffersize = %u", m_sInPortDef.nBufferSize); in set_parameter() 618 &m_sInPortDef.nBufferSize, in set_parameter() 632 if (portDefn->nBufferSize > m_sInPortDef.nBufferSize) in set_parameter() 634 m_sInPortDef.nBufferSize = portDefn->nBufferSize; in set_parameter() 639 DEBUG_PRINT_LOW("i/p new buffersize = %u", m_sInPortDef.nBufferSize); in set_parameter() 659 DEBUG_PRINT_LOW("o/p buffersize requested = %u", portDefn->nBufferSize); in set_parameter() 678 DEBUG_PRINT_LOW("o/p previous buffersize = %u", m_sOutPortDef.nBufferSize); in set_parameter() [all …]
|
D | omx_video_base.cpp | 1576 &m_sInPortDef.nBufferSize, in get_parameter() 1584 portDefn->nBufferSize = sizeof(LEGACY_CAM_METADATA_TYPE); in get_parameter() 1595 &m_sOutPortDef.nBufferSize, in get_parameter() 1615 portDefn->nBufferSize = in get_parameter() 1619 portDefn->nBufferSize = m_client_out_extradata_info.getSize(); in get_parameter() 1624 … (unsigned int)portDefn->nBufferSize, (unsigned int)portDefn->nBufferCountMin, in get_parameter() 1627 portDefn->nBufferSize = m_client_in_extradata_info.getSize(); in get_parameter() 1632 … (unsigned int)portDefn->nBufferSize, (unsigned int)portDefn->nBufferCountMin, in get_parameter() 1642 portDefn->nBufferCountActual, portDefn->nBufferSize, in get_parameter() 2669 if (bytes < m_sInPortDef.nBufferSize) { in use_input_buffer() [all …]
|
/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/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_swvdec.cpp | 2867 p_port_def->nBufferSize = m_port_ip.def.nBufferSize; in get_port_definition() 2885 p_port_def->nBufferSize, in get_port_definition() 2952 p_port_def->nBufferSize = m_port_op.def.nBufferSize; in get_port_definition() 2961 p_port_def->nBufferSize); in get_port_definition() 3016 p_port_def->nBufferSize); in set_port_definition() 3022 m_port_ip.def.nBufferSize = p_port_def->nBufferSize; in set_port_definition() 3075 m_port_op.def.nBufferSize = m_frame_attributes.size; in set_port_definition() 3538 m_port_ip.def.nBufferSize = p_buffer_req->size; in get_buffer_requirements_swvdec() 3545 m_port_ip.def.nBufferSize, in get_buffer_requirements_swvdec() 3567 m_port_op.def.nBufferSize = p_buffer_req->size; in get_buffer_requirements_swvdec() [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/common/ |
D | media_hidl_test_common.cpp | 81 if (portDef.nBufferSize < size) { in setPortBufferSize() 82 portDef.nBufferSize = size; in setPortBufferSize() 304 OMX_U32 nBufferSize, PortMode portMode) { in allocateBuffer() argument 311 portIndex, nBufferSize, in allocateBuffer() 331 nBufferSize = sizeof(android::VideoNativeMetadata); in allocateBuffer() 334 nBufferSize, in allocateBuffer() 341 ASSERT_EQ(buffer->omxBuffer.sharedMemory.size(), nBufferSize); in allocateBuffer() 398 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/media/msm8996/mm-core/inc/ |
D | QOMX_IVCommonExtensions.h | 381 …OMX_U32 nBufferSize; /**< Read-only parameter that specifies the minimum size of the … member
|