commit | f222467a2c51a46f51516975f9b096f903c26ce4 | [log] [tgz] |
---|---|---|
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | Thu Jan 07 18:43:48 2016 -0200 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Tue Jun 07 11:33:41 2016 -0300 |
tree | 221e84cc42563198e7f339f0e2eb741ff5c9091f | |
parent | 23ce62d293b65b7965a5b5a416f897d52eafcee6 [diff] |
[media] uvcvideo: Fix bytesperline calculation for planar YUV 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 for M420). Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>