* @brief A set of classes to describe video images.
*/
-#ifndef DVDOMATIC_IMAGE_H
-#define DVDOMATIC_IMAGE_H
+#ifndef DCPOMATIC_IMAGE_H
+#define DCPOMATIC_IMAGE_H
#include <string>
#include <boost/shared_ptr.hpp>
virtual bool aligned () const = 0;
- virtual boost::shared_ptr<Image> clone () const = 0;
-
int components () const;
int lines (int) const;
/* Not allowed */
FilterBufferImage (FilterBufferImage const &);
FilterBufferImage& operator= (FilterBufferImage const &);
- boost::shared_ptr<Image> clone () const {
- assert (false);
- }
AVFilterBufferRef* _buffer;
int* _line_size;
public:
SimpleImage (AVPixelFormat, libdcp::Size, bool);
SimpleImage (SimpleImage const &);
+ SimpleImage (boost::shared_ptr<const Image>);
SimpleImage& operator= (SimpleImage const &);
~SimpleImage ();
int * stride () const;
libdcp::Size size () const;
bool aligned () const;
- boost::shared_ptr<Image> clone () const;
protected:
void allocate ();