-
- class Reel {
- public:
- Reel ()
- : first_nonexistant_frame (0)
- , last_written_video_frame (-1)
- , last_written_eyes (EYES_RIGHT)
- , total_written_audio_frames (0)
- {}
-
- DCPTimePeriod period;
- /** the first frame index that does not already exist in our MXF */
- int first_nonexistant_frame;
- /** the data of the last written frame, if there is one */
- boost::optional<Data> last_written[EYES_COUNT];
- /** the index of the last written video frame within the reel */
- int last_written_video_frame;
- Eyes last_written_eyes;
- /** the number of audio frames that have been written to the reel */
- int total_written_audio_frames;
-
- boost::shared_ptr<dcp::PictureAsset> picture_asset;
- boost::shared_ptr<dcp::PictureAssetWriter> picture_asset_writer;
- boost::shared_ptr<dcp::SoundAsset> sound_asset;
- boost::shared_ptr<dcp::SoundAssetWriter> sound_asset_writer;
- boost::shared_ptr<dcp::SubtitleAsset> subtitle_asset;
- };
-