/hardware/interfaces/media/omx/1.0/vts/functional/component/ |
D | VtsHalMediaOmxV1_0TargetComponentTest.cpp | 385 OMX_U32 nBufferSize = portDef.nBufferSize >> 1; in TEST_F() local 386 if (nBufferSize != 0) { in TEST_F() 388 portDef.nBufferSize = nBufferSize; in TEST_F() 391 portDef.nBufferSize = ALIGN_POWER_OF_TWO(nBufferSize, 12); in TEST_F() 392 nBufferSize = portDef.nBufferSize; in TEST_F() 405 double dev = (portDef.nBufferSize / (double)nBufferSize); in TEST_F() 412 EXPECT_EQ(portDef.nBufferSize, mirror.nBufferSize); in TEST_F() 418 portDef.nBufferSize = mirror.nBufferSize << 1; in TEST_F() 421 EXPECT_EQ(portDef.nBufferSize, (mirror.nBufferSize << 1)); in TEST_F() 459 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/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/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/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/intel/common/wrs_omxil_core/base/src/ |
D | portbase.cpp | 203 if ((p->nBufferSize > temp.nBufferSize) && (temp.eDir == OMX_DirInput)) { in SetPortDefinition() 204 if (p->nBufferSize <= MAX_INPUT_PORT_SIZE) { in SetPortDefinition() 206 temp.nBufferSize = p->nBufferSize; in SetPortDefinition() 218 temp.nBufferSize = p->nBufferSize; in SetPortDefinition() 266 temp.nBufferSize = nFrameSize; in SetPortDefinition()
|
/hardware/interfaces/media/omx/1.0/vts/functional/common/ |
D | media_hidl_test_common.cpp | 77 if (portDef.nBufferSize < size) { in setPortBufferSize() 78 portDef.nBufferSize = size; in setPortBufferSize() 263 OMX_U32 nBufferSize, PortMode portMode) { in allocateBuffer() argument 270 portIndex, nBufferSize, in allocateBuffer() 290 nBufferSize = sizeof(android::VideoNativeMetadata); in allocateBuffer() 293 nBufferSize, in allocateBuffer() 300 ASSERT_EQ(buffer->omxBuffer.sharedMemory.size(), nBufferSize); in allocateBuffer() 357 portDef.nBufferSize, portMode)); in allocatePortBuffers()
|
/hardware/intel/common/omx-components/videocodec/ |
D | OMXVideoDecoderWMV.cpp | 44 paramPortDefinitionInput->nBufferSize = INPORT_BUFFER_SIZE; in InitInputPortFormatSpecific()
|
D | OMXVideoDecoderVP8.cpp | 44 paramPortDefinitionInput->nBufferSize = INPORT_BUFFER_SIZE; in InitInputPortFormatSpecific()
|
D | OMXVideoDecoderMPEG2.cpp | 44 paramPortDefinitionInput->nBufferSize = INPORT_BUFFER_SIZE; in InitInputPortFormatSpecific()
|
D | OMXVideoDecoderH263.cpp | 44 paramPortDefinitionInput->nBufferSize = INPORT_BUFFER_SIZE; in InitInputPortFormatSpecific()
|
D | OMXVideoDecoderMPEG4.cpp | 44 paramPortDefinitionInput->nBufferSize = INPORT_BUFFER_SIZE; in InitInputPortFormatSpecific()
|
D | OMXVideoDecoderPAVC.cpp | 46 paramPortDefinitionInput->nBufferSize = INPORT_BUFFER_SIZE; in InitInputPortFormatSpecific()
|
/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/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/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/msm8974/mm-core/inc/ |
D | QOMX_IVCommonExtensions.h | 381 …OMX_U32 nBufferSize; /**< Read-only parameter that specifies the minimum size of the … member
|