Obey requests to change the video range of RGB content.
[dcpomatic.git] / src / lib / types.h
index 2ba0408adb3019b2f59c6b6569948be117f7a27e..a10b26a6384fb355704920e43fd2fdf40d60fec5 100644 (file)
@@ -139,12 +139,17 @@ enum ChangeType
        CHANGE_TYPE_CANCELLED
 };
 
+
 enum VideoRange
 {
        VIDEO_RANGE_FULL, ///< full,  or "JPEG" (0-255 for 8-bit)
        VIDEO_RANGE_VIDEO ///< video, or "MPEG" (16-235 for 8-bit)
 };
 
+extern std::string video_range_to_string (VideoRange r);
+extern VideoRange string_to_video_range (std::string s);
+
+
 /** Type of captions.
  *
  *  The generally accepted definitions seem to be: