Explorar o código

Codaj12: Height of plane align by 4.

Signed-off-by: Som Qin <som.qin@starfivetech.com>
Som Qin hai 10 meses
pai
achega
15112014e4
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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;