Move video level conversion for RGB from FFmpegImageProxy to Image.
[dcpomatic.git] / src / lib / image.h
index 2ef7d07974d21432979e82cea840a35ab5a9967b..cb8f11ffc27d0eab3ab4ba86d4646b4498bc7b7a 100644 (file)
@@ -80,7 +80,6 @@ public:
        void alpha_blend (std::shared_ptr<const Image> image, Position<int> pos);
        void copy (std::shared_ptr<const Image> image, Position<int> pos);
        void fade (float);
-       void video_range_to_full_range ();
 
        void read_from_socket (std::shared_ptr<Socket>);
        void write_to_socket (std::shared_ptr<Socket>) 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