projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Supporters update.
[dcpomatic.git]
/
src
/
wx
/
simple_video_view.h
diff --git
a/src/wx/simple_video_view.h
b/src/wx/simple_video_view.h
index 323047adaca9182fcc237c0dfa6a330aa3f6cfd7..e19068979b5ef2c4724f6aa2ddec848cf1393a0f 100644
(file)
--- a/
src/wx/simple_video_view.h
+++ b/
src/wx/simple_video_view.h
@@
-18,41
+18,46
@@
*/
*/
+
#include "video_view.h"
#include "video_view.h"
+#include "lib/filter.h"
#include "lib/position.h"
#include "lib/position.h"
-#include "lib/
warnings
.h"
+#include "lib/
video_filter_graph_set
.h"
#include <dcp/types.h>
#include <dcp/types.h>
-DCPOMATIC_DISABLE_WARNINGS
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
#include <wx/wx.h>
-DCPOMATIC_ENABLE_WARNINGS
+LIBDCP_ENABLE_WARNINGS
+
class FilmViewer;
class FilmViewer;
+class Filter;
+
class SimpleVideoView : public VideoView
{
public:
SimpleVideoView (FilmViewer* viewer, wxWindow* parent);
class SimpleVideoView : public VideoView
{
public:
SimpleVideoView (FilmViewer* viewer, wxWindow* parent);
- wxWindow* get () const {
+ wxWindow* get () const
override
{
return _panel;
}
return _panel;
}
- void update ();
- void start ();
-
bool display_next_frame (bool non_blocking)
;
+ void update ()
override
;
+ void start ()
override
;
+
NextFrameResult display_next_frame (bool non_blocking) override
;
private:
private:
- void set_image (boost::shared_ptr<const Image> image) {
- _image = image;
- }
-
void refresh_panel ();
void paint ();
void timer ();
wxPanel* _panel;
void refresh_panel ();
void paint ();
void timer ();
wxPanel* _panel;
-
boost
::shared_ptr<const Image> _image;
+
std
::shared_ptr<const Image> _image;
wxTimer _timer;
Position<int> _inter_position;
dcp::Size _inter_size;
wxTimer _timer;
Position<int> _inter_position;
dcp::Size _inter_size;
+
+ Filter _rec2020_filter;
+ VideoFilterGraphSet _rec2020_filter_graph;
};
};