diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-08-13 14:55:20 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-13 20:23:29 +0200 |
| commit | 50e85cf64504b7fc38b4129aa750c2def28b95fd (patch) | |
| tree | 12d30de6149bc7fa39ab388397da128a7d426a44 /src/lib/j2k_encoder_backend.h | |
| parent | dbb5577ff761cfd25f154fc54c2dc7e111a31c77 (diff) | |
Rearrange encoding so that the different methods / backends are not all crammed into DCPVideo.
Diffstat (limited to 'src/lib/j2k_encoder_backend.h')
| -rw-r--r-- | src/lib/j2k_encoder_backend.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/lib/j2k_encoder_backend.h b/src/lib/j2k_encoder_backend.h new file mode 100644 index 000000000..7688e5f15 --- /dev/null +++ b/src/lib/j2k_encoder_backend.h @@ -0,0 +1,19 @@ +#ifndef DCPOMATIC_J2K_ENCODER_BACKEND_H +#define DCPOMATIC_J2K_ENCODER_BACKEND_H + +#include <dcp/data.h> +#include <boost/noncopyable.hpp> +#include <boost/optional.hpp> +#include <boost/shared_ptr.hpp> + + +class DCPVideo; + + +class J2KEncoderBackend : public boost::noncopyable +{ +public: + virtual boost::optional<dcp::Data> encode (boost::shared_ptr<DCPVideo> video) = 0; +}; + +#endif |
