vlc | branch: master | Steve Lhomme <[email protected]> | Thu Dec 13 08:45:58 2018 +0100| [81d1fb1059db941325b8b958b6846b616657a9e8] | committer: Steve Lhomme
es: add an enum for color range There are cases were we don't know the range. It's better not to write 0 as if we knew. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=81d1fb1059db941325b8b958b6846b616657a9e8 --- include/vlc_es.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/vlc_es.h b/include/vlc_es.h index c32fddb096..f123b5ddd6 100644 --- a/include/vlc_es.h +++ b/include/vlc_es.h @@ -334,6 +334,15 @@ typedef enum video_chroma_location_t #define CHROMA_LOCATION_MAX CHROMA_LOCATION_BOTTOM_CENTER } video_chroma_location_t; +typedef enum video_color_range_t +{ + COLOR_RANGE_UNDEF, + COLOR_RANGE_FULL, + COLOR_RANGE_LIMITED, +#define COLOR_RANGE_STUDIO COLOR_RANGE_LIMITED +#define COLOR_RANGE_MAX COLOR_RANGE_LIMITED +} video_color_range_t; + /** * video format description */ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
