diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-02-23 00:09:24 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-08-23 20:32:49 +0200 |
| commit | 1d0b111ac9692dedfd4a23c268f362e522105bcf (patch) | |
| tree | 80b73a35efb80cce520055a343818f57eb267cbc /src/lib/gpu_j2k_encode_worker.h | |
| parent | 90154a126c2b71b4a574ab21b366bd6c72ff6d17 (diff) | |
Add stub GPU encode worker.
Diffstat (limited to 'src/lib/gpu_j2k_encode_worker.h')
| -rw-r--r-- | src/lib/gpu_j2k_encode_worker.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/lib/gpu_j2k_encode_worker.h b/src/lib/gpu_j2k_encode_worker.h new file mode 100644 index 000000000..0745b7199 --- /dev/null +++ b/src/lib/gpu_j2k_encode_worker.h @@ -0,0 +1,31 @@ +/* + Copyright (C) 2019 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/>. + +*/ + +#include "j2k_encode_worker.h" +#include <dcp/data.h> + +class GPUJ2KEncodeWorker : public J2KEncodeWorker +{ +public: + GPUJ2KEncodeWorker (); + + boost::optional<dcp::Data> encode (boost::shared_ptr<DCPVideo>); + void log_thread_start (); +}; |
