X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimage.h;h=cb8f11ffc27d0eab3ab4ba86d4646b4498bc7b7a;hb=62f9b78a2eb5f0fc6b9028264bac6ad501d83309;hp=7edea218666da2bd2c9275861d5eb2c64c65c82f;hpb=2aa6fd88e6d334c040d421938e425bd2f89983a7;p=dcpomatic.git diff --git a/src/lib/image.h b/src/lib/image.h index 7edea2186..cb8f11ffc 100644 --- a/src/lib/image.h +++ b/src/lib/image.h @@ -41,7 +41,7 @@ class Image : public std::enable_shared_from_this { public: Image (AVPixelFormat p, dcp::Size s, bool aligned); - explicit Image (AVFrame *); + explicit Image (AVFrame const *); explicit Image (Image const &); Image (std::shared_ptr, bool); Image& operator= (Image const &); @@ -80,7 +80,6 @@ public: void alpha_blend (std::shared_ptr image, Position pos); void copy (std::shared_ptr image, Position pos); void fade (float); - void video_range_to_full_range (); void read_from_socket (std::shared_ptr); void write_to_socket (std::shared_ptr) const; @@ -106,6 +105,7 @@ private: void make_part_black (int x, int w); void yuv_16_black (uint16_t, bool); static uint16_t swap_16 (uint16_t); + void video_range_to_full_range (); dcp::Size _size; AVPixelFormat _pixel_format; ///< FFmpeg's way of describing the pixel format of this Image