]> git.baikalelectronics.ru Git - kernel.git/commit
[media] exynos-gsc: Do not swap cb/cr for semi planar formats
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Wed, 1 Feb 2017 20:05:21 +0000 (18:05 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 22 Mar 2017 12:50:07 +0000 (09:50 -0300)
commit2d243afea4b73c80d141e435ad86609cf1cbbee1
tree20860972a82aff264888c93333213768f096dc24
parent206f6ccb610c5d50c649c574a341be1e4c1a85bd
[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