mirror of
https://github.com/nyanmisaka/mpp.git
synced 2026-01-24 03:50:40 +01:00
fix[jpegd_rkv]: New JPEG IP supports tile 4x4 output by default.
Platform: RV1126B Spec: jpegd Signed-off-by: Hongjin Li <vic.hong@rock-chips.com> Change-Id: I0c7c570d504808081ea894b62e04ae7bc562348a
This commit is contained in:
parent
648dd1befb
commit
d57658ff6d
1 changed files with 2 additions and 1 deletions
|
|
@ -453,7 +453,8 @@ static MPP_RET jpegd_gen_regs(JpegdHalCtx *ctx, JpegdSyntax *syntax)
|
|||
|
||||
y_virstride = y_hor_stride * out_height;
|
||||
if (regs->reg2_sys.dec_out_sequence == OUTPUT_TILE) {
|
||||
if (mpp_get_soc_type() == ROCKCHIP_SOC_RK3576) {
|
||||
// The new JPEG decoder supports tile 4x4 output by default.
|
||||
if (mpp_get_soc_type() >= ROCKCHIP_SOC_RK3576) {
|
||||
switch (regs->reg2_sys.yuv_out_format) {
|
||||
case YUV_OUT_FMT_2_YUYV:
|
||||
y_hor_stride = y_hor_stride * 4 * 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue