[media] exynos-gsc: Do not swap cb/cr for semi planar formats
commitd7f3e33df4fbdc9855fb151f4a328ec46447e3ba
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Wed, 1 Feb 2017 20:05:21 +0000 (1 18:05 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 3 Mar 2017 11:01:47 +0000 (3 08:01 -0300)
tree3f983b5a274cac5398882ef8534fd0f0b02cea18
parent446aba663b8240b24202cb8902b0d5c8f91aa3da
[media] exynos-gsc: Do not swap cb/cr for semi planar formats

In the case of semi planar formats cb and cr are in the same plane
in memory, meaning that will be set to 'cb' whatever the format is,
and whatever the (packed) order of those components are.

Suggested-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Thibault Saunier <thibault.saunier@osg.samsung.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/exynos-gsc/gsc-core.c