- AVPixelFormat _pixel_format; ///< FFmpeg's way of describing the pixel format of this Image
-};
-
-/** @class SimpleImage
- * @brief An Image for which memory is allocated using a `simple' av_malloc().
- */
-class SimpleImage : public Image
-{
-public:
- SimpleImage (AVPixelFormat, libdcp::Size, bool);
- SimpleImage (AVFrame *);
- SimpleImage (SimpleImage const &);
- SimpleImage (boost::shared_ptr<const Image>);
- SimpleImage& operator= (SimpleImage const &);
- ~SimpleImage ();
-
- uint8_t ** data () const;
- int * line_size () const;
- int * stride () const;
- libdcp::Size size () const;
- bool aligned () const;
-
-protected: