wip: encoding; crashes on startup.
[dcpomatic.git] / src / lib / j2k_encoder_backend.h
1 #ifndef DCPOMATIC_J2K_ENCODER_BACKEND_H
2 #define DCPOMATIC_J2K_ENCODER_BACKEND_H
3
4 #include <dcp/data.h>
5 #include <boost/foreach.hpp>
6 #include <boost/noncopyable.hpp>
7 #include <boost/optional.hpp>
8 #include <boost/shared_ptr.hpp>
9
10
11 class DCPVideo;
12
13
14 class J2KEncoderBackend : public boost::noncopyable
15 {
16 public:
17         virtual std::vector<dcp::Data> encode (std::vector<boost::shared_ptr<DCPVideo> > video) = 0;
18
19         virtual int quantity () const {
20                 return 1;
21         }
22 };
23
24 #endif