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

Commit 8dfb3f25 authored by James Zern's avatar James Zern
Browse files

C2SoftGav1Dec,convertYUV420Planar16ToY410: fix dst stride

this matches the stride using in vpx, aom. it was missed in:
ac19c3d2 Fix software decoder display issue.
Ib8b283a0fb4bacb9b4f561d83b4d38727a3116d4

Bug: 131844219
Bug: 160760307
Change-Id: I536d32ea78ce278637163e2b64ed24b8c689a40e
Test: none
parent 853e7579
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -689,7 +689,7 @@ bool C2SoftGav1Dec::outputBuffer(const std::shared_ptr<C2BlockPool> &pool,
    if (format == HAL_PIXEL_FORMAT_RGBA_1010102) {
      convertYUV420Planar16ToY410(
          (uint32_t *)dstY, srcY, srcU, srcV, srcYStride / 2, srcUStride / 2,
          srcVStride / 2, align(mWidth, 16), mWidth, mHeight);
          srcVStride / 2, dstYStride / sizeof(uint32_t), mWidth, mHeight);
    } else {
      convertYUV420Planar16ToYUV420Planar(dstY, dstU, dstV,
                                          srcY, srcU, srcV,