LeviLamina
Loading...
Searching...
No Matches
ColorSpace.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace webrtc { struct HdrMetadata; }
8// clang-format on
9
10namespace webrtc {
11
13public:
14 // ColorSpace inner types define
15 enum class PrimaryID : uchar {
16 KBT709 = 1,
17 KUnspecified = 2,
18 KBT470M = 4,
19 KBT470BG = 5,
20 KSMPTE170M = 6,
21 KSMPTE240M = 7,
22 KFILM = 8,
23 KBT2020 = 9,
24 KSMPTEST428 = 10,
25 KSMPTEST431 = 11,
26 KSMPTEST432 = 12,
27 KJEDECP22 = 22,
28 };
29
30 enum class TransferID : uchar {
31 KBT709 = 1,
32 KUnspecified = 2,
33 KGAMMA22 = 4,
34 KGAMMA28 = 5,
35 KSMPTE170M = 6,
36 KSMPTE240M = 7,
37 KLINEAR = 8,
38 KLOG = 9,
39 KLOGSqrt = 10,
40 KIEC61966_2_4 = 11,
41 KBT1361Ecg = 12,
42 KIEC61966_2_1 = 13,
43 KBT2020_10 = 14,
44 KBT2020_12 = 15,
45 KSMPTEST2084 = 16,
46 KSMPTEST428 = 17,
47 KARIBStdB67 = 18,
48 };
49
50 enum class MatrixID : uchar {
51 KRGB = 0,
52 KBT709 = 1,
53 KUnspecified = 2,
54 KFCC = 4,
55 KBT470BG = 5,
56 KSMPTE170M = 6,
57 KSMPTE240M = 7,
58 KYCOCG = 8,
59 KBT2020Ncl = 9,
60 KBT2020Cl = 10,
61 KSMPTE2085 = 11,
62 KCDNCLS = 12,
63 KCDCLS = 13,
64 KBT2100Ictcp = 14,
65 };
66
67 enum class RangeID : int {
68 KInvalid = 0,
69 KLimited = 1,
70 KFull = 2,
71 KDerived = 3,
72 };
73
74 enum class ChromaSiting : int {
75 KUnspecified = 0,
76 KCollocated = 1,
77 KHalf = 2,
78 };
79
80public:
81 // member variables
82 // NOLINTBEGIN
90 // NOLINTEND
91
92public:
93 // prevent constructor by default
94 ColorSpace();
95
96public:
97 // member functions
98 // NOLINTBEGIN
100
101 MCAPI ColorSpace(::webrtc::ColorSpace const&);
102
103 MCAPI ::webrtc::ColorSpace::ChromaSiting chroma_siting_horizontal() const;
104
105 MCAPI ::webrtc::ColorSpace::ChromaSiting chroma_siting_vertical() const;
106
107 MCAPI ::webrtc::HdrMetadata const* hdr_metadata() const;
108
109 MCAPI ::webrtc::ColorSpace::MatrixID matrix() const;
110
111 MCAPI ::webrtc::ColorSpace& operator=(::webrtc::ColorSpace const&);
112
113 MCAPI ::webrtc::ColorSpace::PrimaryID primaries() const;
114
115 MCAPI ::webrtc::ColorSpace::RangeID range() const;
116
117 MCAPI ::webrtc::ColorSpace::TransferID transfer() const;
118 // NOLINTEND
119
120public:
121 // constructor thunks
122 // NOLINTBEGIN
123 MCAPI void* $ctor(::webrtc::ColorSpace&&);
124
125 MCAPI void* $ctor(::webrtc::ColorSpace const&);
126 // NOLINTEND
127};
128
129} // namespace webrtc
Definition ColorSpace.h:12
Definition Alias.h:14