Home
last modified time | relevance | path

Searched refs:ReadOrDefaultValue (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/test/fuzzers/
Daudio_processing_configs_fuzzer.cc42 bool exp_agc = fuzz_data->ReadOrDefaultValue(true); in CreateApm()
43 bool exp_ns = fuzz_data->ReadOrDefaultValue(true); in CreateApm()
44 static_cast<void>(fuzz_data->ReadOrDefaultValue(true)); in CreateApm()
45 static_cast<void>(fuzz_data->ReadOrDefaultValue(true)); in CreateApm()
46 static_cast<void>(fuzz_data->ReadOrDefaultValue(true)); in CreateApm()
47 bool red = fuzz_data->ReadOrDefaultValue(true); in CreateApm()
48 bool hpf = fuzz_data->ReadOrDefaultValue(true); in CreateApm()
49 bool aec3 = fuzz_data->ReadOrDefaultValue(true); in CreateApm()
51 bool use_aec = fuzz_data->ReadOrDefaultValue(true); in CreateApm()
52 bool use_aecm = fuzz_data->ReadOrDefaultValue(true); in CreateApm()
[all …]
Dagc_fuzzer.cc30 static_cast<float>(fuzz_data->ReadOrDefaultValue<int16_t>(0)); in FillAudioBuffer()
47 const bool enable_limiter = fuzz_data->ReadOrDefaultValue(true); in FuzzGainControllerConfig()
50 rtc::SafeClamp<int>(fuzz_data->ReadOrDefaultValue<uint16_t>(0), 0, 65534); in FuzzGainControllerConfig()
52 rtc::SafeClamp<int>(fuzz_data->ReadOrDefaultValue<uint16_t>(65535), in FuzzGainControllerConfig()
55 rtc::SafeClamp<int>(fuzz_data->ReadOrDefaultValue<uint16_t>(30000), in FuzzGainControllerConfig()
58 rtc::SafeClamp<int>(fuzz_data->ReadOrDefaultValue<int8_t>(30), -1, 100); in FuzzGainControllerConfig()
60 rtc::SafeClamp<int>(fuzz_data->ReadOrDefaultValue<int8_t>(15), -1, 35); in FuzzGainControllerConfig()
89 const size_t num_channels = fuzz_data->ReadOrDefaultValue(true) ? 2 : 1; in FuzzGainController()
103 const bool stream_has_echo = fuzz_data->ReadOrDefaultValue(true); in FuzzGainController()
Daudio_processing_fuzzer_helper.cc67 fixed_frame->mutable_data()[i] = fuzz_data->ReadOrDefaultValue<int16_t>(0); in GenerateFixedFrame()
93 const bool is_float = fuzz_data->ReadOrDefaultValue(true); in FuzzAudioProcessing()
100 const uint8_t stream_delay = fuzz_data->ReadOrDefaultValue<uint8_t>(0); in FuzzAudioProcessing()
105 const bool key_pressed = fuzz_data->ReadOrDefaultValue(true); in FuzzAudioProcessing()
110 const bool is_capture = fuzz_data->ReadOrDefaultValue(true); in FuzzAudioProcessing()
116 fuzz_data->ReadOrDefaultValue<uint8_t>(1) % kMaxNumChannels; in FuzzAudioProcessing()
130 const int num_channels = fuzz_data->ReadOrDefaultValue(true) ? 2 : 1; in FuzzAudioProcessing()
Daec3_fuzzer.cc27 static_cast<float>(fuzz_data->ReadOrDefaultValue<int16_t>(0)); in PrepareAudioBuffer()
50 1 + fuzz_data.ReadOrDefaultValue<uint8_t>(0) % (kMaxNumChannels - 1); in FuzzOneInput()
52 1 + fuzz_data.ReadOrDefaultValue<uint8_t>(0) % (kMaxNumChannels - 1); in FuzzOneInput()
66 bool is_capture = fuzz_data.ReadOrDefaultValue(true); in FuzzOneInput()
67 bool level_changed = fuzz_data.ReadOrDefaultValue(true); in FuzzOneInput()
Drtp_packetizer_av1_fuzzer.cc28 limits.first_packet_reduction_len = fuzz_input.ReadOrDefaultValue<uint8_t>(0); in FuzzOneInput()
29 limits.last_packet_reduction_len = fuzz_input.ReadOrDefaultValue<uint8_t>(0); in FuzzOneInput()
31 fuzz_input.ReadOrDefaultValue<uint8_t>(0); in FuzzOneInput()
Dfuzz_data_helper.h43 T ReadOrDefaultValue(T default_value) { in ReadOrDefaultValue() function
54 T x = ReadOrDefaultValue(default_value); in ReadOrDefaultValueNotZero()
69 uint8_t index = ReadOrDefaultValue<uint8_t>(0) % N; in SelectOneOf()
Dneteq_signal_fuzzer.cc48 const float amplitude = fuzz_data_.ReadOrDefaultValue<uint16_t>(65000) / 2; in Generate()
50 const float noise_std = fuzz_data_.ReadOrDefaultValue<uint16_t>(0) % 2000; in Generate()
Dpacket_buffer_fuzzer.cc42 packet->video_payload.SetSize(helper.ReadOrDefaultValue<uint8_t>(0)); in FuzzOneInput()
Dulpfec_receiver_fuzzer.cc56 if (fuzz_data.ReadOrDefaultValue<uint8_t>(0) % 2 == 0) { in FuzzOneInput()