Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41ad6635 authored by Wonsik Kim's avatar Wonsik Kim Committed by Automerger Merge Worker
Browse files

Merge "MediaCodecInfo: Change default alignment and block size to 1x1" into...

Merge "MediaCodecInfo: Change default alignment and block size to 1x1" into main am: fa33da55 am: 29edabbf

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3002925



Change-Id: I86df685e79ea3522706db0f1e90942dfe33de0f1
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 75b98ade 29edabbf
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -2651,11 +2651,10 @@ public final class MediaCodecInfo {
            mBlockAspectRatioRange = POSITIVE_RATIONALS;
            mAspectRatioRange      = POSITIVE_RATIONALS;

            // YUV 4:2:0 requires 2:2 alignment
            mWidthAlignment = 2;
            mHeightAlignment = 2;
            mBlockWidth = 2;
            mBlockHeight = 2;
            mWidthAlignment = 1;
            mHeightAlignment = 1;
            mBlockWidth = 1;
            mBlockHeight = 1;
            mSmallerDimensionUpperLimit = getSizeRange().getUpper();
        }