media: rkvdec: increase max supported height for H.264
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>
Mon, 17 Jul 2023 15:06:11 +0000 (17:06 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 25 Jul 2023 07:31:49 +0000 (09:31 +0200)
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@collabora.com>
Fixes: cd33c830448ba ("media: rkvdec: Add the rkvdec driver")
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/staging/media/rkvdec/rkvdec.c

index 134e2b9..84a4179 100644 (file)
@@ -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,