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

2015-06-18 Thread Laurent Pinchart
Hi Damian, On Monday 18 May 2015 17:17:52 Damian Hobson-Garcia wrote: > On 2015-05-04 7:13 AM, Laurent Pinchart wrote: > > On Thursday 30 April 2015 14:22:02 Sergei Shtylyov wrote: > >> On 4/29/2015 8:05 PM, Yoshihiro Kaneko wrote: > >>> From: Damian Hobson-Garcia > >>> > >>> Make sure that ther

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

2015-05-18 Thread Damian Hobson-Garcia
Hello Laurent, On 2015-05-04 7:13 AM, Laurent Pinchart wrote: > Hello, > > On Thursday 30 April 2015 14:22:02 Sergei Shtylyov wrote: >> On 4/29/2015 8:05 PM, Yoshihiro Kaneko wrote: >>> From: Damian Hobson-Garcia >>> >>> Make sure that there are valid values in the crop rectangle to ensure >>> t

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

2015-05-04 Thread Laurent Pinchart
Hello, On Thursday 30 April 2015 14:22:02 Sergei Shtylyov wrote: > On 4/29/2015 8:05 PM, Yoshihiro Kaneko wrote: > > From: Damian Hobson-Garcia > > > > Make sure that there are valid values in the crop rectangle to ensure > > that the color plane doesn't get shifted when cropping. > > Since ther

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

2015-04-30 Thread Sergei Shtylyov
Hello. On 4/30/2015 2:44 PM, Geert Uytterhoeven wrote: Since there is no distintion between 12bit and 16bit YUV formats in Вistinсtion. Distinction? Sorry, yes. :-) Gr{oetje,eeting}s, Geert WBR, Sergei -- To unsubscribe from this list: send the line

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

2015-04-30 Thread Geert Uytterhoeven
On Thu, Apr 30, 2015 at 1:22 PM, Sergei Shtylyov wrote: >> Since there is no distintion between 12bit and 16bit YUV formats in > >Вistinсtion. Distinction? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org I

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

2015-04-30 Thread Sergei Shtylyov
Hello. On 4/29/2015 8:05 PM, Yoshihiro Kaneko wrote: From: Damian Hobson-Garcia 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 distintion between 12bit and 16bit YUV formats in Вistinсtion.

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

2015-04-29 Thread Yoshihiro Kaneko
From: Damian Hobson-Garcia 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 distintion between 12bit and 16bit YUV formats in at the subdev level, use the more restrictive 12bit limits for all YUV forma