[media] atmel-isi: add code to setup correct resolution for preview path
authorJosh Wu <josh.wu@atmel.com>
Tue, 3 Nov 2015 05:45:10 +0000 (03:45 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 17 Nov 2015 17:29:39 +0000 (15:29 -0200)
commitbd70f260cb2629a60b676f045eeb90a061a7630e
tree809ebd99bfa0bcdb1c61ae4b901bbda4a0ab4312
parent0fb725750b040253b111b106ca235dfbccf4ec3f
[media] atmel-isi: add code to setup correct resolution for preview path

Not like codec path, preview path can do downsampling, so we should setup
a extra preview width, height for it.

This patch add preview resolution setup without down sampling. So currently
preview path will output same size as sensor output size.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/soc_camera/atmel-isi.c
drivers/media/platform/soc_camera/atmel-isi.h