Platform: RK3576(vdpu383)
Spec: av1
Error case:
When using the Roku player, it crashes after seeking.
Because dxva->frame_refs[mapped_idx].Index == -1, cdf_buf
becomes NULL, which leads to a crash.
The deeper cause is that after seeking, playback doesn’t
start from an I-frame, so the reference frame info isn’t
ready.
Err log:
Null pointer crash stack.
Solution:
Check frame_refs index validity to avoid crashes.
Source:
test_av1_1920x1080.mp4 (Likely reproducible with other AV1 sources.)
Reported-by: Liming Xu <rimon.xu@rock-chips.com>
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Change-Id: Id55c2b00aa4c42eec2ccd780974e933a052864de
1. Use KmppShm to replace KmppShmPtr as input.
2. Add kmpp_shm_to_entry to get valid access address.
3. Add more test case.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Id554e4e60f8e11e08578c91a9c30c7b173f10ab9
1. Add rps_update_flag to indicate whether to update rps.
2. Fix global cfg data len for vdpu384a.
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I1c664c99f34f6dea940368496175273042b48b18
Platform: General
Spec: jpeg
Error case:
During JPEG decoding, the buf slot does not record
frame information, so after performing frame
information comparison in the buf slot, it will
always dump mismatch information.
Err log:
sys_cfg/legacy mismatch info
Solution:
Toggle to suppress mismatch dump messages
Reported-by: Lukaß Zhang <lekco_1320@qq.com> (github: #876)
Change-Id: Id7bc34b7876a9bf415b217eba1b55dcf7a2df208
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
1. Remove init / deinit function in kmpp_obj_func.h
2. Add extern "C" in kmpp_obj_func.h
3. Set register / unregister function in kmpp_obj_helper.h to be static
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Ic7210c8114f4a3fc9fc94f69f350c586d6bdd3d2
Platform: RK3588
Spec: av1
Error case:
Decode the AV1 bitstream from Bilibili that includes
background frames.
Err log:
Correct: mpp_av1dec: irq_status: 00001100
Error: mpp_av1dec: irq_status: 00040100 // hw timeout
Solution:
The swreg8.sw_idr_pic_e shall be set to 1 when current frame
is an intra frame.
Source: Bilibili AV1 videos
ex: https://www.bilibili.com/video/BV11ibPzLEhe
Reported-by: redmine #575039
Change-Id: I9f83fe7025f2c7ed70c8121798f9db0bfc4b0a24
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
1. Refactor test cpp files to c.
2. Update test license to Apache-2.0 OR MIT.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I02f3e23ddae8435ca851a5f0164f04ef5f51ccc2
1. Refactor osal cpp files to c.
2. Update osal license to Apache-2.0 OR MIT.
3. Remove windows support.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Ic5545d861676880f7a6247515404d585cd4fcef5
Platform: all
Spec: all
Deep copy user data/datas in meta to ensure async safety
and avoid use-after-free
Change-Id: Iebc42563b7700a1f3ca24a535a446cc1f6a7c451
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
UOBJ: deliver userspace buffer for rk3588 and rk3576
SOBJ: deliver shared memory buffer for rv1126b
Sync to kmpp-develop patch with the same log:
If596371639eaedb01d6900c737d1f7fec49bf8d4
Change-Id: I8927f6341b5d3f94bf52af32c02b75cd24ad0681
Signed-off-by: timkingh.huang <timkingh.huang@rock-chips.com>
Use "flags" instead of "flag" for KmppIoc entry
Change-Id: I87b0557a09cfad87d825836de1c6be72478957e5
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Ia4db61137545f55be0ef08acf06f8d6a439297e2
Sync with kmpp-develop commit:
feat[kmpp]: Add jpeg roi function for RV1126B
Change-Id: Ifeb5ce7b75af6fc3fc0e66fbe727dfd30a325a0e
Signed-off-by: xiaoxu.chen <xiaoxu.chen@rock-chips.com>
Depend on the commit:
270375: feat[kmpp_venc_objs]: Add chan_fd to init cfg | https://10.10.10.29/c/rk/mpp/+/270375
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I5d174695f023cf306e7f4df59243d21f255c2bc3
Platform: all
Spec: h264e
The hw_length is in bytes, but bit_real is in bits.
Change-Id: I53428c6347c3f33ad63d2f6dd78daa72b910055f
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
Platform: General
Spec: h264
Error case:
Forced fast play mode does not take effect.
Reported-by: redmine #567023
Change-Id: Ia167a9c59feb0d3b276588bcade691518984fca9
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>