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
12class ColorSpace {
13public:
14 // ColorSpace inner types define
15 enum class ChromaSiting : int {
16 KUnspecified = 0,
17 KCollocated = 1,
18 KHalf = 2,
19 };
20
21 enum class MatrixID : uchar {
22 KRGB = 0,
23 KBT709 = 1,
24 KUnspecified = 2,
25 KFCC = 4,
26 KBT470BG = 5,
27 KSMPTE170M = 6,
28 KSMPTE240M = 7,
29 KYCOCG = 8,
30 KBT2020Ncl = 9,
31 KBT2020Cl = 10,
32 KSMPTE2085 = 11,
33 KCDNCLS = 12,
34 KCDCLS = 13,
35 KBT2100Ictcp = 14,
36 };
37
38 enum class PrimaryID : uchar {
39 KBT709 = 1,
40 KUnspecified = 2,
41 KBT470M = 4,
42 KBT470BG = 5,
43 KSMPTE170M = 6,
44 KSMPTE240M = 7,
45 KFILM = 8,
46 KBT2020 = 9,
47 KSMPTEST428 = 10,
48 KSMPTEST431 = 11,
49 KSMPTEST432 = 12,
50 KJEDECP22 = 22,
51 };
52
53 enum class RangeID : int {
54 KInvalid = 0,
55 KLimited = 1,
56 KFull = 2,
57 KDerived = 3,
58 };
59
60 enum class TransferID : uchar {
61 KBT709 = 1,
62 KUnspecified = 2,
63 KGAMMA22 = 4,
64 KGAMMA28 = 5,
65 KSMPTE170M = 6,
66 KSMPTE240M = 7,
67 KLINEAR = 8,
68 KLOG = 9,
69 KLOGSqrt = 10,
70 KIEC61966_2_4 = 11,
71 KBT1361Ecg = 12,
72 KIEC61966_2_1 = 13,
73 KBT2020_10 = 14,
74 KBT2020_12 = 15,
75 KSMPTEST2084 = 16,
76 KSMPTEST428 = 17,
77 KARIBStdB67 = 18,
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
102
103 MCNAPI ::webrtc::ColorSpace::ChromaSiting chroma_siting_horizontal() const;
104
105 MCNAPI ::webrtc::ColorSpace::ChromaSiting chroma_siting_vertical() const;
106
107 MCNAPI ::webrtc::HdrMetadata const* hdr_metadata() const;
108
109 MCNAPI ::webrtc::ColorSpace::MatrixID matrix() const;
110
111 MCNAPI ::webrtc::ColorSpace& operator=(::webrtc::ColorSpace const&);
112
113 MCNAPI ::webrtc::ColorSpace::PrimaryID primaries() const;
114
115 MCNAPI ::webrtc::ColorSpace::RangeID range() const;
116
117 MCNAPI ::webrtc::ColorSpace::TransferID transfer() const;
118 // NOLINTEND
119
120public:
121 // constructor thunks
122 // NOLINTBEGIN
124
125 MCNAPI void* $ctor(::webrtc::ColorSpace const&);
126 // NOLINTEND
127};
128
129} // namespace webrtc
Definition ColorSpace.h:12
MCAPI::webrtc::ColorSpace::RangeID range() const
MCAPI::webrtc::ColorSpace::MatrixID matrix() const
MCAPI void * $ctor(::webrtc::ColorSpace &&)
MCAPI::webrtc::ColorSpace::PrimaryID primaries() const
MCAPI::webrtc::ColorSpace::ChromaSiting chroma_siting_vertical() const
MCAPI void * $ctor(::webrtc::ColorSpace const &)
MCAPI::webrtc::ColorSpace::TransferID transfer() const
MCAPI::webrtc::ColorSpace::ChromaSiting chroma_siting_horizontal() const
MCAPI::webrtc::ColorSpace & operator=(::webrtc::ColorSpace const &)
MCAPI ColorSpace(::webrtc::ColorSpace const &)
MCAPI::webrtc::HdrMetadata const * hdr_metadata() const
MCAPI ColorSpace(::webrtc::ColorSpace &&)
Definition Alias.h:14
Definition HdrMetadata.h:7