X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_examiner.h;h=c56530448fce67e44b5e98d728e43e254dbdf5f8;hb=06581bf43d6471acc33740a1e8384f71cb8951f2;hp=dd5d08c9e75341773265f7fa94d3bc1af5a9355c;hpb=dd9f4f7e9511f8f830ec05d1b60c475c6b2d71e0;p=dcpomatic.git diff --git a/src/lib/video_examiner.h b/src/lib/video_examiner.h index dd5d08c9e..c56530448 100644 --- a/src/lib/video_examiner.h +++ b/src/lib/video_examiner.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2016 Carl Hetherington + Copyright (C) 2013-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,14 +18,18 @@ */ + /** @file src/lib/video_examiner.h * @brief VideoExaminer class. */ + +#include "pixel_quanta.h" #include "types.h" #include "video_content.h" #include + /** @class VideoExaminer * @brief Parent for classes which examine video sources and obtain information about them. */ @@ -48,4 +52,6 @@ public: } /** @return true if this video is in YUV; must not be called if has_video() == false */ virtual bool yuv () const = 0; + virtual VideoRange range () const = 0; + virtual PixelQuanta pixel_quanta () const = 0; };