X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fimage.h;fp=src%2Flib%2Fimage.h;h=5eba11041713f42ecc252648a7789505dbba467b;hp=2d9f322310c2c3e66d5a9d4e05f9c88deffb3b51;hb=2e504b33eb9f38cac629ad31b7c107fb0cf5efda;hpb=48b2c7b8ec57e72f2f27d5080e54e4b3c3fcda3d diff --git a/src/lib/image.h b/src/lib/image.h index 2d9f32231..5eba11041 100644 --- a/src/lib/image.h +++ b/src/lib/image.h @@ -31,16 +31,16 @@ extern "C" { #include #include } -#include +#include #include "util.h" #include "position.h" class Scaler; -class Image : public libdcp::Image +class Image : public dcp::Image { public: - Image (AVPixelFormat, libdcp::Size, bool); + Image (AVPixelFormat, dcp::Size, bool); Image (AVFrame *); Image (Image const &); Image (boost::shared_ptr, bool); @@ -50,17 +50,17 @@ public: uint8_t ** data () const; int * line_size () const; int * stride () const; - libdcp::Size size () const; + dcp::Size size () const; bool aligned () const; int components () const; int line_factor (int) const; int lines (int) const; - boost::shared_ptr scale (libdcp::Size, Scaler const *, AVPixelFormat, bool aligned) const; + boost::shared_ptr scale (dcp::Size, Scaler const *, AVPixelFormat, bool aligned) const; boost::shared_ptr crop (Crop c, bool aligned) const; - boost::shared_ptr crop_scale_window (Crop c, libdcp::Size, libdcp::Size, Scaler const *, AVPixelFormat, bool aligned) const; + boost::shared_ptr crop_scale_window (Crop c, dcp::Size, dcp::Size, Scaler const *, AVPixelFormat, bool aligned) const; void make_black (); void alpha_blend (boost::shared_ptr image, Position pos);