Home
last modified time | relevance | path

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

/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp97 OMX_VIDEO_PARAM_PORTFORMATTYPE portFormat; in setVideoPortFormat() local
103 portFormat.nIndex = index; in setVideoPortFormat()
105 &portFormat); in setVideoPortFormat()
108 arrColorFormat.push_back(portFormat.eColorFormat); in setVideoPortFormat()
110 arrCompressionFormat.push_back(portFormat.eCompressionFormat); in setVideoPortFormat()
124 portFormat.eColorFormat = arrColorFormat[index]; in setVideoPortFormat()
130 portFormat.eColorFormat = arrColorFormat[0]; in setVideoPortFormat()
132 portFormat.eCompressionFormat = OMX_VIDEO_CodingUnused; in setVideoPortFormat()
136 portFormat.eCompressionFormat = arrCompressionFormat[index]; in setVideoPortFormat()
143 portFormat.eCompressionFormat = arrCompressionFormat[0]; in setVideoPortFormat()
[all …]
/hardware/google/av/media/sfplugin/
DCodec2InfoBuilder.cpp171 OMX_VIDEO_PARAM_PORTFORMATTYPE portFormat; in queryOmxCapabilities() local
172 InitOMXParams(&portFormat); in queryOmxCapabilities()
173 portFormat.nPortIndex = isEncoder ? kPortIndexInput : kPortIndexOutput; in queryOmxCapabilities()
175 portFormat.nIndex = index; in queryOmxCapabilities()
178 &portFormat, sizeof(portFormat)); in queryOmxCapabilities()
185 omxNode, portFormat.eColorFormat, false /* usingNativeWindow */, in queryOmxCapabilities()
189 caps->addColorFormat(portFormat.eColorFormat); in queryOmxCapabilities()
194 asString(portFormat.eColorFormat), portFormat.eColorFormat); in queryOmxCapabilities()
/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoDecTest.cpp693 OMX_VIDEO_PARAM_PORTFORMATTYPE portFormat; in getDefaultColorFormat() local
695 portFormat.nIndex = 0; in getDefaultColorFormat()
696 while (portFormat.nIndex < 512) { in getDefaultColorFormat()
698 kPortIndexOutput, &portFormat); in getDefaultColorFormat()
700 EXPECT_EQ(portFormat.eCompressionFormat, OMX_VIDEO_CodingUnused); in getDefaultColorFormat()
702 *eColorFormat = portFormat.eColorFormat; in getDefaultColorFormat()
705 if (isColorFormatFlexibleYUV(omxNode, portFormat.eColorFormat)) { in getDefaultColorFormat()
706 *eColorFormat = portFormat.eColorFormat; in getDefaultColorFormat()
709 if (OMX_COLOR_FormatYUV420SemiPlanar == portFormat.eColorFormat || in getDefaultColorFormat()
710 OMX_COLOR_FormatYUV420Planar == portFormat.eColorFormat || in getDefaultColorFormat()
[all …]
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp1207 OMX_VIDEO_PARAM_PORTFORMATTYPE portFormat; in TEST_P() local
1208 portFormat.nIndex = 0; in TEST_P()
1211 kPortIndexInput, &portFormat); in TEST_P()
1213 EXPECT_EQ(portFormat.eCompressionFormat, OMX_VIDEO_CodingUnused); in TEST_P()
1214 if (OMX_COLOR_FormatYUV420SemiPlanar == portFormat.eColorFormat || in TEST_P()
1215 OMX_COLOR_FormatYUV420Planar == portFormat.eColorFormat) { in TEST_P()
1216 eColorFormat = portFormat.eColorFormat; in TEST_P()
1219 portFormat.nIndex++; in TEST_P()
1220 if (portFormat.nIndex == 512) break; in TEST_P()