X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimage.h;h=23c85e92b044d1371650805ee6364b49a9063165;hb=a5139de256c287459e04c75712614b2e7246a89a;hp=5eba11041713f42ecc252648a7789505dbba467b;hpb=2e504b33eb9f38cac629ad31b7c107fb0cf5efda;p=dcpomatic.git diff --git a/src/lib/image.h b/src/lib/image.h index 5eba11041..23c85e92b 100644 --- a/src/lib/image.h +++ b/src/lib/image.h @@ -34,6 +34,7 @@ extern "C" { #include #include "util.h" #include "position.h" +#include "position_image.h" class Scaler; @@ -63,6 +64,7 @@ public: boost::shared_ptr crop_scale_window (Crop c, dcp::Size, dcp::Size, Scaler const *, AVPixelFormat, bool aligned) const; void make_black (); + void make_transparent (); void alpha_blend (boost::shared_ptr image, Position pos); void copy (boost::shared_ptr image, Position pos); @@ -73,6 +75,8 @@ public: return _pixel_format; } + std::string digest () const; + private: friend class pixel_formats_test; @@ -89,4 +93,6 @@ private: bool _aligned; }; +extern PositionImage merge (std::list images); + #endif