summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2013-06-20 10:49:09 -0300
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:43:14 +0900
commit84a093a9e74b52bce8f8abb65a1c9e4c89ea1060 (patch)
tree6a2cd33154570eeb2053e8b25131c89a76a44274 /include
parent14578f0dd96a51686c27ea8452aed970aa008c5e (diff)
downloadlinux-3.10-84a093a9e74b52bce8f8abb65a1c9e4c89ea1060.tar.gz
linux-3.10-84a093a9e74b52bce8f8abb65a1c9e4c89ea1060.tar.bz2
linux-3.10-84a093a9e74b52bce8f8abb65a1c9e4c89ea1060.zip
[media] exynos4-is: Correct colorspace handling at FIMC-LITE
Ensure the colorspace is properly adjusted by the driver for YUV and Bayer image formats. The subdev try_fmt helper is simplified. 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 'include')
-rw-r--r--include/media/s5p_fimc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/s5p_fimc.h b/include/media/s5p_fimc.h
index 0afadb663bb..b975c285c8a 100644
--- a/include/media/s5p_fimc.h
+++ b/include/media/s5p_fimc.h
@@ -116,6 +116,7 @@ struct s5p_platform_fimc {
* @color: the driver's private color format id
* @memplanes: number of physically non-contiguous data planes
* @colplanes: number of physically contiguous data planes
+ * @colorspace: v4l2 colorspace (V4L2_COLORSPACE_*)
* @depth: per plane driver's private 'number of bits per pixel'
* @mdataplanes: bitmask indicating meta data plane(s), (1 << plane_no)
* @flags: flags indicating which operation mode format applies to
@@ -127,6 +128,7 @@ struct fimc_fmt {
u32 color;
u16 memplanes;
u16 colplanes;
+ u8 colorspace;
u8 depth[FIMC_MAX_PLANES];
u16 mdataplanes;
u16 flags;