Need to sync cache after cut slice segment header extension datas.
Change-Id: Id89ef895ac6df47ff593407a18e0246138dffb9f
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Platform: General
Spec: all
Error case:
Constructors may be added after 65535(mpp_singleton_init)
ex: mpp_platform added after 65535 when mpp_soc is
refactored to c
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Signed-off-by: xiaoxu.chen <xiaoxu.chen@rock-chips.com>
Change-Id: If736904beb0cd64a3e4ae3b20fd72e1198646ac7
1. Change mpp_dec_cfg entry_table define
2. Use new update function to update MppDecCfgSet
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Ibaf98d69664c107f79ea51e6cd83419dc1bf450a
Platform: General
Spec: All
Reported-by: Jinsen Chen <kevin.chen@rock-chips.com>
Change-Id: Iaf5eaadedc718682e9876ec8cb64fdd82ea1ac86
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
1. Integrate simple element and struct element to one macro.
2. Resolve different update flag mode.
3. Support hierarchy definition for future config file registration.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I691a99aafec3f4e9d4e883e172d2b82ace44e379
If hardware failed at decoding the first field of frame, stream consumed
length will not be update to vlc_stream_base register. To avoid reading
stream base address as stream length after irq, just abort decoding when
hardware reporting error.
Change-Id: I7ca80aefebb0700612a20d7e35c49dc736a31b6f
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
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>
Platform: General
Spec: vp8/vp9/mpeg2
Error case:
Stride information persists incorrectly across
resolution changes, leading to errors.
Solution:
When the stride is not set externally, it needs to
be set to 0 to avoid the stride not being updated
in time when the resolution of the same source
changes. For example, the source:
VP9_crowd_run_2048X1088_60fps_bd8_frm_resize_l41.webm
contains two resolutions: 2048x1088 and 1365x725
Source:
VP9_crowd_run_2048X1088_60fps_bd8_frm_resize_l41.webm
Reported-by: redmine #552464
Change-Id: I0e8f7c77736dbba31ccd98e559e3d7eeac240d97
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Platform: General
Spec: vp8/vp9/mpeg2
Error case:
Ver_stride is set externally, causing sys_cfg
to use the external ver_stride directly
Solution:
If it is not necessary, do not set ver/hor_stride
externally. To minimize the impact, currently only
modify the specs that encounters problems
Source:
vp9 3840x2026 in rk3576
vp8 1920x1080 in rk3588
m2v 1920x1080 in rk3588
Reported-by: redmine #550255
Change-Id: Ie1e73e17fa2db1740d36821a5bb26fb1487e81cb
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Platform: Chips designed before RK3576
Spec: avs2
Error case:
For RK3588 FBC, vertical pixels equals to height of image aligned with
CTU size and then plus 16.
Issue reported at redmine #550260, caused by this commit:
adf21e18ba
"Align to CTU64 to avoid info change"
Change-Id: I52ab1ff4437431666b1e6fc1e458b6981f53c821
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
usaeg:
<exe> <-s|--spec> <|h264|h265|avs2|vp9|av1|jpeg|all> [-q]
-h|--help: help info
-s|--spec: spec, |h264|h265|avs2|vp9|av1|jpeg|all
-sv|--save: save test file
-l|--log: exec mpp demo with log
-d|--debug: dump debug info
Change-Id: I5c69570d0a2834c0114c75ed3f64c734e238d4b6
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Platform:All
Spec:encoder
Error case:
h264e_dpb: find_cpb_frame can not find match frm 0.
Solution:
Since info->st_gop = st_cfg_cnt - 1 cannot accurately represent
the number of st_cfg, st_cfg_cnt is used to replace info->st_gop.
Change-Id: I3a2f494de5dcec0182d0431fb2c1b653cbe3bf84
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
Platform: RK3576
Spec: av1
Error case:
When the resolution is switched and the width and height
are enlarged, the segid space is insufficient
Solution:
Determine whether the cdf/segid space is sufficient and
recalculate if insufficient
Reported-by: Jinsen Chen <kevin.chen@rock-chips.com> KTC
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Signed-off-by: Chandler Chen <chandler.chen@rock-chips.com>
Change-Id: I8df6773337e093f0767d18d552895b3ec7601efa
The default misc buffer group do not have the flag. We need to seperate
the default misc group with different flag.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I14941eedfe9c06ec978a12061ba33e12495aa038
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