From 214d72306bdfdd617c3e6a7cfeb5c5d76d7f5e72 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 27 Sep 2016 12:30:04 +0100 Subject: Add Atmos read/write and untested MXF decryption tool. --- src/atmos_asset.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/atmos_asset.h') 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 start_write (boost::filesystem::path file); + boost::shared_ptr 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; }; } -- cgit v1.2.3