mpp-nyanmisaka/mpp
Hongjin Li cb0027ee64 fix[h265d_vdpu384a]: Fix CABAC error detection issue.
Platform: RV1126B
Spec: h265

Error case:
When decoding a video sequence, the interrupt reports
a bitstream error.

The value of num_negative_pics shall be in the range of
0 to sps_max_dec_pic_buffering_minus1[ sps_max_sub_layers_minus1 ]

For frame5 (starting from 0)
sps_max_dec_pic_buffering_minus1[ sps_max_sub_layers_minus1 ] = 4
num_negative_pics = 5

Solution:
Mask out undefined bits in cabac error detection, this error is
allowed to be ignored.

Source: H265-019-Movie_Trailer_复仇者联盟.720P预告片.h265.mp4

Reported-by: Caesar Wang <caesar.wang@rock-chips.com>


Change-Id: I22915d3e6b04cf270bd2075e1606e5d35142f2cd
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
2025-05-20 01:58:08 +00:00
..
base fix[sys_cfg]: Fix ver stride calculation issue. 2025-05-15 15:55:44 +08:00
codec fix[mpp_sys_cfg]: Fix stride issue on resolution change 2025-05-19 07:47:48 +00:00
common fix[av1_syntax]: Fix array out-of-bounds issue. 2025-04-01 15:04:54 +08:00
hal fix[h265d_vdpu384a]: Fix CABAC error detection issue. 2025-05-20 01:58:08 +00:00
inc refactor[base]: Remove MppDecCfgImpl 2025-05-09 08:08:17 +00:00
legacy [vpu_api] Apk Dynamically set the max and min limit of QP 2025-05-19 08:26:45 +00:00
vproc feat[kmpp_obj]: Add userspace objdef functions 2025-05-07 16:56:48 +08:00
CMakeLists.txt fix[cmake]: Fix double object include issue 2025-04-04 03:54:28 +00:00
codecs.cmake [cmake]: enable fast play once in android 2023-03-10 17:21:17 +08:00
mpi.cpp refactor[mpi]: Add ops name when assign for reading friendly 2024-12-25 15:52:10 +08:00
mpp.cpp refactor[base]: Remove MppDecCfgImpl 2025-05-09 08:08:17 +00:00
mpp_impl.cpp fix[mpp_dump]: add YUV420SP_10BIT format dump 2024-01-29 09:35:28 +08:00
mpp_info.cpp [mpp_info]: Add funciton to read version string 2020-04-28 15:56:13 +08:00
vproc.cmake feat[vdpp]: Add vdpp module and vdpp_test 2024-02-27 18:00:54 +08:00