diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2016-01-07 23:43:48 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-06-07 17:33:41 +0300 |
commit | f222467a2c51a46f51516975f9b096f903c26ce4 (patch) | |
tree | 221e84cc42563198e7f339f0e2eb741ff5c9091f /drivers/media/usb/uvc/uvc_video.c | |
parent | 23ce62d293b65b7965a5b5a416f897d52eafcee6 (diff) | |
download | linux-f222467a2c51a46f51516975f9b096f903c26ce4.tar.xz |
[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>
Diffstat (limited to 'drivers/media/usb/uvc/uvc_video.c')
0 files changed, 0 insertions, 0 deletions