Home
last modified time | relevance | path

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

/aosp12/frameworks/base/media/java/android/media/
H A DMediaCodecInfo.java2615 private void applyAlignment(int widthAlignment, int heightAlignment) { in applyAlignment() argument
2617 checkPowerOfTwo(heightAlignment, "heightAlignment must be a power of two"); in applyAlignment()
2619 if (widthAlignment > mBlockWidth || heightAlignment > mBlockHeight) { in applyAlignment()
2623 Math.max(heightAlignment, mBlockHeight), in applyAlignment()
2628 mHeightAlignment = Math.max(heightAlignment, mHeightAlignment); in applyAlignment()
2690 int widthAlignment, int heightAlignment) { in applyMacroBlockLimits() argument
2695 blockWidth, blockHeight, widthAlignment, heightAlignment); in applyMacroBlockLimits()
2703 int widthAlignment, int heightAlignment) { in applyMacroBlockLimits() argument
2704 applyAlignment(widthAlignment, heightAlignment); in applyMacroBlockLimits()