/hardware/interfaces/media/omx/1.0/vts/functional/video/ |
D | VtsHalMediaOmxV1_0TargetVideoEncTest.cpp | 423 OMX_PARAM_PORTDEFINITIONTYPE portDef; in setRefreshPeriod() local 425 &portDef); in setRefreshPeriod() 428 ((portDef.format.video.nFrameWidth + 15) >> in setRefreshPeriod() 429 4 * (portDef.format.video.nFrameHeight + 15) >> 4) / in setRefreshPeriod() 466 OMX_PARAM_PORTDEFINITIONTYPE portDef; in setDefaultPortParam() local 468 &portDef); in setDefaultPortParam() 470 portDef.format.video.nFrameWidth = nFrameWidth; in setDefaultPortParam() 471 portDef.format.video.nFrameHeight = nFrameHeight; in setDefaultPortParam() 472 portDef.format.video.nBitrate = nBitrate; in setDefaultPortParam() 473 portDef.format.video.xFramerate = xFramerate; in setDefaultPortParam() [all …]
|
D | media_video_hidl_test_common.cpp | 83 OMX_PARAM_PORTDEFINITIONTYPE portDef; in setupRAWPort() local 85 &portDef); in setupRAWPort() 87 portDef.format.video.nFrameWidth = nFrameWidth; in setupRAWPort() 88 portDef.format.video.nFrameHeight = nFrameHeight; in setupRAWPort() 89 portDef.format.video.nStride = (((nFrameWidth + 15) >> 4) << 4); in setupRAWPort() 90 portDef.format.video.nSliceHeight = (((nFrameHeight + 15) >> 4) << 4); in setupRAWPort() 91 portDef.format.video.nBitrate = nBitrate; in setupRAWPort() 92 portDef.format.video.xFramerate = xFramerate; in setupRAWPort() 93 portDef.format.video.bFlagErrorConcealment = OMX_TRUE; in setupRAWPort() 94 portDef.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused; in setupRAWPort() [all …]
|
D | VtsHalMediaOmxV1_0TargetVideoDecTest.cpp | 307 OMX_PARAM_PORTDEFINITIONTYPE portDef; in getInputChannelInfo() local 309 kPortIndexInput, &portDef); in getInputChannelInfo() 312 *nFrameWidth = portDef.format.video.nFrameWidth; in getInputChannelInfo() 313 *nFrameHeight = portDef.format.video.nFrameHeight; in getInputChannelInfo() 314 *xFramerate = portDef.format.video.xFramerate; in getInputChannelInfo() 432 OMX_PARAM_PORTDEFINITIONTYPE portDef; in portReconfiguration() local 434 kPortIndexOutput, &portDef); in portReconfiguration() 437 portDef.format.video.eColorFormat, in portReconfiguration()
|
/hardware/interfaces/media/omx/1.0/vts/functional/component/ |
D | VtsHalMediaOmxV1_0TargetComponentTest.cpp | 330 OMX_PARAM_PORTDEFINITIONTYPE portDef; in TEST_P() local 332 getPortParam(omxNode, OMX_IndexParamPortDefinition, i, &portDef); in TEST_P() 335 EXPECT_EQ(portDef.eDir, i - kPortIndexInput); // OMX_DirInput in TEST_P() 336 EXPECT_EQ(portDef.bEnabled, OMX_TRUE); in TEST_P() 337 EXPECT_EQ(portDef.bPopulated, OMX_FALSE); in TEST_P() 338 EXPECT_GE(portDef.nBufferCountMin, 1U); in TEST_P() 339 EXPECT_GE(portDef.nBufferCountActual, portDef.nBufferCountMin); in TEST_P() 341 EXPECT_EQ(portDef.eDomain, OMX_PortDomainAudio); in TEST_P() 344 EXPECT_EQ(portDef.eDomain, OMX_PortDomainVideo); in TEST_P() 346 OMX_PARAM_PORTDEFINITIONTYPE mirror = portDef; in TEST_P() [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/common/ |
D | media_hidl_test_common.cpp | 69 OMX_PARAM_PORTDEFINITIONTYPE portDef; in setPortBufferSize() local 72 &portDef); in setPortBufferSize() 75 if (portDef.nBufferSize < size) { in setPortBufferSize() 76 portDef.nBufferSize = size; in setPortBufferSize() 78 &portDef); in setPortBufferSize() 289 OMX_PARAM_PORTDEFINITIONTYPE portDef; in allocateBuffer() local 291 &portDef); in allocateBuffer() 297 omxNode, portIndex, buffer, portDef.format.video.nFrameWidth, in allocateBuffer() 298 portDef.format.video.nFrameHeight, &nStride, in allocateBuffer() 299 portDef.format.video.eColorFormat)); in allocateBuffer() [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/audio/ |
D | VtsHalMediaOmxV1_0TargetAudioEncTest.cpp | 216 OMX_PARAM_PORTDEFINITIONTYPE portDef; in setDefaultPortParam() local 218 &portDef); in setDefaultPortParam() 221 portDef.format.audio.bFlagErrorConcealment = OMX_TRUE; in setDefaultPortParam() 222 portDef.format.audio.eEncoding = eEncoding; in setDefaultPortParam() 224 &portDef); in setDefaultPortParam()
|
D | VtsHalMediaOmxV1_0TargetAudioDecTest.cpp | 279 OMX_PARAM_PORTDEFINITIONTYPE portDef; in setDefaultPortParam() local 281 &portDef); in setDefaultPortParam() 284 portDef.format.audio.bFlagErrorConcealment = OMX_TRUE; in setDefaultPortParam() 285 portDef.format.audio.eEncoding = eEncoding; in setDefaultPortParam() 287 &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 …]
|