summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado2016-07-15 15:20:08 +0200
committerMauro Carvalho Chehab2016-10-21 19:49:14 +0200
commit54fb15348385a1acf5a7bc1417bdd94c9d5115bb (patch)
treea7b2f90b3f93551a6bcb53b15c7950d8d4b8f6f5 /include/media
parent[media] vivid: Code refactor for color encoding (diff)
downloadkernel-qcow2-linux-54fb15348385a1acf5a7bc1417bdd94c9d5115bb.tar.gz
kernel-qcow2-linux-54fb15348385a1acf5a7bc1417bdd94c9d5115bb.tar.xz
kernel-qcow2-linux-54fb15348385a1acf5a7bc1417bdd94c9d5115bb.zip
[media] vivid: Add support for HSV formats
This patch adds support for V4L2_PIX_FMT_HSV24 and V4L2_PIX_FMT_HSV32. 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 b4cb8f34cd87..4a40f9b79053 100644
--- a/include/media/v4l2-tpg.h
+++ b/include/media/v4l2-tpg.h
@@ -90,6 +90,7 @@ enum tpg_move_mode {
enum tgp_color_enc {
TGP_COLOR_ENC_RGB,
TGP_COLOR_ENC_YCBCR,
+ TGP_COLOR_ENC_HSV,
};
extern const char * const tpg_aspect_strings[];