Home
last modified time | relevance | path

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

/external/libopus/tests/
Dtest_opus_encode.c55 #define RAND_SAMPLE(a) (a[fast_rand() % sizeof(a)/sizeof(a[0])]) macro
211 int sampling_rate = RAND_SAMPLE(sampling_rates); in fuzz_encoder_settings()
212 int num_channels = RAND_SAMPLE(channels); in fuzz_encoder_settings()
213 int application = RAND_SAMPLE(applications); in fuzz_encoder_settings()
222 int bitrate = RAND_SAMPLE(bitrates); in fuzz_encoder_settings()
223 int force_channel = RAND_SAMPLE(force_channels); in fuzz_encoder_settings()
224 int vbr = RAND_SAMPLE(use_vbr); in fuzz_encoder_settings()
225 int vbr_constraint = RAND_SAMPLE(vbr_constraints); in fuzz_encoder_settings()
226 int complexity = RAND_SAMPLE(complexities); in fuzz_encoder_settings()
227 int max_bw = RAND_SAMPLE(max_bandwidths); in fuzz_encoder_settings()
[all …]