/hardware/interfaces/media/omx/1.0/vts/functional/video/ |
D | VtsHalMediaOmxV1_0TargetVideoEncTest.cpp | 481 OMX_PARAM_PORTDEFINITIONTYPE portDef; in setRefreshPeriod() local 483 &portDef); in setRefreshPeriod() 486 ((portDef.format.video.nFrameWidth + 15) >> in setRefreshPeriod() 487 4 * (portDef.format.video.nFrameHeight + 15) >> 4) / in setRefreshPeriod() 524 OMX_PARAM_PORTDEFINITIONTYPE portDef; in setDefaultPortParam() local 526 &portDef); in setDefaultPortParam() 528 portDef.format.video.nFrameWidth = nFrameWidth; in setDefaultPortParam() 529 portDef.format.video.nFrameHeight = nFrameHeight; in setDefaultPortParam() 530 portDef.format.video.nBitrate = nBitrate; in setDefaultPortParam() 531 portDef.format.video.xFramerate = xFramerate; in setDefaultPortParam() [all …]
|
D | media_video_hidl_test_common.cpp | 84 OMX_PARAM_PORTDEFINITIONTYPE portDef; in setupRAWPort() local 86 &portDef); in setupRAWPort() 88 portDef.format.video.nFrameWidth = nFrameWidth; in setupRAWPort() 89 portDef.format.video.nFrameHeight = nFrameHeight; in setupRAWPort() 90 portDef.format.video.nStride = (((nFrameWidth + 15) >> 4) << 4); in setupRAWPort() 91 portDef.format.video.nSliceHeight = (((nFrameHeight + 15) >> 4) << 4); in setupRAWPort() 92 portDef.format.video.nBitrate = nBitrate; in setupRAWPort() 93 portDef.format.video.xFramerate = xFramerate; in setupRAWPort() 94 portDef.format.video.bFlagErrorConcealment = OMX_TRUE; in setupRAWPort() 95 portDef.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused; in setupRAWPort() [all …]
|
D | VtsHalMediaOmxV1_0TargetVideoDecTest.cpp | 308 OMX_PARAM_PORTDEFINITIONTYPE portDef; in getInputChannelInfo() local 310 kPortIndexInput, &portDef); in getInputChannelInfo() 313 *nFrameWidth = portDef.format.video.nFrameWidth; in getInputChannelInfo() 314 *nFrameHeight = portDef.format.video.nFrameHeight; in getInputChannelInfo() 315 *xFramerate = portDef.format.video.xFramerate; in getInputChannelInfo() 433 OMX_PARAM_PORTDEFINITIONTYPE portDef; in portReconfiguration() local 435 kPortIndexOutput, &portDef); in portReconfiguration() 438 portDef.format.video.eColorFormat, in portReconfiguration()
|
/hardware/interfaces/media/omx/1.0/vts/functional/component/ |
D | VtsHalMediaOmxV1_0TargetComponentTest.cpp | 333 OMX_PARAM_PORTDEFINITIONTYPE portDef; in TEST_F() local 335 getPortParam(omxNode, OMX_IndexParamPortDefinition, i, &portDef); in TEST_F() 338 EXPECT_EQ(portDef.eDir, i - kPortIndexInput); // OMX_DirInput in TEST_F() 339 EXPECT_EQ(portDef.bEnabled, OMX_TRUE); in TEST_F() 340 EXPECT_EQ(portDef.bPopulated, OMX_FALSE); in TEST_F() 341 EXPECT_GE(portDef.nBufferCountMin, 1U); in TEST_F() 342 EXPECT_GE(portDef.nBufferCountActual, portDef.nBufferCountMin); in TEST_F() 344 EXPECT_EQ(portDef.eDomain, OMX_PortDomainAudio); in TEST_F() 347 EXPECT_EQ(portDef.eDomain, OMX_PortDomainVideo); in TEST_F() 349 OMX_PARAM_PORTDEFINITIONTYPE mirror = portDef; in TEST_F() [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/common/ |
D | media_hidl_test_common.cpp | 76 OMX_PARAM_PORTDEFINITIONTYPE portDef; in setPortBufferSize() local 79 &portDef); in setPortBufferSize() 82 if (portDef.nBufferSize < size) { in setPortBufferSize() 83 portDef.nBufferSize = size; in setPortBufferSize() 85 &portDef); in setPortBufferSize() 361 OMX_PARAM_PORTDEFINITIONTYPE portDef; in allocateBuffer() local 363 &portDef); in allocateBuffer() 369 omxNode, portIndex, buffer, portDef.format.video.nFrameWidth, in allocateBuffer() 370 portDef.format.video.nFrameHeight, &nStride, in allocateBuffer() 371 portDef.format.video.eColorFormat)); in allocateBuffer() [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/audio/ |
D | VtsHalMediaOmxV1_0TargetAudioEncTest.cpp | 214 OMX_PARAM_PORTDEFINITIONTYPE portDef; in setDefaultPortParam() local 216 &portDef); in setDefaultPortParam() 219 portDef.format.audio.bFlagErrorConcealment = OMX_TRUE; in setDefaultPortParam() 220 portDef.format.audio.eEncoding = eEncoding; in setDefaultPortParam() 222 &portDef); in setDefaultPortParam()
|
D | VtsHalMediaOmxV1_0TargetAudioDecTest.cpp | 280 OMX_PARAM_PORTDEFINITIONTYPE portDef; in setDefaultPortParam() local 282 &portDef); in setDefaultPortParam() 285 portDef.format.audio.bFlagErrorConcealment = OMX_TRUE; in setDefaultPortParam() 286 portDef.format.audio.eEncoding = eEncoding; in setDefaultPortParam() 288 &portDef); in setDefaultPortParam()
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/ |
D | venc_test.cpp | 2016 OMX_PARAM_PORTDEFINITIONTYPE portDef; in main() local 2018 portDef.nPortIndex = 0; in main() 2019 result = OMX_GetParameter(m_hHandle, OMX_IndexParamPortDefinition, &portDef); in main() 2023 num_in_buffers = portDef.nBufferCountActual; in main() 2024 for (i = 0; i < portDef.nBufferCountActual; i++) in main() 2050 OMX_PARAM_PORTDEFINITIONTYPE portDef; in main() local 2052 portDef.nPortIndex = 1; in main() 2053 result = OMX_GetParameter(m_hHandle, OMX_IndexParamPortDefinition, &portDef); in main() 2058 num_out_buffers = portDef.nBufferCountActual; in main() 2059 for (i = 0; i < portDef.nBufferCountActual; i++) in main() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/test/ |
D | venc_test.cpp | 2030 OMX_PARAM_PORTDEFINITIONTYPE portDef; in main() local 2032 portDef.nPortIndex = 0; in main() 2033 result = OMX_GetParameter(m_hHandle, OMX_IndexParamPortDefinition, &portDef); in main() 2037 num_in_buffers = portDef.nBufferCountActual; in main() 2039 for (i = 0; i < portDef.nBufferCountActual; i++) { in main() 2062 OMX_PARAM_PORTDEFINITIONTYPE portDef; in main() local 2064 portDef.nPortIndex = 1; in main() 2065 result = OMX_GetParameter(m_hHandle, OMX_IndexParamPortDefinition, &portDef); in main() 2069 num_out_buffers = portDef.nBufferCountActual; in main() 2071 for (i = 0; i < portDef.nBufferCountActual; i++) { in main() [all …]
|