X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimage_examiner.h;h=0dcdebad0520986bce14a84363c82037149fb49d;hb=c29de33e6f8b20219a957a0cd88d61fd8cba1ad9;hp=2e743a82e4b318b3450a0c5546d29fc97d70d3a8;hpb=dd9f4f7e9511f8f830ec05d1b60c475c6b2d71e0;p=dcpomatic.git diff --git a/src/lib/image_examiner.h b/src/lib/image_examiner.h index 2e743a82e..0dcdebad0 100644 --- a/src/lib/image_examiner.h +++ b/src/lib/image_examiner.h @@ -25,7 +25,7 @@ class ImageContent; class ImageExaminer : public VideoExaminer { public: - ImageExaminer (boost::shared_ptr, boost::shared_ptr, boost::shared_ptr); + ImageExaminer (std::shared_ptr, std::shared_ptr, std::shared_ptr); bool has_video () const { return true; @@ -36,10 +36,17 @@ public: return _video_length; } bool yuv () const; + VideoRange range () const { + return VideoRange::FULL; + } + PixelQuanta pixel_quanta () const { + /* See ::yuv - we're assuming the image is not YUV and so not subsampled */ + return {}; + } private: - boost::weak_ptr _film; - boost::shared_ptr _image_content; + std::weak_ptr _film; + std::shared_ptr _image_content; boost::optional _video_size; Frame _video_length; };