X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fplayer_video.h;h=3cd5594097baa42e7a3727ba59c83d6ae0544d18;hb=0a3f387f5d39da2ca38ec90a9593c1b598040dd7;hp=a874fd3b262a0afb28459e7c44cbab31c6c123d0;hpb=254b3044d72de6b033d7c584f5abd2b9aa70aad5;p=dcpomatic.git diff --git a/src/lib/player_video.h b/src/lib/player_video.h index a874fd3b2..3cd559409 100644 --- a/src/lib/player_video.h +++ b/src/lib/player_video.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2015 Carl Hetherington + Copyright (C) 2013-2019 Carl Hetherington This file is part of DCP-o-matic. @@ -31,6 +31,7 @@ extern "C" { } #include #include +#include class Image; class ImageProxy; @@ -53,6 +54,7 @@ public: Eyes, Part, boost::optional, + VideoRange video_range, boost::weak_ptr, boost::optional ); @@ -116,6 +118,7 @@ private: Eyes _eyes; Part _part; boost::optional _colour_conversion; + VideoRange _video_range; boost::optional _text; /** Content that we came from. This is so that reset_metadata() can work, and also * for variant:swaroop's non-skippable ads. @@ -126,6 +129,14 @@ private: mutable boost::mutex _mutex; mutable boost::shared_ptr _image; + /** _crop that was used to make _image */ + mutable Crop _image_crop; + /** _inter_size that was used to make _image */ + mutable dcp::Size _image_inter_size; + /** _out_size that was used to make _image */ + mutable dcp::Size _image_out_size; + /** _fade that was used to make _image */ + mutable boost::optional _image_fade; }; #endif