[vlc-commits] vlc_es: add color spaces aliases

Francois Cartegnie git at videolan.org
Mon Sep 5 15:31:30 CEST 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Sep  5 11:27:50 2016 +0200| [5a83f9576ee52aa45ea377532deac4828fb3c0d2] | committer: Francois Cartegnie

vlc_es: add color spaces aliases

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5a83f9576ee52aa45ea377532deac4828fb3c0d2
---

 include/vlc_es.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/vlc_es.h b/include/vlc_es.h
index a933b11..d695629 100644
--- a/include/vlc_es.h
+++ b/include/vlc_es.h
@@ -262,6 +262,9 @@ typedef enum video_color_space_t
     COLOR_SPACE_BT601,
     COLOR_SPACE_BT709,
     COLOR_SPACE_BT2020,
+#define COLOR_SPACE_SRGB      COLOR_SPACE_BT709
+#define COLOR_SPACE_SMPTE_170 COLOR_SPACE_BT601
+#define COLOR_SPACE_SMPTE_240 COLOR_SPACE_SMPTE_170
 } video_color_space_t;
 
 /**



More information about the vlc-commits mailing list