Re: [PATCH v2] v4l: vsp1: Align crop rectangle to even boundary for YUV formats

2015-06-18 Thread Laurent Pinchart
Hi Kaneko-san, Thank you for the patch. On Thursday 28 May 2015 21:59:39 Yoshihiro Kaneko wrote: From: Damian Hobson-Garcia dhobs...@igel.co.jp Make sure that there are valid values in the crop rectangle to ensure that the color plane doesn't get shifted when cropping. Since there is no

[PATCH v2] v4l: vsp1: Align crop rectangle to even boundary for YUV formats

2015-05-28 Thread Yoshihiro Kaneko
From: Damian Hobson-Garcia dhobs...@igel.co.jp Make sure that there are valid values in the crop rectangle to ensure that the color plane doesn't get shifted when cropping. Since there is no distinction between 12bit and 16bit YUV formats in at the subdev level, use the more restrictive 12bit