- void check_existing_picture_asset ();
- bool existing_picture_frame_ok (FILE* asset_file, FILE* info_file) const;
-
- boost::shared_ptr<const Film> _film;
-
- DCPTimePeriod _period;
- /** the first frame index that does not already exist in our MXF */
- int _first_nonexistant_frame;
+ Frame check_existing_picture_asset (boost::filesystem::path asset);
+ bool existing_picture_frame_ok (dcp::File& asset_file, std::shared_ptr<InfoFileHandle> info_file, Frame frame) const;
+ std::shared_ptr<dcp::SubtitleAsset> empty_text_asset (TextType type, boost::optional<DCPTextTrack> track, bool with_dummy) const;
+
+ std::shared_ptr<dcp::ReelPictureAsset> create_reel_picture (std::shared_ptr<dcp::Reel> reel, std::list<ReferencedReelAsset> const & refs) const;
+ void create_reel_sound (std::shared_ptr<dcp::Reel> reel, std::list<ReferencedReelAsset> const & refs) const;
+ void create_reel_text (
+ std::shared_ptr<dcp::Reel> reel,
+ std::list<ReferencedReelAsset> const & refs,
+ FontIdMap const& fonts,
+ std::shared_ptr<dcpomatic::Font> chosen_interop_font,
+ int64_t duration,
+ boost::filesystem::path output_dcp,
+ bool ensure_subtitles,
+ std::set<DCPTextTrack> ensure_closed_captions
+ ) const;
+ void create_reel_markers (std::shared_ptr<dcp::Reel> reel) const;
+ float convert_vertical_position(StringText const& subtitle, dcp::Standard to) const;
+
+ dcpomatic::DCPTimePeriod _period;
+ /** the first picture frame index that does not already exist in our MXF */
+ int _first_nonexistent_frame;