projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wake UI with a wxEVT_IDLE which is the event that SignalManager::ui_idle is tied to.
[dcpomatic.git]
/
src
/
lib
/
image_examiner.h
diff --git
a/src/lib/image_examiner.h
b/src/lib/image_examiner.h
index f5d5150749971c6f874880802e1da1ff09b96555..cd8964d0adc7572979b81369b25be41cc1392f46 100644
(file)
--- a/
src/lib/image_examiner.h
+++ b/
src/lib/image_examiner.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2013 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2013
-2014
Carl Hetherington <cth@carlh.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-19,10
+19,6
@@
#include "video_examiner.h"
#include "video_examiner.h"
-namespace Magick {
- class Image;
-}
-
class ImageContent;
class ImageExaminer : public VideoExaminer
class ImageContent;
class ImageExaminer : public VideoExaminer
@@
-30,15
+26,17
@@
class ImageExaminer : public VideoExaminer
public:
ImageExaminer (boost::shared_ptr<const Film>, boost::shared_ptr<const ImageContent>, boost::shared_ptr<Job>);
public:
ImageExaminer (boost::shared_ptr<const Film>, boost::shared_ptr<const ImageContent>, boost::shared_ptr<Job>);
-
float
video_frame_rate () const;
-
lib
dcp::Size video_size () const;
-
Video
Frame video_length () const {
+
boost::optional<double>
video_frame_rate () const;
+ dcp::Size video_size () const;
+ Frame video_length () const {
return _video_length;
}
return _video_length;
}
+ bool yuv () const;
private:
boost::weak_ptr<const Film> _film;
boost::shared_ptr<const ImageContent> _image_content;
private:
boost::weak_ptr<const Film> _film;
boost::shared_ptr<const ImageContent> _image_content;
- boost::optional<libdcp::Size> _video_size;
- VideoFrame _video_length;
+ boost::optional<dcp::Size> _video_size;
+ Frame _video_length;
+ bool _yuv;
};
};