LeviLamina
Loading...
Searching...
No Matches
VideoEncoderFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace webrtc { class DataRate; }
8namespace webrtc { class Environment; }
9namespace webrtc { class RenderResolution; }
10namespace webrtc { class VideoEncoder; }
11namespace webrtc { struct SdpVideoFormat; }
12// clang-format on
13
14namespace webrtc {
15
17public:
18 // VideoEncoderFactory inner types declare
19 // clang-format off
20 struct CodecSupport;
22 // clang-format on
23
24 // VideoEncoderFactory inner types define
25 struct CodecSupport {
26 public:
27 // member variables
28 // NOLINTBEGIN
31 // NOLINTEND
32
33 public:
34 // prevent constructor by default
35 CodecSupport& operator=(CodecSupport const&);
38 };
39
41 public:
42 // virtual functions
43 // NOLINTBEGIN
44 // vIndex: 0
45 virtual ~EncoderSelectorInterface() = default;
46
47 // vIndex: 1
48 virtual void OnCurrentEncoder(::webrtc::SdpVideoFormat const&) = 0;
49
50 // vIndex: 2
51 virtual ::std::optional<::webrtc::SdpVideoFormat> OnAvailableBitrate(::webrtc::DataRate const&) = 0;
52
53 // vIndex: 3
54 virtual ::std::optional<::webrtc::SdpVideoFormat> OnResolutionChange(::webrtc::RenderResolution const&);
55
56 // vIndex: 4
57 virtual ::std::optional<::webrtc::SdpVideoFormat> OnEncoderBroken() = 0;
58 // NOLINTEND
59
60 public:
61 // destructor thunk
62 // NOLINTBEGIN
63
64 // NOLINTEND
65
66 public:
67 // virtual function thunks
68 // NOLINTBEGIN
69
70 // NOLINTEND
71 };
72
73public:
74 // virtual functions
75 // NOLINTBEGIN
76 // vIndex: 0
77 virtual ::std::vector<::webrtc::SdpVideoFormat> GetSupportedFormats() const = 0;
78
79 // vIndex: 1
80 virtual ::std::vector<::webrtc::SdpVideoFormat> GetImplementations() const;
81
82 // vIndex: 2
83 virtual ::webrtc::VideoEncoderFactory::CodecSupport
84 QueryCodecSupport(::webrtc::SdpVideoFormat const&, ::std::optional<::std::string>) const;
85
86 // vIndex: 3
87 virtual ::std::unique_ptr<::webrtc::VideoEncoder>
89
90 // vIndex: 4
91 virtual ::std::unique_ptr<::webrtc::VideoEncoder> CreateVideoEncoder(::webrtc::SdpVideoFormat const&);
92
93 // vIndex: 5
94 virtual ::std::unique_ptr<::webrtc::VideoEncoderFactory::EncoderSelectorInterface> GetEncoderSelector() const;
95
96 // vIndex: 6
97 virtual ~VideoEncoderFactory() = default;
98 // NOLINTEND
99
100public:
101 // destructor thunk
102 // NOLINTBEGIN
103
104 // NOLINTEND
105
106public:
107 // virtual function thunks
108 // NOLINTBEGIN
109
110 // NOLINTEND
111};
112
113} // namespace webrtc
Definition DataRate.h:10
Definition Environment.h:7
Definition RenderResolution.h:7
Definition VideoEncoderFactory.h:16
Definition Alias.h:14
Definition SdpVideoFormat.h:7
Definition VideoEncoderFactory.h:25