瀏覽代碼

Codaj12: Height of plane align by 4.

Signed-off-by: Som Qin <som.qin@starfivetech.com>
Som Qin 11 月之前
父節點
當前提交
15112014e4
共有 1 個文件被更改,包括 2 次插入2 次删除
  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;