diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-06-06 21:17:56 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-06-06 21:17:56 +0200 |
| commit | 3185f6330dc6ccc8ff86a0925602880c67951213 (patch) | |
| tree | ba8ec5ff9b27bf59de0a5f65ea5f4252cb02d936 /src/wx/optimisation.h | |
| parent | cfa0a559a8feec79d1e8acd20d4b11ef8cd01513 (diff) | |
Support optimised rendering of YUV420P in OpenGL.
Diffstat (limited to 'src/wx/optimisation.h')
| -rw-r--r-- | src/wx/optimisation.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/wx/optimisation.h b/src/wx/optimisation.h new file mode 100644 index 000000000..5d5a0197f --- /dev/null +++ b/src/wx/optimisation.h @@ -0,0 +1,37 @@ +/* + Copyright (C) 2019-2021 Carl Hetherington <cth@carlh.net> + + This file is part of DCP-o-matic. + + DCP-o-matic is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + DCP-o-matic is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with DCP-o-matic. If not, see <http://www.gnu.org/licenses/>. + +*/ + + +#ifndef DCPOMATIC_OPTIMISATION_H +#define DCPOMATIC_OPTIMISATION_H + + +/** An optimisation that can be requested of the FilmViewer if it is known that + * all content will be the same type. + */ +enum class Optimisation +{ + JPEG2000, ///< all content is JPEG2000 + MPEG2, ///< all content is Interop MPEG2 + NONE, ///< viewer must be prepared for anything +}; + + +#endif |
