Commit 81d1fb10 authored by Steve Lhomme's avatar 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.
parent aa786e16
......@@ -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
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment