X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimage.h;h=0237b3d1b8fc259c793a695694e9c8a3a75ebdee;hb=0a93c0df8fd6a40b627cc53d51a249628db6b795;hp=128b546b5cc7ac2a511e592fe98ae388d36556dd;hpb=3799e91d126d243d41c44dcb0ca1bfa66b53a57e;p=dcpomatic.git diff --git a/src/lib/image.h b/src/lib/image.h index 128b546b5..0237b3d1b 100644 --- a/src/lib/image.h +++ b/src/lib/image.h @@ -25,18 +25,22 @@ #ifndef DCPOMATIC_IMAGE_H #define DCPOMATIC_IMAGE_H + +#include "crop.h" #include "position.h" #include "position_image.h" -#include "types.h" +#include "video_range.h" extern "C" { #include } #include #include + struct AVFrame; class Socket; + class Image : public std::enable_shared_from_this { public: @@ -95,10 +99,6 @@ public: size_t memory_used () const; - dcp::ArrayData as_png () const; - - void png_error (char const * message); - static std::shared_ptr ensure_alignment (std::shared_ptr image, Alignment alignment); private: