diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-08-22 12:32:52 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-08-22 12:32:52 +0100 |
| commit | c70373ba74504ae39453c2a41ce1ab047fd441b4 (patch) | |
| tree | 020b40133c93a797341b7a19c46c787f449cebe1 /src/cpl.h | |
| parent | dbdef419973ea00817022a4352126925025857dd (diff) | |
Rough support for 3D.
Diffstat (limited to 'src/cpl.h')
| -rw-r--r-- | src/cpl.h | 25 |
1 files changed, 21 insertions, 4 deletions
@@ -27,12 +27,11 @@ namespace libdcp { -/** CPL MainPicture node */ -class MainPicture : public XMLNode +class Picture : public XMLNode { public: - MainPicture () {} - MainPicture (xmlpp::Node const * node); + Picture () {} + Picture (xmlpp::Node const * node); std::string id; std::string annotation_text; @@ -44,6 +43,23 @@ public: Fraction screen_aspect_ratio; }; + +/** CPL MainPicture node */ +class MainPicture : public Picture +{ +public: + MainPicture () {} + MainPicture (xmlpp::Node const * node); +}; + +/** CPL MainStereoscopicPicture node */ +class MainStereoscopicPicture : public Picture +{ +public: + MainStereoscopicPicture () {} + MainStereoscopicPicture (xmlpp::Node const * node); +}; + /** CPL MainSound node */ class MainSound : public XMLNode { @@ -82,6 +98,7 @@ public: CPLAssetList (xmlpp::Node const * node); boost::shared_ptr<MainPicture> main_picture; + boost::shared_ptr<MainStereoscopicPicture> main_stereoscopic_picture; boost::shared_ptr<MainSound> main_sound; boost::shared_ptr<MainSubtitle> main_subtitle; }; |
