mpp-nyanmisaka/mpp
Hongjin Li 6dbce1daf3 fix[h265d_vdpu383]: Fix CABAC error detection issue.
Platform: RK3576
Spec: h265

Error case:
When decoding a video sequence, the interrupt reports
a bitstream error, but the video sequence is actually
normal.

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

Reported-by: redmine #540704

Source: H.265 HEVC_1280x720_Movie Trailer_复仇者联盟.预告片.h265.mp4.mp4

Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Change-Id: I9f0b6c744bbc56ad721d45461a18f8124956ffc7
2025-04-11 03:39:17 +00:00
..
base fix[mpp_enc]: Add encoder speed mode setup 2025-04-08 11:06:26 +08:00
codec fix[h265e]: Correct tile syntax elements at PPS 2025-04-11 01:28:44 +00:00
common fix[av1_syntax]: Fix array out-of-bounds issue. 2025-04-01 15:04:54 +08:00
hal fix[h265d_vdpu383]: Fix CABAC error detection issue. 2025-04-11 03:39:17 +00:00
inc refactor:[kmpp]: Move kmpp to seperate directory 2025-04-01 14:51:32 +08:00
legacy feat[err_proc]: Add a new command: DIS_ERR_CLR_MARK 2025-03-24 15:06:27 +08:00
vproc fix[vdpp]: Fix vdpp blk_size calculation. 2025-04-02 06:02:22 +00: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 feat[err_proc]: Add a new command: DIS_ERR_CLR_MARK 2025-03-24 15:06:27 +08: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