Commit 0b3e5c15 authored by Jernej Skrabec's avatar Jernej Skrabec Committed by Mauro Carvalho Chehab

media: cedrus: Increase maximum supported size

There are few variations of 4k resolutions. The biggest one is
4096x2304 which is also supported by HW. It has also nice property that
both width and size are divisible by maximum HEVC CTB size, which is 64.
Signed-off-by: default avatarJernej Skrabec <jernej.skrabec@siol.net>
Acked-by: default avatarPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 03e612e7
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
#define CEDRUS_MIN_WIDTH 16U #define CEDRUS_MIN_WIDTH 16U
#define CEDRUS_MIN_HEIGHT 16U #define CEDRUS_MIN_HEIGHT 16U
#define CEDRUS_MAX_WIDTH 3840U #define CEDRUS_MAX_WIDTH 4096U
#define CEDRUS_MAX_HEIGHT 2160U #define CEDRUS_MAX_HEIGHT 2304U
static struct cedrus_format cedrus_formats[] = { static struct cedrus_format cedrus_formats[] = {
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment