diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-05-25 00:13:36 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-05-25 00:13:36 +0100 |
| commit | 5ae794047e5ceee4502e59211f0083a60224f4bd (patch) | |
| tree | af66a40208e0f10621ea543d25d2ab662cb20503 /src/lib/util.h | |
| parent | 64840121f4889a79f63a7168da88e5918092329a (diff) | |
3cb5a4c2064d4cf4d8cbdca75a84615a6c56fb7c from master; use j2c_uuid and pcm_uuid for picture/sound MXF filenames.
Diffstat (limited to 'src/lib/util.h')
| -rw-r--r-- | src/lib/util.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/util.h b/src/lib/util.h index 44bd7dced..5413e4814 100644 --- a/src/lib/util.h +++ b/src/lib/util.h @@ -42,6 +42,12 @@ extern "C" { #undef check +namespace dcp { + class PictureMXF; + class SoundMXF; + class SubtitleContent; +} + /** The maximum number of audio channels that we can have in a DCP */ #define MAX_DCP_AUDIO_CHANNELS 12 /** Message broadcast to find possible encoding servers */ @@ -97,6 +103,9 @@ extern dcp::FrameInfo read_frame_info (FILE* file, int frame, Eyes eyes); extern void write_frame_info (FILE* file, int frame, Eyes eyes, dcp::FrameInfo info); extern int64_t video_frames_to_audio_frames (VideoFrame v, float audio_sample_rate, float frames_per_second); extern std::map<std::string, std::string> split_get_request (std::string url); +extern std::string video_mxf_filename (boost::shared_ptr<dcp::PictureMXF> mxf); +extern std::string audio_mxf_filename (boost::shared_ptr<dcp::SoundMXF> mxf); +extern std::string subtitle_content_filename (boost::shared_ptr<dcp::SubtitleContent> content); #endif |
