Home
last modified time | relevance | path

Searched refs:video_config (Results 1 – 25 of 26) sorted by relevance

12

/external/webrtc/api/test/
Dcreate_peer_connection_quality_test_frame_generator.cc29 void ValidateScreenShareConfig(const VideoConfig& video_config, in ValidateScreenShareConfig() argument
41 RTC_CHECK_EQ(video_config.width, kDefaultSlidesWidth); in ValidateScreenShareConfig()
42 RTC_CHECK_EQ(video_config.height, kDefaultSlidesHeight); in ValidateScreenShareConfig()
49 video_config.width); in ValidateScreenShareConfig()
51 video_config.height); in ValidateScreenShareConfig()
56 const VideoConfig& video_config, in CreateSquareFrameGenerator() argument
59 video_config.width, video_config.height, std::move(type), absl::nullopt); in CreateSquareFrameGenerator()
63 const VideoConfig& video_config, in CreateFromYuvFileFrameGenerator() argument
66 {std::move(filename)}, video_config.width, video_config.height, in CreateFromYuvFileFrameGenerator()
71 const VideoConfig& video_config, in CreateScreenShareFrameGenerator() argument
[all …]
Dcreate_peer_connection_quality_test_frame_generator.h28 const PeerConnectionE2EQualityTestFixture::VideoConfig& video_config,
33 const PeerConnectionE2EQualityTestFixture::VideoConfig& video_config,
38 const PeerConnectionE2EQualityTestFixture::VideoConfig& video_config,
/external/webrtc/test/pc/e2e/media/
Dmedia_helper.cc56 auto video_config = params->video_configs[i]; in MaybeAddVideo() local
59 video_config, peer->ReleaseVideoSource(i), in MaybeAddVideo()
61 params->name.value(), video_config)); in MaybeAddVideo()
63 video_config.content_hint == VideoTrackInterface::ContentHint::kText || in MaybeAddVideo()
64 video_config.content_hint == in MaybeAddVideo()
71 << video_config.stream_label.value(); in MaybeAddVideo()
73 peer->pc_factory()->CreateVideoTrack(video_config.stream_label.value(), in MaybeAddVideo()
75 if (video_config.content_hint.has_value()) { in MaybeAddVideo()
76 track->set_content_hint(video_config.content_hint.value()); in MaybeAddVideo()
78 std::string sync_group = video_config.sync_group in MaybeAddVideo()
[all …]
Dmedia_helper.h44 const PeerConnectionE2EQualityTestFixture::VideoConfig& video_config,
/external/webrtc/test/pc/e2e/
Dpeer_configurer.cc85 for (VideoConfig& video_config : p->video_configs) { in SetDefaultValuesForMissingParams()
86 video_stream_names_provider.MaybeSetName(&video_config.stream_label); in SetDefaultValuesForMissingParams()
130 for (const VideoConfig& video_config : p->video_configs) { in ValidateParams() local
131 RTC_CHECK(video_config.stream_label); in ValidateParams()
133 video_labels.insert(video_config.stream_label.value()).second; in ValidateParams()
135 << video_config.stream_label.value(); in ValidateParams()
139 if (video_config.sync_group.has_value()) { in ValidateParams()
141 video_sync_groups.insert(video_config.sync_group.value()).second; in ValidateParams()
145 << video_config.sync_group.value(); in ValidateParams()
148 if (video_config.simulcast_config) { in ValidateParams()
[all …]
Dpeer_connection_quality_test.cc449 for (auto& video_config : alice_->params()->video_configs) { in SetupCallOnSignalingThread() local
451 if (video_config.simulcast_config) { in SetupCallOnSignalingThread()
459 i < video_config.simulcast_config->simulcast_streams_count; ++i) { in SetupCallOnSignalingThread()
461 if (video_config.simulcast_config->encoding_params.size() > 0) { in SetupCallOnSignalingThread()
462 enc_params = video_config.simulcast_config->encoding_params[i]; in SetupCallOnSignalingThread()
473 enc_params.max_bitrate_bps = video_config.max_encode_bitrate_bps; in SetupCallOnSignalingThread()
474 enc_params.min_bitrate_bps = video_config.min_encode_bitrate_bps; in SetupCallOnSignalingThread()
554 for (auto& video_config : alice_->params()->video_configs) { in CreateSignalingInterceptor() local
555 if (video_config.simulcast_config) { in CreateSignalingInterceptor()
557 {*video_config.stream_label, in CreateSignalingInterceptor()
[all …]
Dtest_peer_factory.cc79 for (auto& video_config : video_configs) { in CalculateRequiredSpatialIndexPerStream() local
81 RTC_DCHECK(video_config.stream_label); in CalculateRequiredSpatialIndexPerStream()
83 if (video_config.simulcast_config) { in CalculateRequiredSpatialIndexPerStream()
84 spatial_index = video_config.simulcast_config->target_spatial_index; in CalculateRequiredSpatialIndexPerStream()
89 bool res = out.insert({*video_config.stream_label, spatial_index}).second; in CalculateRequiredSpatialIndexPerStream()
91 << *video_config.stream_label; in CalculateRequiredSpatialIndexPerStream()
/external/webrtc/rtc_tools/rtp_generator/
Drtp_generator.cc173 webrtc::VideoSendStream::Config video_config(this); in RtpGenerator() local
174 video_config.encoder_settings.encoder_factory = in RtpGenerator()
176 video_config.encoder_settings.bitrate_allocator_factory = in RtpGenerator()
178 video_config.rtp = send_config.rtp; in RtpGenerator()
181 video_config.rtp.mid = "mid-" + std::to_string(stream_count); in RtpGenerator()
188 PayloadStringToCodecType(video_config.rtp.payload_name); in RtpGenerator()
189 if (video_config.rtp.payload_name == cricket::kVp8CodecName) { in RtpGenerator()
193 } else if (video_config.rtp.payload_name == cricket::kVp9CodecName) { in RtpGenerator()
197 } else if (video_config.rtp.payload_name == cricket::kH264CodecName) { in RtpGenerator()
202 encoder_config.video_format.name = video_config.rtp.payload_name; in RtpGenerator()
[all …]
/external/webrtc/modules/rtp_rtcp/source/
Drtp_sender_unittest.cc749 RTPSenderVideo::Config video_config; in TEST_P() local
750 video_config.clock = clock_; in TEST_P()
751 video_config.rtp_sender = rtp_sender(); in TEST_P()
752 video_config.field_trials = &field_trials; in TEST_P()
753 RTPSenderVideo rtp_sender_video(video_config); in TEST_P()
1250 RTPSenderVideo::Config video_config; in TEST_P() local
1251 video_config.clock = clock_; in TEST_P()
1252 video_config.rtp_sender = rtp_sender(); in TEST_P()
1253 video_config.field_trials = &field_trials; in TEST_P()
1254 RTPSenderVideo rtp_sender_video(video_config); in TEST_P()
[all …]
Dnack_rtx_unittest.cc141 RTPSenderVideo::Config video_config; in SetUp() local
142 video_config.clock = &fake_clock; in SetUp()
143 video_config.rtp_sender = rtp_rtcp_module_->RtpSender(); in SetUp()
144 video_config.field_trials = &field_trials; in SetUp()
145 rtp_sender_video_ = std::make_unique<RTPSenderVideo>(video_config); in SetUp()
Drtp_rtcp_impl_unittest.cc182 RTPSenderVideo::Config video_config; in SetUp() local
183 video_config.clock = &clock_; in SetUp()
184 video_config.rtp_sender = sender_.impl_->RtpSender(); in SetUp()
185 video_config.field_trials = &field_trials; in SetUp()
186 sender_video_ = std::make_unique<RTPSenderVideo>(video_config); in SetUp()
Drtp_rtcp_impl2_unittest.cc187 RTPSenderVideo::Config video_config; in SetUp() local
188 video_config.clock = time_controller_.GetClock(); in SetUp()
189 video_config.rtp_sender = sender_.impl_->RtpSender(); in SetUp()
190 video_config.field_trials = &field_trials; in SetUp()
191 sender_video_ = std::make_unique<RTPSenderVideo>(video_config); in SetUp()
/external/webrtc/test/
Dcall_test.cc242 void CallTest::CreateVideoSendConfig(VideoSendStream::Config* video_config, in CreateVideoSendConfig() argument
247 *video_config = VideoSendStream::Config(send_transport); in CreateVideoSendConfig()
248 video_config->encoder_settings.encoder_factory = &fake_encoder_factory_; in CreateVideoSendConfig()
249 video_config->encoder_settings.bitrate_allocator_factory = in CreateVideoSendConfig()
251 video_config->rtp.payload_name = "FAKE"; in CreateVideoSendConfig()
252 video_config->rtp.payload_type = kFakeVideoSendPayloadType; in CreateVideoSendConfig()
253 video_config->rtp.extmap_allow_mixed = true; in CreateVideoSendConfig()
255 &video_config->rtp.extensions); in CreateVideoSendConfig()
257 &video_config->rtp.extensions); in CreateVideoSendConfig()
259 &video_config->rtp.extensions); in CreateVideoSendConfig()
[all …]
Dcall_test.h91 void CreateVideoSendConfig(VideoSendStream::Config* video_config,
/external/webrtc/call/
Drtp_video_sender.cc242 RTPSenderVideo::Config video_config; in CreateRtpStreamSenders() local
249 video_config.fec_generator = fec_generator.get(); in CreateRtpStreamSenders()
267 video_config.clock = configuration.clock; in CreateRtpStreamSenders()
268 video_config.rtp_sender = rtp_rtcp->RtpSender(); in CreateRtpStreamSenders()
269 video_config.frame_encryptor = frame_encryptor; in CreateRtpStreamSenders()
270 video_config.require_frame_encryption = in CreateRtpStreamSenders()
272 video_config.enable_retransmit_all_layers = false; in CreateRtpStreamSenders()
273 video_config.field_trials = &trials; in CreateRtpStreamSenders()
282 video_config.red_payload_type = rtp_config.ulpfec.red_payload_type; in CreateRtpStreamSenders()
285 video_config.fec_type = fec_generator->GetFecType(); in CreateRtpStreamSenders()
[all …]
/external/openscreen/cast/standalone_sender/
Dlooping_file_cast_agent.cc283 VideoCaptureConfig video_config; in CreateAndStartSession() local
285 video_config.max_bit_rate = in CreateAndStartSession()
288 video_config.resolutions.emplace_back(DisplayResolution{}); in CreateAndStartSession()
292 current_session_->NegotiateMirroring({audio_config}, {video_config}); in CreateAndStartSession()
Dlooping_file_sender.cc33 OSP_CHECK(senders.video_config.codec == VideoCodec::kVp8);
/external/openscreen/cast/streaming/
Dreceiver_session.cc232 VideoCaptureConfig video_config; in SpawnReceivers() local
241 video_config = VideoCaptureConfig{ in SpawnReceivers()
251 current_video_receiver_.get(), std::move(video_config)}; in SpawnReceivers()
Dsender_session_unittest.cc257 VideoCaptureConfig video_config = kVideoCaptureConfigValid; in TEST_F() local
258 video_config.max_bit_rate = 0; in TEST_F()
264 std::vector<VideoCaptureConfig>{video_config}); in TEST_F()
Dsender_session.h49 VideoCaptureConfig video_config; member
Dreceiver_session.h50 VideoCaptureConfig video_config; member
Dreceiver_session_unittest.cc337 EXPECT_EQ(cr.video_config.codec, VideoCodec::kVp8); in TEST_F()
396 EXPECT_EQ(cr.video_config.codec, VideoCodec::kVp9); in TEST_F()
Dsender_session.cc268 senders->video_config = config; in SpawnVideoSender()
/external/openscreen/cast/standalone_receiver/
Dstreaming_playback_controller.cc71 receivers.video_config.codec, renderer_.get(), [this] { in OnMirroringNegotiated()
/external/webrtc/test/scenario/
Dvideo_stream.cc155 CreateVp9SpecificSettings(VideoStreamConfig video_config) { in CreateVp9SpecificSettings() argument
157 VideoStreamConfig::Encoder conf = video_config.encoder; in CreateVp9SpecificSettings()
166 (video_config.source.framerate > 5 || conf.layers.spatial >= 3)) { in CreateVp9SpecificSettings()

12