Home
last modified time | relevance | path

Searched refs:portFormat (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp91 OMX_VIDEO_PARAM_PORTFORMATTYPE portFormat; in setVideoPortFormat() local
97 portFormat.nIndex = index; in setVideoPortFormat()
99 &portFormat); in setVideoPortFormat()
102 arrColorFormat.push_back(portFormat.eColorFormat); in setVideoPortFormat()
104 arrCompressionFormat.push_back(portFormat.eCompressionFormat); in setVideoPortFormat()
118 portFormat.eColorFormat = arrColorFormat[index]; in setVideoPortFormat()
124 portFormat.eColorFormat = arrColorFormat[0]; in setVideoPortFormat()
126 portFormat.eCompressionFormat = OMX_VIDEO_CodingUnused; in setVideoPortFormat()
130 portFormat.eCompressionFormat = arrCompressionFormat[index]; in setVideoPortFormat()
137 portFormat.eCompressionFormat = arrCompressionFormat[0]; in setVideoPortFormat()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoDecTest.cpp694 OMX_VIDEO_PARAM_PORTFORMATTYPE portFormat; in getDefaultColorFormat() local
696 portFormat.nIndex = 0; in getDefaultColorFormat()
697 while (portFormat.nIndex < 512) { in getDefaultColorFormat()
699 kPortIndexOutput, &portFormat); in getDefaultColorFormat()
701 EXPECT_EQ(portFormat.eCompressionFormat, OMX_VIDEO_CodingUnused); in getDefaultColorFormat()
703 *eColorFormat = portFormat.eColorFormat; in getDefaultColorFormat()
706 if (isColorFormatFlexibleYUV(omxNode, portFormat.eColorFormat)) { in getDefaultColorFormat()
707 *eColorFormat = portFormat.eColorFormat; in getDefaultColorFormat()
710 if (OMX_COLOR_FormatYUV420SemiPlanar == portFormat.eColorFormat || in getDefaultColorFormat()
711 OMX_COLOR_FormatYUV420Planar == portFormat.eColorFormat || in getDefaultColorFormat()
[all …]
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp1095 OMX_VIDEO_PARAM_PORTFORMATTYPE portFormat; in TEST_P() local
1096 portFormat.nIndex = 0; in TEST_P()
1099 kPortIndexInput, &portFormat); in TEST_P()
1101 EXPECT_EQ(portFormat.eCompressionFormat, OMX_VIDEO_CodingUnused); in TEST_P()
1102 if (OMX_COLOR_FormatYUV420SemiPlanar == portFormat.eColorFormat || in TEST_P()
1103 OMX_COLOR_FormatYUV420Planar == portFormat.eColorFormat) { in TEST_P()
1104 eColorFormat = portFormat.eColorFormat; in TEST_P()
1107 portFormat.nIndex++; in TEST_P()
1108 if (portFormat.nIndex == 512) break; in TEST_P()