diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-10-24 22:34:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-10-24 22:34:45 +0100 |
| commit | 819590f9f8217235ebf4467b1d24e1aec1f97c29 (patch) | |
| tree | f493c7f715e646a332431a510eff58e09b0a9d59 /src/lib/video_content.h | |
| parent | 360f49fad409d1e37318ffcf3069c4111c19c7b8 (diff) | |
Add basics of colourspace conversion bypass (#266).
Diffstat (limited to 'src/lib/video_content.h')
| -rw-r--r-- | src/lib/video_content.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/video_content.h b/src/lib/video_content.h index 3a7b44306..9aa3be521 100644 --- a/src/lib/video_content.h +++ b/src/lib/video_content.h @@ -92,7 +92,9 @@ public: void set_bottom_crop (int); void set_scale (VideoContentScale); + void unset_colour_conversion (); void set_colour_conversion (ColourConversion); + void set_default_colour_conversion (); VideoFrameType video_frame_type () const { boost::mutex::scoped_lock lm (_mutex); @@ -130,7 +132,7 @@ public: return _scale; } - ColourConversion colour_conversion () const { + boost::optional<ColourConversion> colour_conversion () const { boost::mutex::scoped_lock lm (_mutex); return _colour_conversion; } @@ -156,13 +158,11 @@ private: friend class best_dcp_frame_rate_test_double; friend class audio_sampling_rate_test; - void setup_default_colour_conversion (); - libdcp::Size _video_size; VideoFrameType _video_frame_type; Crop _crop; VideoContentScale _scale; - ColourConversion _colour_conversion; + boost::optional<ColourConversion> _colour_conversion; }; #endif |
