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

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

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

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

Change-Id: Ib52b6c6874302b136d854278409b6a117bb37002
parents 1c16bc6a e63e1471
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;