Home
last modified time | relevance | path

Searched refs:parWidth (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/codec2/sfplugin/tests/
DCCodecConfig_test.cpp445 int32_t parWidth{0}; in TEST_F() local
446 ASSERT_TRUE(mConfig.mOutputFormat->findInt32(KEY_PIXEL_ASPECT_RATIO_WIDTH, &parWidth)) in TEST_F()
448 ASSERT_EQ(12, parWidth); in TEST_F()
449 ASSERT_FALSE(mConfig.mInputFormat->findInt32(KEY_PIXEL_ASPECT_RATIO_WIDTH, &parWidth)) in TEST_F()
/frameworks/base/apex/media/framework/java/android/media/
DMediaParser.java1918 int parWidth = 1; in toMediaFormat() local
1922 parWidth = (int) (format.pixelWidthHeightRatio * parHeight); in toMediaFormat()
1924 parWidth = 1 << 30; in toMediaFormat()
1925 parHeight = (int) (parWidth / format.pixelWidthHeightRatio); in toMediaFormat()
1927 result.setInteger(MediaFormat.KEY_PIXEL_ASPECT_RATIO_WIDTH, parWidth); in toMediaFormat()