[media] v4l: ti-vpe: Allow usage of smaller images
authorArchit Taneja <archit@ti.com>
Wed, 12 Feb 2014 07:04:22 +0000 (04:04 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 7 Apr 2014 12:42:13 +0000 (09:42 -0300)
commitce392fd7253d53736c162681c519088a058f592b
tree70f1661bd6dfeea06f76d9059cb0cd55db6e11b2
parent772a7b7ae1ed8dcb829fffa3e535725f2ecdaa94
[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>
drivers/media/platform/ti-vpe/vpe.c