소스 검색

fix[sys_cfg]: fix fbc ver stride calc issue

Source: test_h265_1920x1080_10bit.mp4

Reported-by: Liming Xu <rimon.xu@rock-chips.com>

Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Change-Id: I432c20cdc6d9d1308e21143692d61cf990895b31
Hongjin Li 1 개월 전
부모
커밋
b1802897f3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      mpp/base/mpp_sys_cfg.cpp

+ 1 - 1
mpp/base/mpp_sys_cfg.cpp

@@ -311,7 +311,7 @@ MPP_RET mpp_sys_dec_buf_chk_proc(MppSysDecBufChkCfg *cfg)
         case MPP_VIDEO_CodingHEVC :
         case MPP_VIDEO_CodingAV1 : {
             aligned_pixel = MPP_ALIGN(cfg->width, 64);
-            aligned_height = MPP_ALIGN(aligned_height ? aligned_height : cfg->height, 8);
+            aligned_height = MPP_ALIGN(aligned_height ? aligned_height : cfg->height, 16);
         } break;
         case MPP_VIDEO_CodingAVC :
         case MPP_VIDEO_CodingAVSPLUS :