linux/drivers/media/platform/exynos-gsc
Thibault Saunier 57612890b7 [media] exynos-gsc: Use user configured colorspace if provided
Use colorspace provided by the user as we are only doing scaling and
color encoding conversion, we won't be able to transform the colorspace
itself and the colorspace won't mater in that operation.

Also always use output colorspace on the capture side.

If the user does not provide a colorspace do not make it up, we might
later while processing need to figure out the colorspace, which
is possible depending on the frame size but do not ever guess and
leak that guess to the userspace.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Thibault Saunier <thibault.saunier@osg.samsung.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-06-13 14:20:26 -03:00
..
Makefile [media] exynos-gsc: Add missing Makefile 2012-09-15 15:09:34 -03:00
gsc-core.c [media] exynos-gsc: Use user configured colorspace if provided 2017-06-13 14:20:26 -03:00
gsc-core.h [media] exynos-gsc: Use user configured colorspace if provided 2017-06-13 14:20:26 -03:00
gsc-m2m.c [media] exynos-gsc: Clean up file handle in open() error path 2017-01-31 10:01:53 -02:00
gsc-regs.c [media] gsc: Use %pad for dma_addr_t 2014-08-26 18:52:04 -03:00
gsc-regs.h [media] exynos-gsc: Fix settings for input and output image RGB type 2012-11-26 18:43:14 -02:00