Lines Matching defs:Encoder
117 struct Encoder { struct
121 enum class ContentType {
124 } content_type = ContentType::kVideo;
125 enum Implementation { kFake, kSoftware, kHardware } implementation = kFake;
126 struct Fake {
128 } fake;
130 using Codec = VideoCodecType;
131 Codec codec = Codec::kVideoCodecGeneric;
132 absl::optional<DataRate> max_data_rate;
133 absl::optional<DataRate> min_data_rate;
134 absl::optional<int> max_framerate;
136 absl::optional<int> key_frame_interval = 3000;
137 bool frame_dropping = true;
138 struct SingleLayer {
141 } single;
142 std::vector<webrtc::ScalabilityMode> simulcast_streams = {
145 DegradationPreference degradation_preference =
147 bool suspend_below_min_bitrate = false;
191 struct Encoder { struct
195 bool allocate_bitrate = false;
196 bool enable_dtx = false;
197 absl::optional<DataRate> fixed_rate;
198 absl::optional<DataRate> min_rate;
199 absl::optional<DataRate> max_rate;
200 TimeDelta initial_frame_length = TimeDelta::Millis(20);