[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 b2da46e5 ("omap3isp: preview: Add support for greyscale input") inverted the condition by mistake, fix this. Reported-by: NFlorian Neuhaus <florian.neuhaus@reberinformatik.ch> Signed-off-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: NFlorian Neuhaus <florian.neuhaus@reberinformatik.ch> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
Showing
想要评论请 注册 或 登录