Skip to content

Commit

Permalink
media: cedrus: Increase maximum supported size
Browse files Browse the repository at this point in the history
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: Jernej Skrabec <jernej.skrabec@siol.net>
Acked-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
  • Loading branch information
Jernej Skrabec authored and Mauro Carvalho Chehab committed Nov 10, 2019
1 parent 03e612e commit 0b3e5c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/media/sunxi/cedrus/cedrus_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@

#define CEDRUS_MIN_WIDTH 16U
#define CEDRUS_MIN_HEIGHT 16U
#define CEDRUS_MAX_WIDTH 3840U
#define CEDRUS_MAX_HEIGHT 2160U
#define CEDRUS_MAX_WIDTH 4096U
#define CEDRUS_MAX_HEIGHT 2304U

static struct cedrus_format cedrus_formats[] = {
{
Expand Down

0 comments on commit 0b3e5c1

Please sign in to comment.