Searched refs:portFormat (Results 1 – 3 of 3) sorted by relevance
91 OMX_VIDEO_PARAM_PORTFORMATTYPE portFormat; in setVideoPortFormat() local97 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 …]
694 OMX_VIDEO_PARAM_PORTFORMATTYPE portFormat; in getDefaultColorFormat() local696 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 …]
1095 OMX_VIDEO_PARAM_PORTFORMATTYPE portFormat; in TEST_P() local1096 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()