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

Commit 861df4b5 authored by Harish Mahendrakar's avatar Harish Mahendrakar Committed by android-build-merger
Browse files

Merge "C2SoftMpeg4Enc: Handle yStride not equal to aligned width" am:...

Merge "C2SoftMpeg4Enc: Handle yStride not equal to aligned width" am: 1b418069 am: e349c1ee am: a9f528b0
am: d981accc

Change-Id: I60a2fc607dcde8fb997fb930c18ea10d53c622c5
parents 78cb7123 d981accc
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -517,9 +517,11 @@ void C2SoftMpeg4Enc::process(
            if (layout.planes[layout.PLANE_Y].colInc == 1
                    && layout.planes[layout.PLANE_U].colInc == 1
                    && layout.planes[layout.PLANE_V].colInc == 1
                    && yStride == align(width, 16)
                    && uStride == vStride
                    && yStride == 2 * vStride) {
                // I420 compatible - planes are already set up above
                // I420 compatible with yStride being equal to aligned width
                // planes are already set up above
                break;
            }