Add another believed-correct subtitle timing fix.
[dcpomatic.git] / src / lib / image.h
index 7edea218666da2bd2c9275861d5eb2c64c65c82f..cb8f11ffc27d0eab3ab4ba86d4646b4498bc7b7a 100644 (file)
@@ -41,7 +41,7 @@ class Image : public std::enable_shared_from_this<Image>
 {
 public:
        Image (AVPixelFormat p, dcp::Size s, bool aligned);
-       explicit Image (AVFrame *);
+       explicit Image (AVFrame const *);
        explicit Image (Image const &);
        Image (std::shared_ptr<const Image>, bool);
        Image& operator= (Image const &);
@@ -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