]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
media: ti-vpe: Set MAX height supported to 2048 pixels
authorRam Prasad <x0038811@ti.com>
Mon, 7 Oct 2019 15:09:55 +0000 (12:09 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 10 Oct 2019 16:47:13 +0000 (13:47 -0300)
VPE's max height supported MAX_H is set to 1184 which is the
padded height from VC1 decoder output.

In case of 90, 270 degree rotated video processing, input to
VPE will be 1080x1920, 720x1280 etc and MAX_H needs to be set
correct value. Setting MAX_H to 2048 as worst case height.

Signed-off-by: Ram Prasad <x0038811@ti.com>
Signed-off-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/ti-vpe/vpe.c

index f3ee9ff87927e3b40813acd74eb222fc1d734884..bbbf11174e16dbde17cb841aaef92e1a57a972f4 100644 (file)
@@ -52,7 +52,7 @@
 #define MIN_W          32
 #define MIN_H          32
 #define MAX_W          2048
-#define MAX_H          1184
+#define MAX_H          2048
 
 /* required alignments */
 #define S_ALIGN                0       /* multiple of 1 */