diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-08-17 21:47:08 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-08-17 21:47:08 +0100 |
| commit | 2499c41097f8410cb3016e095a85d68979485a7b (patch) | |
| tree | 331a23489d3be42ede2861311a797792ba663805 /src/lib/video_content.h | |
| parent | 89af81886eeee57861bc23984a0583bec76d536d (diff) | |
Various bits mostly related to colour conversions.
Diffstat (limited to 'src/lib/video_content.h')
| -rw-r--r-- | src/lib/video_content.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/video_content.h b/src/lib/video_content.h index 97ef6a9fa..72c72625b 100644 --- a/src/lib/video_content.h +++ b/src/lib/video_content.h @@ -21,6 +21,7 @@ #define DCPOMATIC_VIDEO_CONTENT_H #include "content.h" +#include "colour_conversion.h" class VideoExaminer; class Ratio; @@ -33,6 +34,7 @@ public: static int const VIDEO_FRAME_TYPE; static int const VIDEO_CROP; static int const VIDEO_RATIO; + static int const COLOUR_CONVERSION; }; class VideoContent : public virtual Content @@ -71,6 +73,8 @@ public: void set_top_crop (int); void set_bottom_crop (int); + void set_colour_conversion (ColourConversion); + VideoFrameType video_frame_type () const { boost::mutex::scoped_lock lm (_mutex); return _video_frame_type; @@ -88,6 +92,11 @@ public: return _ratio; } + ColourConversion colour_conversion () const { + boost::mutex::scoped_lock lm (_mutex); + return _colour_conversion; + } + libdcp::Size video_size_after_3d_split () const; protected: @@ -106,6 +115,7 @@ private: VideoFrameType _video_frame_type; Crop _crop; Ratio const * _ratio; + ColourConversion _colour_conversion; }; #endif |
