upstream: [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)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:55:08 +0000 (11:55 +0900)
commit892e1802c7f4a6a511f8e325833ba90bab953381
tree2bfdee5960cf93e38c44e4f73f66bf4d48c34922
parent8a10572cff59dca1203455ec7055bb87fa64da34
upstream: [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