40 #ifndef LIBDCP_ATMOS_ASSET_H
41 #define LIBDCP_ATMOS_ASSET_H
52 class AtmosAssetWriter;
64 std::shared_ptr<AtmosAssetWriter> start_write (boost::filesystem::path
file);
65 std::shared_ptr<AtmosAssetReader> start_read ()
const;
67 static std::string static_pkl_type (Standard);
68 std::string
pkl_type (Standard s)
const override {
69 return static_pkl_type (s);
76 int64_t intrinsic_duration ()
const {
77 return _intrinsic_duration;
87 return _max_channel_count;
92 return _max_object_count;
95 std::string atmos_id ()
const {
99 int atmos_version ()
const {
100 return _atmos_version;
104 friend class AtmosAssetWriter;
107 int64_t _intrinsic_duration = 0;
108 int _first_frame = 0;
109 int _max_channel_count = 0;
110 int _max_object_count = 0;
111 std::string _atmos_id;
112 int _atmos_version = 0;
AtmosAssetReader typedef.
Parent class for DCP assets, i.e. picture, sound, subtitles, closed captions, CPLs,...
boost::optional< boost::filesystem::path > file() const
An asset of Dolby ATMOS sound data.
std::string pkl_type(Standard s) const override
int max_channel_count() const
int max_object_count() const
A fraction (i.e. a thing with an integer numerator and an integer denominator).
Parent for classes which represent MXF files.
Namespace for everything in libdcp.