summaryrefslogtreecommitdiff
path: root/src/lib/video_examiner.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-10-03 02:02:12 +0200
committerCarl Hetherington <cth@carlh.net>2021-10-03 23:41:02 +0200
commitc2a17a87868eba87072fc369102b2b3cd8905e5a (patch)
tree0f5b5e425476efca9ad297c5e65845ae31531ba6 /src/lib/video_examiner.h
parentaee64f1b2c9252f8315eaead7d43e1ec58a39ee2 (diff)
Add PixelQuanta to VideoContent.
Diffstat (limited to 'src/lib/video_examiner.h')
-rw-r--r--src/lib/video_examiner.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/video_examiner.h b/src/lib/video_examiner.h
index 4e5c6dc0a..c56530448 100644
--- a/src/lib/video_examiner.h
+++ b/src/lib/video_examiner.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2013-2016 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2013-2021 Carl Hetherington <cth@carlh.net>
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 <dcp/types.h>
+
/** @class VideoExaminer
* @brief Parent for classes which examine video sources and obtain information about them.
*/
@@ -49,4 +53,5 @@ 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;
};