projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use AV_ prefixes on some FFmpeg bits.
[dcpomatic.git]
/
src
/
lib
/
dcp_decoder.h
diff --git
a/src/lib/dcp_decoder.h
b/src/lib/dcp_decoder.h
index 89931aa38361695ccc1e7750b3d5956761dde341..6fdbd946af348dcd2f99a7d8306e5c8e6dabeff4 100644
(file)
--- a/
src/lib/dcp_decoder.h
+++ b/
src/lib/dcp_decoder.h
@@
-17,6
+17,10
@@
*/
*/
+/** @file src/dcp_decoder.h
+ * @brief A decoder of existing DCPs.
+ */
+
#include "video_decoder.h"
#include "audio_decoder.h"
#include "subtitle_decoder.h"
#include "video_decoder.h"
#include "audio_decoder.h"
#include "subtitle_decoder.h"
@@
-26,17
+30,25
@@
namespace dcp {
}
class DCPContent;
}
class DCPContent;
-
class Log
;
+
struct dcp_subtitle_within_dcp_test
;
class DCPDecoder : public VideoDecoder, public AudioDecoder, public SubtitleDecoder
{
public:
class DCPDecoder : public VideoDecoder, public AudioDecoder, public SubtitleDecoder
{
public:
- DCPDecoder (boost::shared_ptr<const DCPContent>);
+ DCPDecoder (boost::shared_ptr<const DCPContent>, bool fast);
+
+ std::list<boost::shared_ptr<dcp::Reel> > reels () const {
+ return _reels;
+ }
private:
private:
- void seek (ContentTime t, bool accurate);
+ friend struct dcp_subtitle_within_dcp_test;
+
bool pass ();
bool pass ();
- std::list<ContentTimePeriod> subtitles_during (ContentTimePeriod, bool starting) const;
+ void seek (ContentTime t, bool accurate);
+
+ std::list<ContentTimePeriod> image_subtitles_during (ContentTimePeriod, bool starting) const;
+ std::list<ContentTimePeriod> text_subtitles_during (ContentTimePeriod, bool starting) const;
ContentTime _next;
std::list<boost::shared_ptr<dcp::Reel> > _reels;
ContentTime _next;
std::list<boost::shared_ptr<dcp::Reel> > _reels;