Home
last modified time | relevance | path

Searched refs:GetFlag (Results 1 – 25 of 149) sorted by relevance

123456

/external/webrtc/modules/audio_coding/neteq/tools/
Dneteq_rtpplay.cc212 PrintCodecMappingEntry("PCM-u", absl::GetFlag(FLAGS_pcmu)); in PrintCodecMapping()
213 PrintCodecMappingEntry("PCM-a", absl::GetFlag(FLAGS_pcma)); in PrintCodecMapping()
214 PrintCodecMappingEntry("iLBC", absl::GetFlag(FLAGS_ilbc)); in PrintCodecMapping()
215 PrintCodecMappingEntry("iSAC", absl::GetFlag(FLAGS_isac)); in PrintCodecMapping()
216 PrintCodecMappingEntry("iSAC-swb (32 kHz)", absl::GetFlag(FLAGS_isac_swb)); in PrintCodecMapping()
217 PrintCodecMappingEntry("Opus", absl::GetFlag(FLAGS_opus)); in PrintCodecMapping()
218 PrintCodecMappingEntry("PCM16b-nb (8 kHz)", absl::GetFlag(FLAGS_pcm16b)); in PrintCodecMapping()
219 PrintCodecMappingEntry("PCM16b-wb (16 kHz)", absl::GetFlag(FLAGS_pcm16b_wb)); in PrintCodecMapping()
221 absl::GetFlag(FLAGS_pcm16b_swb32)); in PrintCodecMapping()
223 absl::GetFlag(FLAGS_pcm16b_swb48)); in PrintCodecMapping()
[all …]
Dneteq_quality_test.cc171 channels_(absl::GetFlag(FLAGS_channels)), in NetEqQualityTest()
174 drift_factor_(absl::GetFlag(FLAGS_drift_factor)), in NetEqQualityTest()
175 packet_loss_rate_(absl::GetFlag(FLAGS_packet_loss_rate)), in NetEqQualityTest()
184 new ResampleInputAudioFile(absl::GetFlag(FLAGS_in_filename), in NetEqQualityTest()
185 absl::GetFlag(FLAGS_input_sample_rate), in NetEqQualityTest()
187 absl::GetFlag(FLAGS_runtime_ms) > 0)), in NetEqQualityTest()
192 RTC_CHECK(ValidateFilename(absl::GetFlag(FLAGS_in_filename), false)) in NetEqQualityTest()
195 RTC_CHECK(absl::GetFlag(FLAGS_input_sample_rate) == 8000 || in NetEqQualityTest()
196 absl::GetFlag(FLAGS_input_sample_rate) == 16000 || in NetEqQualityTest()
197 absl::GetFlag(FLAGS_input_sample_rate) == 32000 || in NetEqQualityTest()
[all …]
Drtp_analyze.cc47 RTC_CHECK(absl::GetFlag(FLAGS_red) >= 0 && in main()
48 absl::GetFlag(FLAGS_red) <= 127); // Payload type in main()
49 RTC_CHECK(absl::GetFlag(FLAGS_audio_level) == -1 || // Default in main()
50 (absl::GetFlag(FLAGS_audio_level) > 0 && in main()
51 absl::GetFlag(FLAGS_audio_level) <= 255)); // Extension ID in main()
52 RTC_CHECK(absl::GetFlag(FLAGS_abs_send_time) == -1 || // Default in main()
53 (absl::GetFlag(FLAGS_abs_send_time) > 0 && in main()
54 absl::GetFlag(FLAGS_abs_send_time) <= 255)); // Extension ID in main()
62 if (absl::GetFlag(FLAGS_audio_level) != -1) { in main()
65 absl::GetFlag(FLAGS_audio_level)); in main()
[all …]
/external/webrtc/video/
Dvideo_loopback.cc219 return static_cast<size_t>(absl::GetFlag(FLAGS_width)); in Width()
223 return static_cast<size_t>(absl::GetFlag(FLAGS_height)); in Height()
227 return absl::GetFlag(FLAGS_fps); in Fps()
231 return static_cast<size_t>(absl::GetFlag(FLAGS_capture_device_index)); in GetCaptureDevice()
235 return absl::GetFlag(FLAGS_min_bitrate); in MinBitrateKbps()
239 return absl::GetFlag(FLAGS_start_bitrate); in StartBitrateKbps()
243 return absl::GetFlag(FLAGS_target_bitrate); in TargetBitrateKbps()
247 return absl::GetFlag(FLAGS_max_bitrate); in MaxBitrateKbps()
251 return absl::GetFlag(FLAGS_num_temporal_layers); in NumTemporalLayers()
255 if (absl::GetFlag(FLAGS_inter_layer_pred) == 0) { in InterLayerPred()
[all …]
Dsv_loopback.cc345 return static_cast<size_t>(absl::GetFlag(FLAGS_vwidth)); in VideoWidth()
349 return static_cast<size_t>(absl::GetFlag(FLAGS_vheight)); in VideoHeight()
353 return absl::GetFlag(FLAGS_vfps); in VideoFps()
357 return static_cast<size_t>(absl::GetFlag(FLAGS_capture_device_index)); in GetCaptureDevice()
361 return absl::GetFlag(FLAGS_vtarget_bitrate); in VideoTargetBitrateKbps()
365 return absl::GetFlag(FLAGS_vmin_bitrate); in VideoMinBitrateKbps()
369 return absl::GetFlag(FLAGS_vmax_bitrate); in VideoMaxBitrateKbps()
373 return absl::GetFlag(FLAGS_vnum_temporal_layers); in VideoNumTemporalLayers()
377 return absl::GetFlag(FLAGS_vnum_streams); in VideoNumStreams()
381 return absl::GetFlag(FLAGS_vnum_spatial_layers); in VideoNumSpatialLayers()
[all …]
Dscreenshare_loopback.cc42 return static_cast<size_t>(absl::GetFlag(FLAGS_width)); in Width()
47 return static_cast<size_t>(absl::GetFlag(FLAGS_height)); in Height()
52 return absl::GetFlag(FLAGS_fps); in Fps()
57 return absl::GetFlag(FLAGS_min_bitrate); in MinBitrateKbps()
62 return absl::GetFlag(FLAGS_start_bitrate); in StartBitrateKbps()
67 return absl::GetFlag(FLAGS_target_bitrate); in TargetBitrateKbps()
72 return absl::GetFlag(FLAGS_max_bitrate); in MaxBitrateKbps()
77 return absl::GetFlag(FLAGS_num_temporal_layers); in NumTemporalLayers()
83 return absl::GetFlag(FLAGS_codec); in Codec()
92 return absl::GetFlag(FLAGS_rtc_event_log_name); in RtcEventLogName()
[all …]
/external/webrtc/modules/audio_processing/test/
Daudioproc_float_impl.cc336 if (absl::GetFlag(FLAGS_all_default)) { in CreateSettings()
350 SetSettingIfSpecified(absl::GetFlag(FLAGS_dump_input), in CreateSettings()
352 SetSettingIfSpecified(absl::GetFlag(FLAGS_dump_output), in CreateSettings()
354 SetSettingIfSpecified(absl::GetFlag(FLAGS_i), &settings.input_filename); in CreateSettings()
355 SetSettingIfSpecified(absl::GetFlag(FLAGS_o), &settings.output_filename); in CreateSettings()
356 SetSettingIfSpecified(absl::GetFlag(FLAGS_ri), in CreateSettings()
358 SetSettingIfSpecified(absl::GetFlag(FLAGS_ro), in CreateSettings()
360 SetSettingIfSpecified(absl::GetFlag(FLAGS_artificial_nearend), in CreateSettings()
362 SetSettingIfSpecified(absl::GetFlag(FLAGS_linear_aec_output), in CreateSettings()
364 SetSettingIfSpecified(absl::GetFlag(FLAGS_output_num_channels), in CreateSettings()
[all …]
/external/openscreen/third_party/abseil/src/absl/flags/
Dreflection_test.cc159 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_01), true); in TEST_F()
160 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_02), 1234); in TEST_F()
161 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_03), -34); in TEST_F()
162 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_04), 189); in TEST_F()
163 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_05), 10765); in TEST_F()
164 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_06), 40000); in TEST_F()
165 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_07), -1234567); in TEST_F()
166 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_08), 9876543); in TEST_F()
167 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_09), -9.876e-50, 1e-55); in TEST_F()
168 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_10), 1.234e12f, 1e5f); in TEST_F()
[all …]
Dflag_test.cc440 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_01), true); in TEST_F()
441 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_02), 1234); in TEST_F()
442 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_03), -34); in TEST_F()
443 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_04), 189); in TEST_F()
444 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_05), 10765); in TEST_F()
445 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_06), 40000); in TEST_F()
446 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_07), -1234567); in TEST_F()
447 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_08), 9876543); in TEST_F()
448 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_09), -9.876e-50, 1e-55); in TEST_F()
449 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_10), 1.234e12f, 1e5f); in TEST_F()
[all …]
/external/angle/third_party/abseil-cpp/absl/flags/
Dreflection_test.cc157 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_01), true); in TEST_F()
158 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_02), 1234); in TEST_F()
159 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_03), -34); in TEST_F()
160 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_04), 189); in TEST_F()
161 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_05), 10765); in TEST_F()
162 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_06), 40000); in TEST_F()
163 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_07), -1234567); in TEST_F()
164 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_08), 9876543); in TEST_F()
165 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_09), -9.876e-50, 1e-55); in TEST_F()
166 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_10), 1.234e12f, 1e5f); in TEST_F()
[all …]
Dflag_test.cc443 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_01), true); in TEST_F()
444 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_02), 1234); in TEST_F()
445 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_03), -34); in TEST_F()
446 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_04), 189); in TEST_F()
447 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_05), 10765); in TEST_F()
448 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_06), 40000); in TEST_F()
449 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_07), -1234567); in TEST_F()
450 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_08), 9876543); in TEST_F()
451 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_09), -9.876e-50, 1e-55); in TEST_F()
452 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_10), 1.234e12f, 1e5f); in TEST_F()
[all …]
/external/libtextclassifier/abseil-cpp/absl/flags/
Dreflection_test.cc69 (void)absl::GetFlag(FLAGS_help); // Force linking of usage flags. in TEST_F()
164 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_01), true); in TEST_F()
165 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_02), 1234); in TEST_F()
166 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_03), -34); in TEST_F()
167 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_04), 189); in TEST_F()
168 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_05), 10765); in TEST_F()
169 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_06), 40000); in TEST_F()
170 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_07), -1234567); in TEST_F()
171 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_08), 9876543); in TEST_F()
172 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_09), -9.876e-50, 1e-55); in TEST_F()
[all …]
Dflag_test.cc440 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_01), true); in TEST_F()
441 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_02), 1234); in TEST_F()
442 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_03), -34); in TEST_F()
443 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_04), 189); in TEST_F()
444 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_05), 10765); in TEST_F()
445 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_06), 40000); in TEST_F()
446 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_07), -1234567); in TEST_F()
447 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_08), 9876543); in TEST_F()
448 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_09), -9.876e-50, 1e-55); in TEST_F()
449 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_10), 1.234e12f, 1e5f); in TEST_F()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/flags/
Dreflection_test.cc69 (void)absl::GetFlag(FLAGS_help); // Force linking of usage flags. in TEST_F()
164 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_01), true); in TEST_F()
165 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_02), 1234); in TEST_F()
166 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_03), -34); in TEST_F()
167 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_04), 189); in TEST_F()
168 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_05), 10765); in TEST_F()
169 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_06), 40000); in TEST_F()
170 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_07), -1234567); in TEST_F()
171 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_08), 9876543); in TEST_F()
172 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_09), -9.876e-50, 1e-55); in TEST_F()
[all …]
Dflag_test.cc440 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_01), true); in TEST_F()
441 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_02), 1234); in TEST_F()
442 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_03), -34); in TEST_F()
443 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_04), 189); in TEST_F()
444 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_05), 10765); in TEST_F()
445 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_06), 40000); in TEST_F()
446 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_07), -1234567); in TEST_F()
447 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_08), 9876543); in TEST_F()
448 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_09), -9.876e-50, 1e-55); in TEST_F()
449 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_10), 1.234e12f, 1e5f); in TEST_F()
[all …]
/external/tflite-support/tensorflow_lite_support/examples/task/text/desktop/
Dnl_classifier_demo.cc48 if (absl::GetFlag(FLAGS_input_tensor_index) >= 0) { in Classify()
49 options.input_tensor_index = absl::GetFlag(FLAGS_input_tensor_index); in Classify()
51 if (absl::GetFlag(FLAGS_output_score_tensor_index) >= 0) { in Classify()
53 absl::GetFlag(FLAGS_output_score_tensor_index); in Classify()
55 if (absl::GetFlag(FLAGS_output_label_tensor_index) >= 0) { in Classify()
57 absl::GetFlag(FLAGS_output_label_tensor_index); in Classify()
59 if (!absl::GetFlag(FLAGS_input_tensor_name).empty()) { in Classify()
60 options.input_tensor_name = absl::GetFlag(FLAGS_input_tensor_name); in Classify()
62 if (!absl::GetFlag(FLAGS_output_score_tensor_name).empty()) { in Classify()
64 absl::GetFlag(FLAGS_output_score_tensor_name); in Classify()
[all …]
/external/webrtc/modules/audio_coding/neteq/test/
Dneteq_opus_quality_test.cc71 : NetEqQualityTest(kOpusBlockDurationMs * absl::GetFlag(FLAGS_sub_packets), in NetEqOpusQualityTest()
79 bit_rate_kbps_(absl::GetFlag(FLAGS_bit_rate_kbps)), in NetEqOpusQualityTest()
80 fec_(absl::GetFlag(FLAGS_fec)), in NetEqOpusQualityTest()
81 dtx_(absl::GetFlag(FLAGS_dtx)), in NetEqOpusQualityTest()
82 complexity_(absl::GetFlag(FLAGS_complexity)), in NetEqOpusQualityTest()
83 maxplaybackrate_(absl::GetFlag(FLAGS_maxplaybackrate)), in NetEqOpusQualityTest()
84 target_loss_rate_(absl::GetFlag(FLAGS_reported_loss_rate)), in NetEqOpusQualityTest()
85 sub_packets_(absl::GetFlag(FLAGS_sub_packets)) { in NetEqOpusQualityTest()
87 RTC_CHECK(absl::GetFlag(FLAGS_bit_rate_kbps) >= 6 && in NetEqOpusQualityTest()
88 absl::GetFlag(FLAGS_bit_rate_kbps) <= 510) in NetEqOpusQualityTest()
[all …]
Dneteq_speed_test.cc42 RTC_CHECK_GT(absl::GetFlag(FLAGS_runtime_ms), 0); in main()
43 RTC_CHECK_GE(absl::GetFlag(FLAGS_lossrate), 0); in main()
44 RTC_CHECK(absl::GetFlag(FLAGS_drift) >= 0.0 && in main()
45 absl::GetFlag(FLAGS_drift) < 1.0); in main()
48 absl::GetFlag(FLAGS_runtime_ms), absl::GetFlag(FLAGS_lossrate), in main()
49 absl::GetFlag(FLAGS_drift)); in main()
/external/webrtc/modules/audio_processing/transient/
Dtransient_suppression_test.cc139 FILE* in_file = fopen(absl::GetFlag(FLAGS_in_file_name).c_str(), "rb"); in void_main()
144 if (!absl::GetFlag(FLAGS_detection_file_name).empty()) { in void_main()
146 fopen(absl::GetFlag(FLAGS_detection_file_name).c_str(), "rb"); in void_main()
151 if (!absl::GetFlag(FLAGS_reference_file_name).empty()) { in void_main()
153 fopen(absl::GetFlag(FLAGS_reference_file_name).c_str(), "rb"); in void_main()
161 int detection_rate_hz = absl::GetFlag(FLAGS_detection_rate_hz); in void_main()
163 detection_rate_hz = absl::GetFlag(FLAGS_sample_rate_hz); in void_main()
169 suppressor.Initialize(absl::GetFlag(FLAGS_sample_rate_hz), detection_rate_hz, in void_main()
170 absl::GetFlag(FLAGS_num_channels)); in void_main()
172 const size_t audio_buffer_size = absl::GetFlag(FLAGS_chunk_size_ms) * in void_main()
[all …]
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/
Dsound_level.cc40 if (absl::GetFlag(FLAGS_f) < 1 || absl::GetFlag(FLAGS_f) > kMaxFrameLenMs) { in main()
45 if (absl::GetFlag(FLAGS_a) < 0 || absl::GetFlag(FLAGS_d) < 0) { in main()
51 const std::string input_file = absl::GetFlag(FLAGS_i); in main()
52 const std::string config_output_file = absl::GetFlag(FLAGS_oc); in main()
53 const std::string levels_output_file = absl::GetFlag(FLAGS_ol); in main()
67 absl::GetFlag(FLAGS_f) * wav_reader.sample_rate(), 1000); in main()
69 return std::pow(kOneDbReduction, absl::GetFlag(FLAGS_f) / c); in main()
72 absl::GetFlag(FLAGS_a) == 0.0 ? 0.0 : time_const(absl::GetFlag(FLAGS_a)); in main()
74 absl::GetFlag(FLAGS_d) == 0.0 ? 0.0 : time_const(absl::GetFlag(FLAGS_d)); in main()
80 << absl::GetFlag(FLAGS_f) in main()
[all …]
/external/abseil-cpp/absl/flags/
Dflag_test.cc234 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_01), true); in TEST_F()
235 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_02), 1234); in TEST_F()
236 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_03), -34); in TEST_F()
237 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_04), 189); in TEST_F()
238 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_05), 10765); in TEST_F()
239 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_06), 40000); in TEST_F()
240 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_07), -1234567); in TEST_F()
241 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_08), 9876543); in TEST_F()
242 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_09), -9.876e-50, 1e-55); in TEST_F()
243 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_10), 1.234e12f, 1e5f); in TEST_F()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/flags/
Dflag_test.cc234 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_01), true); in TEST_F()
235 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_02), 1234); in TEST_F()
236 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_03), -34); in TEST_F()
237 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_04), 189); in TEST_F()
238 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_05), 10765); in TEST_F()
239 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_06), 40000); in TEST_F()
240 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_07), -1234567); in TEST_F()
241 EXPECT_EQ(absl::GetFlag(FLAGS_test_flag_08), 9876543); in TEST_F()
242 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_09), -9.876e-50, 1e-55); in TEST_F()
243 EXPECT_NEAR(absl::GetFlag(FLAGS_test_flag_10), 1.234e12f, 1e5f); in TEST_F()
[all …]
/external/webrtc/rtc_tools/unpack_aecdump/
Dunpack.cc122 return absl::GetFlag(FLAGS_full); in WritingCallOrderFile()
126 return absl::GetFlag(FLAGS_full); in WritingRuntimeSettingFiles()
260 callorder_raw_name << absl::GetFlag(FLAGS_callorder_file) << ".char"; in do_main()
264 FILE* settings_file = OpenFile(absl::GetFlag(FLAGS_settings_file), "wb"); in do_main()
278 if (absl::GetFlag(FLAGS_raw) && !reverse_raw_file) { in do_main()
280 new RawFile(absl::GetFlag(FLAGS_reverse_file) + ".pcm")); in do_main()
290 if (absl::GetFlag(FLAGS_raw) && !reverse_raw_file) { in do_main()
292 new RawFile(absl::GetFlag(FLAGS_reverse_file) + ".float")); in do_main()
303 if (absl::GetFlag(FLAGS_full)) { in do_main()
306 absl::GetFlag(FLAGS_callorder_file)); in do_main()
[all …]
/external/tflite-support/tensorflow_lite_support/examples/task/vision/desktop/
Dimage_classifier_demo.cc69 absl::GetFlag(FLAGS_model_path)); in BuildOptions()
70 options.set_max_results(absl::GetFlag(FLAGS_max_results)); in BuildOptions()
71 if (absl::GetFlag(FLAGS_score_threshold) >= 0) { in BuildOptions()
72 options.set_score_threshold(absl::GetFlag(FLAGS_score_threshold)); in BuildOptions()
75 absl::GetFlag(FLAGS_class_name_whitelist)) { in BuildOptions()
79 absl::GetFlag(FLAGS_class_name_blacklist)) { in BuildOptions()
119 DecodeImageFromFile(absl::GetFlag(FLAGS_image_path))); in Classify()
150 if (absl::GetFlag(FLAGS_model_path).empty()) { in main()
154 if (absl::GetFlag(FLAGS_image_path).empty()) { in main()
158 if (!absl::GetFlag(FLAGS_class_name_whitelist).empty() && in main()
[all …]
Dobject_detector_demo.cc95 absl::GetFlag(FLAGS_model_path)); in BuildOptions()
96 options.set_max_results(absl::GetFlag(FLAGS_max_results)); in BuildOptions()
97 if (absl::GetFlag(FLAGS_score_threshold) > in BuildOptions()
99 options.set_score_threshold(absl::GetFlag(FLAGS_score_threshold)); in BuildOptions()
102 absl::GetFlag(FLAGS_class_name_whitelist)) { in BuildOptions()
106 absl::GetFlag(FLAGS_class_name_blacklist)) { in BuildOptions()
141 EncodeImageToPngFile(*image, absl::GetFlag(FLAGS_output_png))); in EncodeResultToPngFile()
143 absl::GetFlag(FLAGS_output_png)); in EncodeResultToPngFile()
186 DecodeImageFromFile(absl::GetFlag(FLAGS_image_path))); in Detect()
220 if (absl::GetFlag(FLAGS_model_path).empty()) { in main()
[all …]

123456