mirror of
https://github.com/rockchip-linux/mpp.git
synced 2024-11-27 03:54:00 +08:00
feat[av1d]: Add tile4x4 frame format support
Signed-off-by: Chandler Chen <chandler.chen@rock-chips.com> Change-Id: Icbd72c1447edcaa1d537801c18eb65c129db90c0
This commit is contained in:
parent
cdbbf8c3bb
commit
37dea0952a
@ -796,6 +796,8 @@ static MPP_RET get_current_frame(Av1CodecContext *ctx)
|
||||
mpp_frame_set_offset_x(frame->f, 0);
|
||||
mpp_frame_set_offset_y(frame->f, 0);
|
||||
mpp_frame_set_ver_stride(frame->f, MPP_ALIGN(ctx->height, 8) + 28);
|
||||
} else if (MPP_FRAME_FMT_IS_TILE(s->cfg->base.out_fmt)) {
|
||||
mpp_frame_set_fmt(frame->f, ctx->pix_fmt | ((s->cfg->base.out_fmt & (MPP_FRAME_TILE_FLAG))));
|
||||
} else
|
||||
mpp_frame_set_fmt(frame->f, ctx->pix_fmt);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user