diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-12-13 01:04:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-12-13 01:11:42 +0100 |
| commit | 94d5ba335224db075a95a76654f732ef54a4eabd (patch) | |
| tree | d7937d18579769be088424fdc6d1fa79c5d0a5c1 /src/lib/types.h | |
| parent | 53d472f6e4531586fb91e649c386fdfaecb6ecaf (diff) | |
Add video_{range,frame_type}.{cc,h} and remove some types.h includes.
Diffstat (limited to 'src/lib/types.h')
| -rw-r--r-- | src/lib/types.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/lib/types.h b/src/lib/types.h index 9bf4c80b1..9801ef557 100644 --- a/src/lib/types.h +++ b/src/lib/types.h @@ -86,23 +86,6 @@ typedef std::vector<std::shared_ptr<FFmpegContent>> FFmpegContentList; typedef int64_t Frame; -enum class VideoFrameType -{ - TWO_D, - /** `True' 3D content, e.g. 3D DCPs */ - THREE_D, - THREE_D_LEFT_RIGHT, - THREE_D_TOP_BOTTOM, - THREE_D_ALTERNATE, - /** This content is all the left frames of some 3D */ - THREE_D_LEFT, - /** This content is all the right frames of some 3D */ - THREE_D_RIGHT -}; - -std::string video_frame_type_to_string (VideoFrameType); -VideoFrameType string_to_video_frame_type (std::string); - enum class Eyes { BOTH, @@ -128,16 +111,6 @@ enum class ReelType }; -enum class VideoRange -{ - FULL, ///< full, or "JPEG" (0-255 for 8-bit) - VIDEO ///< video, or "MPEG" (16-235 for 8-bit) -}; - -extern std::string video_range_to_string (VideoRange r); -extern VideoRange string_to_video_range (std::string s); - - /** Type of captions. * * The generally accepted definitions seem to be: |
