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

Commit a6656824 authored by Vinay Kalia's avatar Vinay Kalia Committed by Automerger Merge Worker
Browse files

Revert "Codec2Buffer: vstride to match height" am: e63e1471 am: e5ed9212

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/15840263

Change-Id: I8f96c8efd97d688413a5fafc2b7acdfae6112338
parents 4c123df4 e5ed9212
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -248,10 +248,7 @@ public:

        // align width and height to support subsampling cleanly
        uint32_t stride = align(view.crop().width, 2) * divUp(layout.planes[0].allocatedDepth, 8u);

        int32_t fmtHeight = mHeight;
        format->findInt32(KEY_HEIGHT, &fmtHeight);
        uint32_t vStride = align(fmtHeight, 2);
        uint32_t vStride = align(view.crop().height, 2);

        bool tryWrapping = !copy;