diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-09-11 18:52:05 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-09-27 13:41:46 +0200 |
| commit | 7245e46453a82886739a45bd78fcdf9e8401367c (patch) | |
| tree | d8f8b3d420eecfc958ac78df40c26f77d34f47d3 /src/wx/film_viewer.h | |
| parent | e9ae050b0b15c91c3f591ad84938e60d271357b3 (diff) | |
When the player is used in OpenGL mode, pass unscaled XYZ data through to the shader and do colourspace conversion there.
Diffstat (limited to 'src/wx/film_viewer.h')
| -rw-r--r-- | src/wx/film_viewer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h index c467eedc1..5e5bb7916 100644 --- a/src/wx/film_viewer.h +++ b/src/wx/film_viewer.h @@ -98,6 +98,7 @@ public: void set_outline_subtitles (boost::optional<dcpomatic::Rect<double>>); void set_eyes (Eyes e); void set_pad_black (bool p); + void set_optimise_for_j2k (bool o); void slow_refresh (); @@ -187,6 +188,11 @@ private: boost::optional<int> _dcp_decode_reduction; + /** true to assume that this viewer is only being used for JPEG2000 sources + * so it can optimise accordingly. + */ + bool _optimise_for_j2k = false; + ClosedCaptionsDialog* _closed_captions_dialog = nullptr; bool _outline_content = false; |
