Searched refs:widthAlignment (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/media/libmedia/include/media/ |
D | VideoCapabilities.h | 437 void applyAlignment(int32_t widthAlignment, int32_t heightAlignment); 443 int32_t widthAlignment, int32_t heightAlignment); 449 int32_t widthAlignment, int32_t heightAlignment);
|
/frameworks/av/media/libmedia/ |
D | VideoCapabilities.cpp | 959 int32_t widthAlignment, int32_t heightAlignment) { in applyAlignment() argument 960 if (!IsPowerOfTwo(widthAlignment) || !IsPowerOfTwo(heightAlignment)) { in applyAlignment() 962 " widthAlignment: %d; heightAlignment: %d", widthAlignment, heightAlignment); in applyAlignment() 967 if (widthAlignment > mBlockWidth || heightAlignment > mBlockHeight) { in applyAlignment() 970 std::max(widthAlignment, mBlockWidth), in applyAlignment() 975 mWidthAlignment = std::max(widthAlignment, mWidthAlignment); in applyAlignment() 1033 int32_t widthAlignment, int32_t heightAlignment) { in applyMacroBlockLimits() argument 1038 blockWidth, blockHeight, widthAlignment, heightAlignment); in applyMacroBlockLimits() 1046 int32_t widthAlignment, int32_t heightAlignment) { in applyMacroBlockLimits() argument 1047 applyAlignment(widthAlignment, heightAlignment); in applyMacroBlockLimits()
|
/frameworks/av/media/libmedia/tests/codeccapabilities/ |
D | CodecCapabilitiesTest.cpp | 190 int32_t widthAlignment = videoCaps->getWidthAlignment(); in TEST_F() local 191 EXPECT_EQ(widthAlignment, 2); in TEST_F()
|
/frameworks/base/media/java/android/media/ |
D | MediaCodecInfo.java | 3053 private void applyAlignment(int widthAlignment, int heightAlignment) { 3054 checkPowerOfTwo(widthAlignment, "widthAlignment must be a power of two"); 3057 if (widthAlignment > mBlockWidth || heightAlignment > mBlockHeight) { 3060 Math.max(widthAlignment, mBlockWidth), 3065 mWidthAlignment = Math.max(widthAlignment, mWidthAlignment); 3128 int widthAlignment, int heightAlignment) { 3133 blockWidth, blockHeight, widthAlignment, heightAlignment); 3141 int widthAlignment, int heightAlignment) { 3142 applyAlignment(widthAlignment, heightAlignment);
|