]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:42:50 +0000 (09:42 +0200)
[ Upstream commit f000e6ca2d60fefd02a180a57df2c4162fa0c1b7 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/staging/media/rkvdec/rkvdec.c

index 82806f198074a1ee1d1e37021fc582b569c58e1a..a9bd1e71ea48729c942b94bbb3491fff2903adbb 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,