X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ffilm.h;h=b7a9f94ace3a03c62ab69102684672703aae1135;hb=a60668a37f05a125954ac5e03db0530995ac5769;hp=41b04c997463a66df784cf7f37310a6c096c1414;hpb=0185ba27b0e9c52a173147c1380ec5f345109afc;p=dcpomatic.git diff --git a/src/lib/film.h b/src/lib/film.h index 41b04c997..b7a9f94ac 100644 --- a/src/lib/film.h +++ b/src/lib/film.h @@ -71,6 +71,7 @@ class Ratio; class Job; class Film; struct isdcf_name_test; +struct isdcf_name_with_atmos; struct recover_test_2d_encrypted; struct atmos_encrypted_passthrough_test; @@ -166,16 +167,7 @@ public: FrameRateChange active_frame_rate_change (dcpomatic::DCPTime) const; std::pair speed_up_range (int dcp_frame_rate) const; - dcp::EncryptedKDM make_kdm ( - dcp::Certificate recipient, - std::vector trusted_devices, - boost::filesystem::path cpl_file, - dcp::LocalTime from, - dcp::LocalTime until, - dcp::Formulation formulation, - bool disable_forensic_marking_picture, - boost::optional disable_forensic_marking_audio - ) const; + dcp::DecryptedKDM make_kdm(boost::filesystem::path cpl_file, dcp::LocalTime from, dcp::LocalTime until) const; int state_version () const { return _state_version; @@ -215,9 +207,7 @@ public: bool last_written_by_earlier_than(int major, int minor, int micro) const; - /** Identifiers for the parts of our state; - used for signalling changes. - */ + /** Identifiers for the parts of our state; used for signalling changes */ enum class Property { NONE, NAME, @@ -238,6 +228,7 @@ public: THREE_D, SEQUENCE, INTEROP, + LIMIT_TO_SMPTE_BV20, AUDIO_PROCESSOR, REEL_TYPE, REEL_LENGTH, @@ -322,6 +313,10 @@ public: return _interop; } + bool limit_to_smpte_bv20() const { + return _limit_to_smpte_bv20; + } + AudioProcessor const * audio_processor () const { return _audio_processor; } @@ -443,6 +438,7 @@ public: void set_isdcf_date_today (); void set_sequence (bool); void set_interop (bool); + void set_limit_to_smpte_bv20(bool); void set_audio_processor (AudioProcessor const * processor); void set_reel_type (ReelType); void set_reel_length (int64_t); @@ -493,6 +489,7 @@ public: private: friend struct ::isdcf_name_test; + friend struct ::isdcf_name_with_atmos; friend struct ::recover_test_2d_encrypted; friend struct ::atmos_encrypted_passthrough_test; template friend class ChangeSignaller; @@ -553,6 +550,7 @@ private: bool _three_d; bool _sequence; bool _interop; + bool _limit_to_smpte_bv20; AudioProcessor const * _audio_processor; ReelType _reel_type; /** Desired reel length in bytes, if _reel_type == REELTYPE_BY_LENGTH */