Home
last modified time | relevance | path

Searched refs:settings_ (Results 1 – 25 of 47) sorted by relevance

12

/external/webrtc/modules/audio_processing/test/
Daudio_processing_simulator.cc118 : settings_(settings), in AudioProcessingSimulator()
123 settings_.simulate_mic_gain ? *settings.simulated_mic_kind : 0), in AudioProcessingSimulator()
125 RTC_CHECK(!settings_.dump_internal_data || WEBRTC_APM_DEBUG_DUMP == 1); in AudioProcessingSimulator()
126 ApmDataDumper::SetActivated(settings_.dump_internal_data); in AudioProcessingSimulator()
127 if (settings_.dump_internal_data_output_dir.has_value()) { in AudioProcessingSimulator()
129 settings_.dump_internal_data_output_dir.value()); in AudioProcessingSimulator()
132 if (settings_.ed_graph_output_filename && in AudioProcessingSimulator()
133 !settings_.ed_graph_output_filename->empty()) { in AudioProcessingSimulator()
135 *settings_.ed_graph_output_filename); in AudioProcessingSimulator()
140 if (settings_.simulate_mic_gain) in AudioProcessingSimulator()
[all …]
Daec_dump_based_simulator.cc141 if (!settings_.use_stream_delay || *settings_.use_stream_delay) { in PrepareProcessStreamCall()
142 if (!settings_.stream_delay) { in PrepareProcessStreamCall()
149 ap_->set_stream_delay_ms(*settings_.stream_delay)); in PrepareProcessStreamCall()
153 if (!settings_.use_ts) { in PrepareProcessStreamCall()
158 ap_->set_stream_key_pressed(*settings_.use_ts); in PrepareProcessStreamCall()
214 if (settings_.artificial_nearend_filename) { in Process()
216 new WavReader(settings_.artificial_nearend_filename->c_str())); in Process()
231 if (settings_.aec_dump_input_string.has_value()) { in Process()
233 input << settings_.aec_dump_input_string.value(); in Process()
238 OpenFile(settings_.aec_dump_input_filename->c_str(), "rb"); in Process()
[all …]
Dwav_based_simulator.cc64 if (settings_.call_order_input_filename) { in WavBasedSimulator()
66 *settings_.call_order_input_filename); in WavBasedSimulator()
83 if (settings_.fixed_interface) { in PrepareProcessStreamCall()
86 ap_->set_stream_key_pressed(settings_.use_ts && (*settings_.use_ts)); in PrepareProcessStreamCall()
88 if (!settings_.use_stream_delay || *settings_.use_stream_delay) { in PrepareProcessStreamCall()
91 settings_.stream_delay ? *settings_.stream_delay : 0)); in PrepareProcessStreamCall()
96 if (settings_.fixed_interface) { in PrepareReverseProcessStreamCall()
116 if (settings_.reverse_input_filename) { in Process()
134 ProcessStream(settings_.fixed_interface); in HandleProcessStreamCall()
144 ProcessReverseStream(settings_.fixed_interface); in HandleProcessReverseStreamCall()
[all …]
/external/jsoncpp/src/test_lib_json/
Dfuzz.cpp32 builder.settings_["failIfExtra"] = hash_settings & (1 << 0); in LLVMFuzzerTestOneInput()
33 builder.settings_["allowComments_"] = hash_settings & (1 << 1); in LLVMFuzzerTestOneInput()
34 builder.settings_["strictRoot_"] = hash_settings & (1 << 2); in LLVMFuzzerTestOneInput()
35 builder.settings_["allowDroppedNullPlaceholders_"] = hash_settings & (1 << 3); in LLVMFuzzerTestOneInput()
36 builder.settings_["allowNumericKeys_"] = hash_settings & (1 << 4); in LLVMFuzzerTestOneInput()
37 builder.settings_["allowSingleQuotes_"] = hash_settings & (1 << 5); in LLVMFuzzerTestOneInput()
38 builder.settings_["failIfExtra_"] = hash_settings & (1 << 6); in LLVMFuzzerTestOneInput()
39 builder.settings_["rejectDupKeys_"] = hash_settings & (1 << 7); in LLVMFuzzerTestOneInput()
40 builder.settings_["allowSpecialFloats_"] = hash_settings & (1 << 8); in LLVMFuzzerTestOneInput()
41 builder.settings_["collectComments"] = hash_settings & (1 << 9); in LLVMFuzzerTestOneInput()
[all …]
Dmain.cpp1845 wbuilder.settings_["commentStyle"] = "All"; in JSONTEST_FIXTURE_LOCAL()
1940 b.settings_["useSpecialFloats"] = true; in JSONTEST_FIXTURE_LOCAL()
1960 b.settings_["precision"] = 5; in JSONTEST_FIXTURE_LOCAL()
1977 b.settings_["precision"] = 1; in JSONTEST_FIXTURE_LOCAL()
1982 b.settings_["precision"] = 17; in JSONTEST_FIXTURE_LOCAL()
1988 b.settings_["precision"] = 24; in JSONTEST_FIXTURE_LOCAL()
1994 b.settings_["precision"] = 5; in JSONTEST_FIXTURE_LOCAL()
1995 b.settings_["precisionType"] = "decimal"; in JSONTEST_FIXTURE_LOCAL()
2001 b.settings_["precision"] = 1; in JSONTEST_FIXTURE_LOCAL()
2002 b.settings_["precisionType"] = "decimal"; in JSONTEST_FIXTURE_LOCAL()
[all …]
/external/oss-fuzz/projects/jsoncpp/
Djsoncpp_fuzz_proto.cc39 builder.settings_["failIfExtra"] = hash_settings & (1 << 0); in FuzzJson()
40 builder.settings_["allowComments_"] = hash_settings & (1 << 1); in FuzzJson()
41 builder.settings_["strictRoot_"] = hash_settings & (1 << 2); in FuzzJson()
42 builder.settings_["allowDroppedNullPlaceholders_"] = hash_settings & (1 << 3); in FuzzJson()
43 builder.settings_["allowNumericKeys_"] = hash_settings & (1 << 4); in FuzzJson()
44 builder.settings_["allowSingleQuotes_"] = hash_settings & (1 << 5); in FuzzJson()
45 builder.settings_["failIfExtra_"] = hash_settings & (1 << 6); in FuzzJson()
46 builder.settings_["rejectDupKeys_"] = hash_settings & (1 << 7); in FuzzJson()
47 builder.settings_["allowSpecialFloats_"] = hash_settings & (1 << 8); in FuzzJson()
48 builder.settings_["collectComments"] = hash_settings & (1 << 9); in FuzzJson()
[all …]
/external/webrtc/modules/video_coding/utility/
Dsimulcast_test_fixture_impl.cc287 DefaultSettings(&settings_, temporal_layer_profile, codec_type_); in SetUpCodec()
289 EXPECT_EQ(0, encoder_->InitEncode(&settings_, kSettings)); in SetUpCodec()
290 EXPECT_EQ(0, decoder_->InitDecode(&settings_, 1)); in SetUpCodec()
302 rate_allocator_.reset(new SimulcastRateAllocator(settings_)); in SetUpRateAllocator()
334 settings_.simulcastStream[i].active = active_streams[i]; in UpdateActiveStreams()
342 EXPECT_EQ(0, encoder_->InitEncode(&settings_, kSettings)); in UpdateActiveStreams()
601 settings_.VP8()->numberOfTemporalLayers = 1; in SwitchingToOneStream()
606 settings_.maxBitrate = 100; in SwitchingToOneStream()
607 settings_.startBitrate = 100; in SwitchingToOneStream()
608 settings_.width = width; in SwitchingToOneStream()
[all …]
/external/webrtc/modules/congestion_controller/goog_cc/
Drobust_throughput_estimator.cc24 : settings_(settings) { in RobustThroughputEstimator()
40 settings_.unacked_weight; in IncomingPacketFeedbackVector()
49 while (window_.size() > settings_.kMaxPackets || in IncomingPacketFeedbackVector()
50 (window_.size() > settings_.min_packets && in IncomingPacketFeedbackVector()
52 settings_.window_duration)) { in IncomingPacketFeedbackVector()
59 if (window_.size() < settings_.initial_packets) in bitrate()
95 if (settings_.assume_shared_link) { in bitrate()
124 if (settings_.reduce_bias) { in bitrate()
Dtrendline_estimator.cc165 : settings_(key_value_config), in TrendlineEstimator()
187 << settings_.Parser()->Encode() << " and " in TrendlineEstimator()
218 if (settings_.enable_sort) { in UpdateTrendline()
226 if (delay_hist_.size() > settings_.window_size) in UpdateTrendline()
231 if (delay_hist_.size() == settings_.window_size) { in UpdateTrendline()
238 if (settings_.enable_cap) { in UpdateTrendline()
239 absl::optional<double> cap = ComputeSlopeCap(delay_hist_, settings_); in UpdateTrendline()
Drobust_throughput_estimator.h42 const RobustThroughputEstimatorSettings settings_;
/external/webrtc/video/end_to_end_tests/
Dmulti_stream_tests.cc37 : settings_(settings), ssrc_(ssrc), frame_generator_(frame_generator) {} in TEST()
40 EXPECT_EQ(settings_.width, video_frame.width()); in TEST()
41 EXPECT_EQ(settings_.height, video_frame.height()); in TEST()
51 const MultiStreamTester::CodecSettings& settings_; in TEST() member in webrtc::TEST::VideoOutputObserver
/external/grpc-grpc/test/cpp/thread_manager/
Dthread_manager_test.cc52 settings_(settings), in ThreadManagerTest()
68 ThreadManagerTestSettings settings_; member in grpc::ThreadManagerTest
86 if (call_num >= settings_.max_poll_calls) { in PollForWork()
91 SleepForMs(settings_.poll_duration_ms); // Simulate "polling" duration in PollForWork()
107 SleepForMs(settings_.work_duration_ms); // Simulate work by sleeping in DoWork()
/external/libgav1/libgav1/src/
Ddecoder_impl.cc615 settings_(*settings) { in DecoderImpl()
643 if (settings_.frame_parallel) { in InitializeFrameThreadPoolAndTemporalUnitQueue()
646 data, size, settings_.operating_point, &buffer_pool_, &state)); in InitializeFrameThreadPoolAndTemporalUnitQueue()
661 if (settings_.threads > 1 && in InitializeFrameThreadPoolAndTemporalUnitQueue()
663 settings_.threads, obu->frame_header().tile_info.tile_count, in InitializeFrameThreadPoolAndTemporalUnitQueue()
718 if (settings_.release_input_buffer != nullptr) { in SignalFailure()
719 settings_.release_input_buffer( in SignalFailure()
720 settings_.callback_private_data, in SignalFailure()
769 if (settings_.release_input_buffer != nullptr) { in DequeueFrame()
770 settings_.release_input_buffer(settings_.callback_private_data, in DequeueFrame()
[all …]
Ddecoder.cc90 if (settings != nullptr) settings_ = *settings; in Init()
91 return DecoderImpl::Create(&settings_, &impl_); in Init()
113 return DecoderImpl::Create(&settings_, &impl_); in SignalEOS()
/external/webrtc/modules/video_coding/
Dvideo_receiver_unittest.cc59 webrtc::test::CodecSettings(kVideoCodecVP8, &settings_); in SetUp()
60 settings_.plType = kUnusedPayloadType; in SetUp()
61 EXPECT_EQ(0, receiver_.RegisterReceiveCodec(&settings_, 1, true)); in SetUp()
122 VideoCodec settings_; member in webrtc::vcm::__anon3a2efc4d0111::TestVideoReceiver
/external/jsoncpp/src/lib_json/
Djson_writer.cpp1159 StreamWriterBuilder::StreamWriterBuilder() { setDefaults(&settings_); } in StreamWriterBuilder()
1162 const String indentation = settings_["indentation"].asString(); in newStreamWriter()
1163 const String cs_str = settings_["commentStyle"].asString(); in newStreamWriter()
1164 const String pt_str = settings_["precisionType"].asString(); in newStreamWriter()
1165 const bool eyc = settings_["enableYAMLCompatibility"].asBool(); in newStreamWriter()
1166 const bool dnp = settings_["dropNullPlaceholders"].asBool(); in newStreamWriter()
1167 const bool usf = settings_["useSpecialFloats"].asBool(); in newStreamWriter()
1168 const bool emitUTF8 = settings_["emitUTF8"].asBool(); in newStreamWriter()
1169 unsigned int pre = settings_["precision"].asUInt(); in newStreamWriter()
1215 for (auto si = settings_.begin(); si != settings_.end(); ++si) { in validate()
[all …]
Djson_reader.cpp1881 CharReaderBuilder::CharReaderBuilder() { setDefaults(&settings_); } in CharReaderBuilder()
1884 bool collectComments = settings_["collectComments"].asBool(); in newCharReader()
1886 features.allowComments_ = settings_["allowComments"].asBool(); in newCharReader()
1887 features.allowTrailingCommas_ = settings_["allowTrailingCommas"].asBool(); in newCharReader()
1888 features.strictRoot_ = settings_["strictRoot"].asBool(); in newCharReader()
1890 settings_["allowDroppedNullPlaceholders"].asBool(); in newCharReader()
1891 features.allowNumericKeys_ = settings_["allowNumericKeys"].asBool(); in newCharReader()
1892 features.allowSingleQuotes_ = settings_["allowSingleQuotes"].asBool(); in newCharReader()
1896 features.stackLimit_ = static_cast<size_t>(settings_["stackLimit"].asUInt()); in newCharReader()
1897 features.failIfExtra_ = settings_["failIfExtra"].asBool(); in newCharReader()
[all …]
/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/
Dnnapi_plugin_test.cc112 settings_ = flatbuffers::GetTemporaryPointer( in CreateDelegate()
116 *settings_); in CreateDelegate()
124 const TFLiteSettings* settings_ = nullptr; member in tflite::__anon04ac112d0111::NNAPIPluginTest
/external/jsoncpp/src/jsontestrunner/
Dmain.cpp135 builder.settings_["allowComments"] = features.allowComments_; in parseAndSaveValueTree()
136 builder.settings_["strictRoot"] = features.strictRoot_; in parseAndSaveValueTree()
137 builder.settings_["allowDroppedNullPlaceholders"] = in parseAndSaveValueTree()
139 builder.settings_["allowNumericKeys"] = features.allowNumericKeys_; in parseAndSaveValueTree()
/external/webrtc/video/
Dvideo_stream_encoder.cc298 settings_(settings), in VideoStreamEncoder()
354 settings_.experiment_cpu_load_estimator,
561 codec_info_ = settings_.encoder_factory->QueryVideoEncoder( in ConfigureEncoder()
582 !encoder_switch_requested_ && settings_.encoder_switch_request_callback) { in ReconfigureEncoder()
587 settings_.encoder_switch_request_callback->RequestEncoderSwitch(conf); in ReconfigureEncoder()
631 encoder_ = settings_.encoder_factory->CreateVideoEncoder( in ReconfigureEncoder()
643 codec_info_ = settings_.encoder_factory->QueryVideoEncoder( in ReconfigureEncoder()
782 settings_.bitrate_allocator_factory->CreateVideoBitrateAllocator(codec); in ReconfigureEncoder()
806 VideoEncoder::Settings(settings_.capabilities, number_of_cores_, in ReconfigureEncoder()
1459 if (settings_.encoder_switch_request_callback) { in EncodeVideoFrame()
[all …]
/external/libgav1/libgav1/src/gav1/
Ddecoder.h140 DecoderSettings settings_;
/external/openscreen/third_party/abseil/src/absl/container/internal/
Draw_hash_set.h798 : ctrl_(EmptyGroup()), settings_(0, hash, eq, alloc) {
927 settings_(that.settings_) {
937 settings_(0, that.hash_ref(), that.eq_ref(), a) {
1804 size_t& growth_left() { return settings_.template get<0>(); }
1806 hasher& hash_ref() { return settings_.template get<1>(); }
1807 const hasher& hash_ref() const { return settings_.template get<1>(); }
1808 key_equal& eq_ref() { return settings_.template get<2>(); }
1809 const key_equal& eq_ref() const { return settings_.template get<2>(); }
1810 allocator_type& alloc_ref() { return settings_.template get<3>(); }
1812 return settings_.template get<3>();
[all …]
/external/angle/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set.h818 settings_(0, HashtablezInfoHandle(), hash, eq, alloc) {
947 settings_(absl::exchange(that.growth_left(), 0),
956 settings_(0, HashtablezInfoHandle(), that.hash_ref(), that.eq_ref(),
1824 size_t& growth_left() { return settings_.template get<0>(); }
1826 HashtablezInfoHandle& infoz() { return settings_.template get<1>(); }
1828 hasher& hash_ref() { return settings_.template get<2>(); }
1829 const hasher& hash_ref() const { return settings_.template get<2>(); }
1830 key_equal& eq_ref() { return settings_.template get<3>(); }
1831 const key_equal& eq_ref() const { return settings_.template get<3>(); }
1832 allocator_type& alloc_ref() { return settings_.template get<4>(); }
[all …]
/external/abseil-cpp/absl/container/internal/
Draw_hash_set.h727 : ctrl_(EmptyGroup()), settings_(0, hash, eq, alloc) {
857 settings_(that.settings_) {
867 settings_(0, that.hash_ref(), that.eq_ref(), a) {
1767 size_t& growth_left() { return settings_.template get<0>(); }
1785 hasher& hash_ref() { return settings_.template get<1>(); }
1786 const hasher& hash_ref() const { return settings_.template get<1>(); }
1787 key_equal& eq_ref() { return settings_.template get<2>(); }
1788 const key_equal& eq_ref() const { return settings_.template get<2>(); }
1789 allocator_type& alloc_ref() { return settings_.template get<3>(); }
1791 return settings_.template get<3>();
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set.h750 : ctrl_(EmptyGroup()), settings_(0, hash, eq, alloc) {
880 settings_(that.settings_) {
890 settings_(0, that.hash_ref(), that.eq_ref(), a) {
1788 size_t& growth_left() { return settings_.template get<0>(); }
1806 hasher& hash_ref() { return settings_.template get<1>(); }
1807 const hasher& hash_ref() const { return settings_.template get<1>(); }
1808 key_equal& eq_ref() { return settings_.template get<2>(); }
1809 const key_equal& eq_ref() const { return settings_.template get<2>(); }
1810 allocator_type& alloc_ref() { return settings_.template get<3>(); }
1812 return settings_.template get<3>();
[all …]

12