aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2013-01-11 06:36:19 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-02-05 17:28:48 -0200
commitfa8880bece7321d61a7a5e7bf4b67832071ee047 (patch)
treea7c425b7b3b7a2a69faad5a42ce11f7f22d1636e /drivers/media/platform/s5p-mfc/s5p_mfc_dec.c
parent33133ea7aca7eedf8b1b4cee514c76dce7654a8c (diff)
[media] s5p-fimc: Fix bytesperline value for V4L2_PIX_FMT_YUV420M format
Make sure bytesperline for Cb, Cr planes for V4L2_PIX_FMT_YUV420M format is half of the Y plane value, rather than having same bytesperline for all planes. While at it, simplify the bytesperline parameter handling by storing it when image format is set and returning those values when getting the format, instead of recalculating bytesperline from intermediate parameters. Reported-by: Sebastian Dröge <sebastian.droege@collabora.co.uk> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/s5p-mfc/s5p_mfc_dec.c')
0 files changed, 0 insertions, 0 deletions