archived-mpp/mpp
Chandler Chen e69e2f88c7 fix[h265d_parser]: fix startcode finder for 00 00 00 xx case
Platform: All
Spec: h265

Error case:
nalu payloads with byte sequence 00 00 00 xx data used to be incorrectly detected as start code.

Solution:
Modify the start code detection logic by replacing
condition src[i+2] < 2 with src[i+2] == 1

Reported by: redmine #545594

Source: kiloview-p3.hevc

Signed-off-by: Chandler Chen <chandler.chen@rock-chips.com>
Change-Id: I7e544e127f324df42418765adc5a7a51e082736e
2025-04-17 01:24:28 +00:00
..
base fix[sys_cfg]: Avoid frequent environment variable access. 2025-04-14 16:51:07 +08:00
codec fix[h265d_parser]: fix startcode finder for 00 00 00 xx case 2025-04-17 01:24:28 +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