Home
last modified time | relevance | path

Searched refs:portDef (Results 1 – 9 of 9) sorted by relevance

/aosp12/hardware/interfaces/media/omx/1.0/vts/functional/video/
H A DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp425 &portDef); in setRefreshPeriod()
466 OMX_PARAM_PORTDEFINITIONTYPE portDef; in setDefaultPortParam() local
468 &portDef); in setDefaultPortParam()
478 &portDef); in setDefaultPortParam()
689 OMX_PARAM_PORTDEFINITIONTYPE portDef; in dispatchGraphicBuffer() local
692 &portDef); in dispatchGraphicBuffer()
712 portDef.format.video.nFrameWidth, portDef.format.video.nFrameHeight, in dispatchGraphicBuffer()
798 OMX_PARAM_PORTDEFINITIONTYPE portDef; in fillByteBuffer() local
802 &portDef); in fillByteBuffer()
1251 portDef.nBufferCountActual = portDef.nBufferCountActual + value; in TEST_P()
[all …]
H A Dmedia_video_hidl_test_common.cpp83 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()
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()
95 portDef.format.video.eColorFormat = eColorFormat; in setupRAWPort()
[all …]
H A DVtsHalMediaOmxV1_0TargetVideoDecTest.cpp307 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()
/aosp12/hardware/interfaces/media/omx/1.0/vts/functional/component/
H A DVtsHalMediaOmxV1_0TargetComponentTest.cpp339 EXPECT_GE(portDef.nBufferCountActual, portDef.nBufferCountMin); in TEST_P()
349 portDef.nBufferCountActual = portDef.nBufferCountMin - 1; in TEST_P()
351 &portDef); in TEST_P()
356 portDef = mirror; in TEST_P()
368 portDef = mirror; in TEST_P()
369 portDef.nBufferCountMin += 1; in TEST_P()
380 portDef = mirror; in TEST_P()
381 portDef.nBufferCountActual += 1; in TEST_P()
395 portDef = mirror; in TEST_P()
428 portDef = mirror; in TEST_P()
[all …]
/aosp12/hardware/interfaces/media/omx/1.0/vts/functional/common/
H A Dmedia_hidl_test_common.cpp69 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()
299 portDef.format.video.eColorFormat)); in allocateBuffer()
316 OMX_PARAM_PORTDEFINITIONTYPE portDef; in allocatePortBuffers() local
321 &portDef); in allocatePortBuffers()
[all …]
/aosp12/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/
H A Dvenc_test.cpp2016 OMX_PARAM_PORTDEFINITIONTYPE portDef; in main() local
2018 portDef.nPortIndex = 0; 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()
2058 num_out_buffers = portDef.nBufferCountActual; in main()
2059 for (i = 0; i < portDef.nBufferCountActual; i++) in main()
2063 pBuff = malloc(portDef.nBufferSize); in main()
2064 D("portDef.nBufferSize = %d ",portDef.nBufferSize); in main()
[all …]
/aosp12/hardware/interfaces/media/omx/1.0/vts/functional/audio/
H A DVtsHalMediaOmxV1_0TargetAudioEncTest.cpp216 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()
H A DVtsHalMediaOmxV1_0TargetAudioDecTest.cpp279 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()
/aosp12/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/test/
H A Dvenc_test.cpp2030 OMX_PARAM_PORTDEFINITIONTYPE portDef; in main() local
2032 portDef.nPortIndex = 0; 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()
2069 num_out_buffers = portDef.nBufferCountActual; in main()
2071 for (i = 0; i < portDef.nBufferCountActual; i++) { in main()
2074 pBuff = malloc(portDef.nBufferSize); in main()
2075 D("portDef.nBufferSize = %d ",portDef.nBufferSize); in main()
[all …]