/hardware/interfaces/media/omx/1.0/vts/functional/video/ |
D | VtsHalMediaOmxV1_0TargetVideoEncTest.cpp | 425 OMX_PARAM_PORTDEFINITIONTYPE portDef; in setRefreshPeriod() local 427 &portDef); in setRefreshPeriod() 430 ((portDef.format.video.nFrameWidth + 15) >> in setRefreshPeriod() 431 4 * (portDef.format.video.nFrameHeight + 15) >> 4) / in setRefreshPeriod() 468 OMX_PARAM_PORTDEFINITIONTYPE portDef; in setDefaultPortParam() local 470 &portDef); in setDefaultPortParam() 472 portDef.format.video.nFrameWidth = nFrameWidth; in setDefaultPortParam() 473 portDef.format.video.nFrameHeight = nFrameHeight; in setDefaultPortParam() 474 portDef.format.video.nBitrate = nBitrate; in setDefaultPortParam() 475 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 | 298 OMX_PARAM_PORTDEFINITIONTYPE portDef; in getInputChannelInfo() local 300 kPortIndexInput, &portDef); in getInputChannelInfo() 303 *nFrameWidth = portDef.format.video.nFrameWidth; in getInputChannelInfo() 304 *nFrameHeight = portDef.format.video.nFrameHeight; in getInputChannelInfo() 305 *xFramerate = portDef.format.video.xFramerate; in getInputChannelInfo() 423 OMX_PARAM_PORTDEFINITIONTYPE portDef; in portReconfiguration() local 425 kPortIndexOutput, &portDef); in portReconfiguration() 428 portDef.format.video.eColorFormat, in portReconfiguration()
|
/hardware/interfaces/media/omx/1.0/vts/functional/component/ |
D | VtsHalMediaOmxV1_0TargetComponentTest.cpp | 319 OMX_PARAM_PORTDEFINITIONTYPE portDef; in TEST_F() local 321 getPortParam(omxNode, OMX_IndexParamPortDefinition, i, &portDef); in TEST_F() 324 EXPECT_EQ(portDef.eDir, i - kPortIndexInput); // OMX_DirInput in TEST_F() 325 EXPECT_EQ(portDef.bEnabled, OMX_TRUE); in TEST_F() 326 EXPECT_EQ(portDef.bPopulated, OMX_FALSE); in TEST_F() 327 EXPECT_GE(portDef.nBufferCountMin, 1U); in TEST_F() 328 EXPECT_GE(portDef.nBufferCountActual, portDef.nBufferCountMin); in TEST_F() 330 EXPECT_EQ(portDef.eDomain, OMX_PortDomainAudio); in TEST_F() 333 EXPECT_EQ(portDef.eDomain, OMX_PortDomainVideo); in TEST_F() 335 OMX_PARAM_PORTDEFINITIONTYPE mirror = portDef; in TEST_F() [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/common/ |
D | media_hidl_test_common.cpp | 71 OMX_PARAM_PORTDEFINITIONTYPE portDef; in setPortBufferSize() local 74 &portDef); in setPortBufferSize() 77 if (portDef.nBufferSize < size) { in setPortBufferSize() 78 portDef.nBufferSize = size; in setPortBufferSize() 80 &portDef); in setPortBufferSize() 319 OMX_PARAM_PORTDEFINITIONTYPE portDef; in allocateBuffer() local 321 &portDef); in allocateBuffer() 327 omxNode, portIndex, buffer, portDef.format.video.nFrameWidth, in allocateBuffer() 328 portDef.format.video.nFrameHeight, &nStride, in allocateBuffer() 329 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()
|
/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 …]
|