Commit ce392fd7 authored by Archit Taneja's avatar Archit Taneja Committed by Mauro Carvalho Chehab

[media] v4l: ti-vpe: Allow usage of smaller images

The minimum width and height for VPE input/output was kept as 128 pixels. VPE
doesn't have a constraint on the image height, it requires the image width to
be at least 16 bytes.

Change the minimum supported dimensions to 32x32. This allows us to de-interlace
qcif content. A smaller image size than 32x32 didn't make much sense, so stopped
at this.
Reviewed-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarArchit Taneja <archit@ti.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 772a7b7a
...@@ -49,8 +49,8 @@ ...@@ -49,8 +49,8 @@
#define VPE_MODULE_NAME "vpe" #define VPE_MODULE_NAME "vpe"
/* minimum and maximum frame sizes */ /* minimum and maximum frame sizes */
#define MIN_W 128 #define MIN_W 32
#define MIN_H 128 #define MIN_H 32
#define MAX_W 1920 #define MAX_W 1920
#define MAX_H 1080 #define MAX_H 1080
......
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