]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00236141 csi:Add stride alignment setting from userspace
authorguoyin.chen <guoyin.chen@freescale.com>
Fri, 7 Dec 2012 02:39:57 +0000 (10:39 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:48 +0000 (08:35 +0200)
commit8028d925a689f20639c533a53767050baf8df15c
tree0644eeb5d09eac93fbd1a5236819e4cfc06eeceb
parent5fb07792821c91dab5d78fee203109c64e21c41c
ENGR00236141 csi:Add stride alignment setting from userspace

In android, IPU fills the I420 buffer. And GPU shows the buffer to display.
mx6's GPU has 32 Y-stride alignment for I420. The stride alignment will
be passed through by bytesperline. This update is only for
csi->smfc->mem channel.

Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
(cherry picked from commit 4708dc1999ed4857799100434e4f46f68f4e7c13)
drivers/media/video/mxc/capture/ipu_csi_enc.c