summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>2023-07-17 18:06:11 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-07-25 10:31:49 +0300
commitf000e6ca2d60fefd02a180a57df2c4162fa0c1b7 (patch)
treeed72f0c22c0de0040be5ae14884d40af18c56c44
parentb69713f502027150ecc08e663fa1804d78b3ef42 (diff)
downloadlinux-f000e6ca2d60fefd02a180a57df2c4162fa0c1b7.tar.xz
media: rkvdec: increase max supported height for H.264
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>
-rw-r--r--drivers/staging/media/rkvdec/rkvdec.c2
1 files changed, 1 insertions, 1 deletions
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,