[PATCH] media: rkvdec: increase max supported height for H.264

Nicolas Dufresne nicolas.dufresne at collabora.com
Mon Jul 17 08:45:04 PDT 2023


Le lundi 17 juillet 2023 à 17:06 +0200, Benjamin Gaignard a écrit :
> After testing it is possible for the hardware to decode H264
> bistream with a height up to 2560.
> 
> Signed-off-by: Benjamin Gaignard <benjamin.gaignard at collabora.com>

Thanks, this could possibly have a Fixes tag ?
Fixes: cd33c830448ba ("media: rkvdec: Add the rkvdec driver")

With or without the that though:
Reviewed-by: Nicolas Dufresne <nicolas.dufresne at collabora.com>

> ---
>  drivers/staging/media/rkvdec/rkvdec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/media/rkvdec/rkvdec.c b/drivers/staging/media/rkvdec/rkvdec.c
> index 134e2b9fa7d9..84a41792cb4b 100644
> --- a/drivers/staging/media/rkvdec/rkvdec.c
> +++ b/drivers/staging/media/rkvdec/rkvdec.c
> @@ -120,7 +120,7 @@ static const struct rkvdec_coded_fmt_desc rkvdec_coded_fmts[] = {
>  			.max_width = 4096,
>  			.step_width = 16,
>  			.min_height = 48,
> -			.max_height = 2304,
> +			.max_height = 2560,
>  			.step_height = 16,
>  		},
>  		.ctrls = &rkvdec_h264_ctrls,




More information about the Linux-rockchip mailing list