Home
last modified time | relevance | path

Searched refs:new_config (Results 1 – 25 of 32) sorted by relevance

12

/external/webrtc/audio/
Daudio_send_stream.cc195 const webrtc::AudioSendStream::Config& new_config) { in Reconfigure() argument
197 ConfigureStream(new_config, false); in Reconfigure()
228 const webrtc::AudioSendStream::Config& new_config, in ConfigureStream() argument
231 << new_config.ToString(); in ConfigureStream()
232 UpdateEventLogStreamConfig(event_log_, new_config, in ConfigureStream()
239 old_config.send_transport == new_config.send_transport); in ConfigureStream()
240 RTC_DCHECK(first_time || old_config.rtp.ssrc == new_config.rtp.ssrc); in ConfigureStream()
244 if (first_time || old_config.rtp.c_name != new_config.rtp.c_name) { in ConfigureStream()
245 channel_send_->SetRTCP_CNAME(new_config.rtp.c_name); in ConfigureStream()
249 if (first_time || new_config.frame_encryptor != old_config.frame_encryptor) { in ConfigureStream()
[all …]
Daudio_receive_stream.cc378 const Config& new_config, in ConfigureStream() argument
381 << new_config.ToString(); in ConfigureStream()
388 old_config.rtp.remote_ssrc == new_config.rtp.remote_ssrc); in ConfigureStream()
390 old_config.rtcp_send_transport == new_config.rtcp_send_transport); in ConfigureStream()
394 old_config.decoder_factory == new_config.decoder_factory); in ConfigureStream()
398 RTC_DCHECK_EQ(old_config.rtp.local_ssrc, new_config.rtp.local_ssrc); in ConfigureStream()
399 RTC_DCHECK_EQ(old_config.rtp.remote_ssrc, new_config.rtp.remote_ssrc); in ConfigureStream()
405 new_config.rtp.nack.rtp_history_ms) { in ConfigureStream()
406 channel_receive->SetNACKStatus(new_config.rtp.nack.rtp_history_ms != 0, in ConfigureStream()
407 new_config.rtp.nack.rtp_history_ms / 20); in ConfigureStream()
[all …]
Daudio_send_stream.h122 void ConfigureStream(const Config& new_config, bool first_time);
123 bool SetupSendCodec(const Config& new_config);
124 bool ReconfigureSendCodec(const Config& new_config);
125 void ReconfigureANA(const Config& new_config);
126 void ReconfigureCNG(const Config& new_config);
127 void ReconfigureBitrateObserver(const Config& new_config);
Daudio_receive_stream_unittest.cc396 auto new_config = helper.config(); in TEST() local
397 new_config.rtp.nack.rtp_history_ms = 300 + 20; in TEST()
398 new_config.rtp.extensions.clear(); in TEST()
399 new_config.rtp.extensions.push_back( in TEST()
401 new_config.rtp.extensions.push_back( in TEST()
404 new_config.decoder_map.emplace(1, SdpAudioFormat("foo", 8000, 1)); in TEST()
408 EXPECT_CALL(channel_receive, SetReceiveCodecs(new_config.decoder_map)); in TEST()
410 recv_stream->Reconfigure(new_config); in TEST()
Daudio_send_stream_unittest.cc770 auto new_config = helper.config(); in TEST() local
771 ConfigHelper::AddBweToConfig(&new_config); in TEST()
787 send_stream->Reconfigure(new_config); in TEST()
795 auto new_config = helper.config(); in TEST() local
812 auto new_config = helper.config(); in TEST() local
836 auto new_config = helper.config(); in TEST() local
867 auto new_config = helper.config(); in TEST() local
892 auto new_config = helper.config(); in TEST() local
896 new_config.frame_encryptor = mock_frame_encryptor_0; in TEST()
899 send_stream->Reconfigure(new_config); in TEST()
[all …]
Daudio_receive_stream.h105 const Config& new_config,
/external/tensorflow/tensorflow/python/keras/
Doptimizers_test.py73 new_config = keras.optimizers.serialize(optim)
74 new_config['class_name'] = new_config['class_name'].lower()
75 new_config['config'].pop('name', None)
77 new_config['config'].pop('amsgrad', None)
78 if 'decay' in new_config['config'] and 'schedule_decay' in config['config']:
79 new_config['config']['schedule_decay'] = new_config['config'].pop('decay')
81 new_config['config'].pop('momentum', None)
83 new_config['config'].pop('centered', None)
84 self.assertDictEqual(config, new_config)
/external/tensorflow/tensorflow/python/framework/
Dconfig_test.py739 new_config = context.context().config
740 self.assertEqual(new_config.gpu_options.visible_device_list, '0')
747 new_config = context.context().config
748 self.assertEqual(new_config.device_count['CPU'], 1)
753 new_config = context.context().config
754 self.assertEqual(new_config.device_count['CPU'], 2)
762 new_config = context.context().config
763 self.assertEqual(new_config.gpu_options.visible_device_list,
772 new_config = context.context().config
779 new_config = context.context().config
[all …]
/external/webrtc/pc/
Ddata_channel_controller.cc306 DataChannelInit new_config = config ? (*config) : DataChannelInit(); in InternalCreateRtpDataChannel() local
308 RtpDataChannel::Create(this, label, new_config, signaling_thread())); in InternalCreateRtpDataChannel()
327 InternalDataChannelInit new_config = in InternalCreateSctpDataChannel() local
329 if (new_config.id < 0) { in InternalCreateSctpDataChannel()
332 !sid_allocator_.AllocateSid(role, &new_config.id)) { in InternalCreateSctpDataChannel()
336 } else if (!sid_allocator_.ReserveSid(new_config.id)) { in InternalCreateSctpDataChannel()
342 this, label, new_config, signaling_thread(), network_thread())); in InternalCreateSctpDataChannel()
344 sid_allocator_.ReleaseSid(new_config.id); in InternalCreateSctpDataChannel()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dmatrix.cc660 std::string new_config(einsum_config.begin(), einsum_config.end()); in NormalizeEinsumString() local
661 new_config.append("->"); in NormalizeEinsumString()
663 new_config.append("..."); in NormalizeEinsumString()
667 new_config.push_back(p.first); in NormalizeEinsumString()
670 return new_config; in NormalizeEinsumString()
677 auto new_config = NormalizeEinsumString(einsum_config); in Einsum() local
678 if (!new_config.empty()) { in Einsum()
679 return Einsum(x, y, new_config, precision); in Einsum()
/external/webrtc/modules/video_coding/codecs/vp8/
Dlibvpx_vp8_encoder.cc176 bool MaybeExtendVp8EncoderConfig(const Vp8EncoderConfig& new_config, in MaybeExtendVp8EncoderConfig() argument
179 changes_made |= MaybeSetNewValue(new_config.temporal_layer_config, in MaybeExtendVp8EncoderConfig()
181 changes_made |= MaybeSetNewValue(new_config.rc_target_bitrate, in MaybeExtendVp8EncoderConfig()
183 changes_made |= MaybeSetNewValue(new_config.rc_max_quantizer, in MaybeExtendVp8EncoderConfig()
185 changes_made |= MaybeSetNewValue(new_config.g_error_resilient, in MaybeExtendVp8EncoderConfig()
918 const Vp8EncoderConfig new_config = in UpdateVpxConfiguration() local
921 if (new_config.reset_previous_configuration_overrides) { in UpdateVpxConfiguration()
922 *config = new_config; in UpdateVpxConfiguration()
926 const bool changes_made = MaybeExtendVp8EncoderConfig(new_config, config); in UpdateVpxConfiguration()
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_config.py204 def new_config(self, _utest=False): member in IdleConfTest
224 conf = self.new_config(_utest=True)
247 conf = self.new_config(_utest=True)
268 conf = self.new_config(_utest=True)
295 conf = self.new_config(_utest=True)
400 conf = self.new_config(_utest=True)
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/
Dchild_policy_handler.cc289 LoadBalancingPolicy::Config* new_config) const { in ConfigChangeRequiresNewPolicyInstance()
290 return strcmp(old_config->name(), new_config->name()) != 0; in ConfigChangeRequiresNewPolicyInstance()
Dchild_policy_handler.h49 LoadBalancingPolicy::Config* new_config) const;
/external/vixl/tools/
Dtest.py340 new_config = config.copy()
341 new_config[option] = value
342 retval.append(new_config)
/external/rust/crates/grpcio/src/security/
Dcredentials.rs109 let new_config = builder.build_config(); in server_cert_fetcher_wrapper() localVariable
110 *config = new_config; in server_cert_fetcher_wrapper()
/external/rust/crates/criterion/src/
Dbenchmark_group.rs220 pub fn plot_config(&mut self, new_config: PlotConfiguration) -> &mut Self { in plot_config()
221 self.partial_config.plot_config = new_config; in plot_config()
Dbenchmark.rs241 pub fn plot_config(mut self, new_config: PlotConfiguration) -> Self {
242 self.config.plot_config = new_config;
/external/tensorflow/tensorflow/python/distribute/
Dcollective_all_reduce_strategy_test.py387 new_config = strategy.update_config_proto(config_proto)
391 new_config.experimental.collective_group_leader)
394 self.assertEqual(['/job:worker/task:1'], new_config.device_filters)
397 new_rewrite_options = new_config.graph_options.rewrite_options
Dparameter_server_strategy_test.py714 new_config = strategy.update_config_proto(config_proto)
718 new_config.device_filters)
721 self.assertFalse(new_config.isolate_session_state)
728 new_config = strategy.update_config_proto(config_proto)
731 self.assertTrue(new_config.isolate_session_state)
/external/libchrome/base/trace_event/
Dtrace_config.cc526 EventFilterConfig new_config(predicate_name); in SetEventFiltersFromConfigList() local
527 new_config.InitializeFromConfigDict(event_filter); in SetEventFiltersFromConfigList()
528 event_filters_.push_back(new_config); in SetEventFiltersFromConfigList()
/external/tensorflow/tensorflow/python/client/
Dsession.py695 new_config = config_pb2.ConfigProto()
696 new_config.CopyFrom(config)
697 new_config.graph_options.rewrite_options.auto_mixed_precision = (
699 config = new_config
/external/tensorflow/tensorflow/compiler/xla/service/
Ddynamic_padder_test.cc383 auto new_config = module->config(); in PadAndExecute() local
384 new_config.mutable_entry_computation_layout() in PadAndExecute()
387 module->set_config(new_config); in PadAndExecute()
/external/webrtc/modules/desktop_capture/mac/
Dscreen_capturer_mac.mm203 MacDesktopConfiguration new_config = desktop_config_monitor_->desktop_configuration();
204 if (!desktop_config_.Equals(new_config)) {
205 desktop_config_ = new_config;
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dxds_cluster_resolver.cc1227 LoadBalancingPolicy::Config* new_config) const override { in ConfigChangeRequiresNewPolicyInstance()
1229 GPR_ASSERT(new_config->name() == kXdsClusterResolver); in ConfigChangeRequiresNewPolicyInstance()
1233 static_cast<XdsClusterResolverLbConfig*>(new_config); in ConfigChangeRequiresNewPolicyInstance()

12