40 #ifndef LIBDCP_REEL_PICTURE_ASSET_H
41 #define LIBDCP_REEL_PICTURE_ASSET_H
61 std::shared_ptr<const PictureAsset>
asset ()
const {
62 return asset_of_type<const PictureAsset>();
66 std::shared_ptr<PictureAsset>
asset () {
67 return asset_of_type<PictureAsset>();
70 virtual xmlpp::Node* write_to_cpl (xmlpp::Node* node, Standard standard)
const override;
71 bool equals (std::shared_ptr<const ReelPictureAsset>,
EqualityOptions, NoteHandler)
const;
82 _screen_aspect_ratio = a;
85 Fraction screen_aspect_ratio ()
const {
86 return _screen_aspect_ratio;
90 boost::optional<std::string> key_type ()
const override {
91 return std::string (
"MDIK");
95 Fraction _screen_aspect_ratio;
A fraction (i.e. a thing with an integer numerator and an integer denominator).
Part of a Reel's description which refers to a picture asset.
std::shared_ptr< PictureAsset > asset()
std::shared_ptr< const PictureAsset > asset() const
Fraction frame_rate() const
void set_screen_aspect_ratio(Fraction a)
Namespace for everything in libdcp.
A class to describe what "equality" means for a particular test.