diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-09-27 12:30:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-09-27 12:30:04 +0100 |
| commit | 214d72306bdfdd617c3e6a7cfeb5c5d76d7f5e72 (patch) | |
| tree | 7af52f9614b84e975586c7c8fd328931adc14306 /src/atmos_asset.h | |
| parent | 52b563097e355b098fc9da13cb25f135f0d9bf9e (diff) | |
Add Atmos read/write and untested MXF decryption tool.1.0-templates
Diffstat (limited to 'src/atmos_asset.h')
| -rw-r--r-- | src/atmos_asset.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/atmos_asset.h b/src/atmos_asset.h index 2e99e18b..8e9190c8 100644 --- a/src/atmos_asset.h +++ b/src/atmos_asset.h @@ -36,14 +36,21 @@ #include "asset.h" #include "mxf.h" +#include "atmos_asset_reader.h" namespace dcp { +class AtmosAssetWriter; + class AtmosAsset : public Asset, public MXF { public: + AtmosAsset (Fraction edit_rate, int first_frame, int max_channel_count, int max_object_count, std::string atmos_id, int atmos_version); explicit AtmosAsset (boost::filesystem::path file); + boost::shared_ptr<AtmosAssetWriter> start_write (boost::filesystem::path file); + boost::shared_ptr<AtmosAssetReader> start_read () const; + std::string pkl_type (Standard) const; Fraction edit_rate () const { @@ -69,12 +76,24 @@ public: return _max_object_count; } + std::string atmos_id () const { + return _atmos_id; + } + + int atmos_version () const { + return _atmos_version; + } + private: + friend class AtmosAssetWriter; + Fraction _edit_rate; int64_t _intrinsic_duration; int _first_frame; int _max_channel_count; int _max_object_count; + std::string _atmos_id; + int _atmos_version; }; } |
