summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>2016-07-16 10:58:09 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-10-21 19:50:27 +0200
commitca2b32da5988159d4d997aac9e4a87447046aedf (patch)
tree9cace49f7d68403842ea6176d97bce72f8ea1e91 /include/media
parent[media] vivid: Rename variable (diff)
downloadlinux-ca2b32da5988159d4d997aac9e4a87447046aedf.tar.xz
linux-ca2b32da5988159d4d997aac9e4a87447046aedf.zip
[media] vivid: Introduce TPG_COLOR_ENC_LUMA
Simplifies handling of Gray formats. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/v4l2-tpg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/v4l2-tpg.h b/include/media/v4l2-tpg.h
index 4a40f9b79053..8abed92317e8 100644
--- a/include/media/v4l2-tpg.h
+++ b/include/media/v4l2-tpg.h
@@ -91,6 +91,7 @@ enum tgp_color_enc {
TGP_COLOR_ENC_RGB,
TGP_COLOR_ENC_YCBCR,
TGP_COLOR_ENC_HSV,
+ TGP_COLOR_ENC_LUMA,
};
extern const char * const tpg_aspect_strings[];