]> 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>
Tue, 19 Sep 2023 10:22:44 +0000 (12:22 +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 bc4683a75e61fefa35441726cf2049b076aaafa6..29b68a13674eeedd6a917a8c538931f2ee02da30 100644 (file)
@@ -111,7 +111,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,