mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
media: imx-csi: Allow skipping odd chroma rows for YVU420
Skip writing U/V components to odd rows for YVU420 in addition to YUV420 and NV12. Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
bc11dd6699
commit
792f061b9f
1 changed files with 1 additions and 0 deletions
|
|
@ -452,6 +452,7 @@ static int csi_idmac_setup_channel(struct csi_priv *priv)
|
|||
passthrough_bits = 16;
|
||||
break;
|
||||
case V4L2_PIX_FMT_YUV420:
|
||||
case V4L2_PIX_FMT_YVU420:
|
||||
case V4L2_PIX_FMT_NV12:
|
||||
burst_size = (image.pix.width & 0x3f) ?
|
||||
((image.pix.width & 0x1f) ?
|
||||
|
|
|
|||
Loading…
Reference in a new issue