mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-11 03:50:03 +08:00
[hal_jpegd]: Correct output format when PP not used
Otherwise the output format would always be the initial value(YUV420SP). Change-Id: I6b792cb1010b96e136ce008250b2e1a4f90635e5 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
@@ -357,6 +357,7 @@ static MPP_RET setup_output_fmt(JpegdHalCtx *ctx, JpegdSyntax *syntax, RK_S32 ou
|
|||||||
}
|
}
|
||||||
} else { //keep original format
|
} else { //keep original format
|
||||||
regs->reg2_sys.yuv_out_format = YUV_OUT_FMT_NO_TRANS;
|
regs->reg2_sys.yuv_out_format = YUV_OUT_FMT_NO_TRANS;
|
||||||
|
ctx->output_fmt = s->output_fmt;
|
||||||
}
|
}
|
||||||
|
|
||||||
jpegd_dbg_hal("convert format %d to format %d\n", s->output_fmt, ctx->output_fmt);
|
jpegd_dbg_hal("convert format %d to format %d\n", s->output_fmt, ctx->output_fmt);
|
||||||
|
Reference in New Issue
Block a user