Home
last modified time | relevance | path

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

/aosp14/frameworks/base/media/java/android/media/
H A DMediaCodecInfo.java2827 private void applyAlignment(int widthAlignment, int heightAlignment) { in applyAlignment() argument
2829 checkPowerOfTwo(heightAlignment, "heightAlignment must be a power of two"); in applyAlignment()
2831 if (widthAlignment > mBlockWidth || heightAlignment > mBlockHeight) { in applyAlignment()
2835 Math.max(heightAlignment, mBlockHeight), in applyAlignment()
2840 mHeightAlignment = Math.max(heightAlignment, mHeightAlignment); in applyAlignment()
2902 int widthAlignment, int heightAlignment) { in applyMacroBlockLimits() argument
2907 blockWidth, blockHeight, widthAlignment, heightAlignment); in applyMacroBlockLimits()
2915 int widthAlignment, int heightAlignment) { in applyMacroBlockLimits() argument
2916 applyAlignment(widthAlignment, heightAlignment); in applyMacroBlockLimits()