Re: [PATCH] uvc: Fix bytesperline calculation for planar YUV

2016-04-14 Thread Laurent Pinchart
Hi Nicolas, On Wednesday 13 Apr 2016 11:57:34 Nicolas Dufresne wrote: > Le mercredi 13 avril 2016 à 17:36 +0300, Laurent Pinchart a écrit : > > Hi Nicolas, > > > > Thank you for the patch. > > > > On Thursday 07 Jan 2016 15:43:48 Nicolas Dufresne wrote: > > > The formula used to calculate

Re: [PATCH] uvc: Fix bytesperline calculation for planar YUV

2016-04-13 Thread Nicolas Dufresne
Le mercredi 13 avril 2016 à 17:36 +0300, Laurent Pinchart a écrit : > Hi Nicolas, > > Thank you for the patch. > > On Thursday 07 Jan 2016 15:43:48 Nicolas Dufresne wrote: > > > > The formula used to calculate bytesperline only works for packed > > format. > > So far, all planar format we

Re: [PATCH] uvc: Fix bytesperline calculation for planar YUV

2016-04-13 Thread Laurent Pinchart
Hi Nicolas, Thank you for the patch. On Thursday 07 Jan 2016 15:43:48 Nicolas Dufresne wrote: > The formula used to calculate bytesperline only works for packed format. > So far, all planar format we support have their bytesperline equal to > the image width (stride of the Y plane or a line of Y