aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/ti-vpe
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2014-02-12 02:04:22 -0500
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-04-07 08:42:13 -0400
commitce392fd7253d53736c162681c519088a058f592b (patch)
tree70f1661bd6dfeea06f76d9059cb0cd55db6e11b2 /drivers/media/platform/ti-vpe
parent772a7b7ae1ed8dcb829fffa3e535725f2ecdaa94 (diff)
[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: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/ti-vpe')
-rw-r--r--drivers/media/platform/ti-vpe/vpe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/ti-vpe/vpe.c b/drivers/media/platform/ti-vpe/vpe.c
index 578c0c637e2c..93d1a85c9f45 100644
--- a/drivers/media/platform/ti-vpe/vpe.c
+++ b/drivers/media/platform/ti-vpe/vpe.c
@@ -49,8 +49,8 @@
49#define VPE_MODULE_NAME "vpe" 49#define VPE_MODULE_NAME "vpe"
50 50
51/* minimum and maximum frame sizes */ 51/* minimum and maximum frame sizes */
52#define MIN_W 128 52#define MIN_W 32
53#define MIN_H 128 53#define MIN_H 32
54#define MAX_W 1920 54#define MAX_W 1920
55#define MAX_H 1080 55#define MAX_H 1080
56 56