Przeglądaj źródła

Merge branch 'CR_6478_JPU_Som.Qin' into 'jh7110-devel'

CR 6478 Codaj12: Height of plane align by 4.

See merge request sdk/soft_3rdpart!60
andy.hu 10 miesięcy temu
rodzic
commit
9a2ebad196
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      codaj12/sample/helper/jpuhelper.c

+ 2 - 2
codaj12/sample/helper/jpuhelper.c

@@ -1235,8 +1235,8 @@ STATIC void GetFrameBufStride(FrameFormat subsample, CbCrInterLeave cbcrIntlv, P
             cStride = JPU_CEIL(8, cStride);
         }
     }
-    lHeight = JPU_CEIL(8, lHeight);
-    cHeight = JPU_CEIL(8, cHeight);
+    lHeight = JPU_CEIL(4, lHeight);
+    cHeight = JPU_CEIL(4, cHeight);
 
     lStride *= bytePerPixel;
     cStride *= bytePerPixel;