diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-09-28 19:15:03 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-09-28 19:15:03 +0100 |
| commit | eb772d227c378e17c99b5d609b81d0cc4b664d2c (patch) | |
| tree | ccc3b4c75316d76fd441767e29ed1e0d8d3908a6 /src/atmos_asset.h | |
| parent | fba372ef15a9dd9c6f840e5c03bdb85146657955 (diff) | |
| parent | 5aba207171b7f1da91968bf2197c5668e8aacb4e (diff) | |
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
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; }; } |
