]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] omap3isp: preview: Fix output size computation depending on input format
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 5 Jul 2012 17:31:33 +0000 (14:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jul 2012 21:48:09 +0000 (18:48 -0300)
commitec746c623c405bdb580b45aab3834d13da2bbe7b
treede2f5dda45e02c00a0d762bc32127e5c0127eb67
parent9856dc6512efcda5ff5ae613a6dfcbf3ddf63319
[media] omap3isp: preview: Fix output size computation depending on input format

The preview engine crops 4 columns and 4 lines when CFA is enabled.
Commit b2da46e52fe7871cba36e1a435844502c0eccf39 ("omap3isp: preview: Add
support for greyscale input") inverted the condition by mistake, fix
this.

Reported-by: Florian Neuhaus <florian.neuhaus@reberinformatik.ch>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Florian Neuhaus <florian.neuhaus@reberinformatik.ch>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/omap3isp/isppreview.c