Home
last modified time | relevance | path

Searched refs:ACMRandom (Results 1 – 25 of 42) sorted by relevance

12

/external/libvpx/libvpx/test/
Dcomp_avg_pred_test.cc23 using ::libvpx_test::ACMRandom;
45 rnd_.Reset(ACMRandom::DeterministicSeed()); in SetUp()
50 ACMRandom rnd_;
53 void fill(ACMRandom *r, uint8_t *a, const int width, const int height) { in fill()
85 ref.Set(&rnd_, &ACMRandom::Rand8); in TEST_P()
107 ref.Set(&rnd_, &ACMRandom::Rand8); in TEST_P()
133 ref.Set(&rnd_, &ACMRandom::Rand8); in TEST_P()
Dtemporal_filter_test.cc21 using ::libvpx_test::ACMRandom;
110 rnd_.Reset(ACMRandom::DeterministicSeed()); in SetUp()
115 ACMRandom rnd_;
135 a.Set(&rnd_, &ACMRandom::Rand8); in TEST_P()
136 b.Set(&rnd_, &ACMRandom::Rand8); in TEST_P()
174 a.Set(&rnd_, &ACMRandom::Rand8); in TEST_P()
175 b.Set(&rnd_, &ACMRandom::Rand8); in TEST_P()
218 a.Set(&rnd_, &ACMRandom::Rand8); in TEST_P()
219 b.Set(&rnd_, &ACMRandom::Rand8); in TEST_P()
Dsum_squares_test.cc25 using libvpx_test::ACMRandom;
49 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
77 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
Dvp9_boolcoder_test.cc22 using libvpx_test::ACMRandom;
29 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST()
53 ACMRandom bit_rnd(random_seed); in TEST()
Ddct32x32_test.cc30 using libvpx_test::ACMRandom;
105 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
170 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
199 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
241 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
343 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
Dvp8_boolcoder_test.cc53 using libvpx_test::ACMRandom;
56 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST()
80 ACMRandom bit_rnd(random_seed); in TEST()
Dvp9_block_error_test.cc28 using libvpx_test::ACMRandom;
71 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
114 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
Dacm_random.h20 class ACMRandom {
22 ACMRandom() : random_(DeterministicSeed()) {} in ACMRandom() function
24 explicit ACMRandom(int seed) : random_(seed) {} in ACMRandom() function
Dvp9_quantize_test.cc28 using libvpx_test::ACMRandom;
83 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
141 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
199 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
262 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
Duser_priv_test.cc31 using libvpx_test::ACMRandom;
46 ACMRandom rnd(ACMRandom::DeterministicSeed()); in DecodeFile()
Dfdct8x8_test.cc29 using libvpx_test::ACMRandom;
143 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunSignBiasCheck()
213 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunRoundTripErrorCheck()
287 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunExtremalCheck()
377 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunInvAccuracyCheck()
435 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunFwdAccuracyCheck()
465 ACMRandom rnd(ACMRandom::DeterministicSeed()); in CompareInvReference()
Dpp_filter_test.cc21 using libvpx_test::ACMRandom;
128 ACMRandom rnd; in TEST_P()
129 rnd.Reset(ACMRandom::DeterministicSeed()); in TEST_P()
134 src_image.Set(&rnd, &ACMRandom::Rand8); in TEST_P()
391 ACMRandom rnd; in TEST_P()
392 rnd.Reset(ACMRandom::DeterministicSeed()); in TEST_P()
400 src_c.Set(&rnd, &ACMRandom::Rand8); in TEST_P()
411 src_c.Set(&rnd, &ACMRandom::Rand8Extremes); in TEST_P()
Dvp8_denoiser_sse2_test.cc26 using libvpx_test::ACMRandom;
44 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
Didct8x8_test.cc22 using libvpx_test::ACMRandom;
58 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST()
Dfdct4x4_test.cc28 using libvpx_test::ACMRandom;
102 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunAccuracyCheck()
165 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunCoeffCheck()
187 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunMemCheck()
218 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunInvAccuracyCheck()
Dvp9_subtract_test.cc34 using libvpx_test::ACMRandom;
37 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
Dvp9_denoiser_test.cc27 using libvpx_test::ACMRandom;
55 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
Ddct16x16_test.cc30 using libvpx_test::ACMRandom;
320 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunAccuracyCheck()
381 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunCoeffCheck()
403 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunMemCheck()
434 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunQuantCheck()
495 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunInvAccuracyCheck()
552 ACMRandom rnd(ACMRandom::DeterministicSeed()); in CompareInvReference()
794 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
Davg_test.cc27 using libvpx_test::ACMRandom;
53 rnd_.Reset(ACMRandom::DeterministicSeed()); in SetUp()
89 ACMRandom rnd_;
199 rnd_.Reset(ACMRandom::DeterministicSeed()); in SetUp()
232 ACMRandom rnd_;
246 rnd_.Reset(ACMRandom::DeterministicSeed()); in SetUp()
287 ACMRandom rnd_;
Dpredict_test.cc27 using libvpx_test::ACMRandom;
149 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TestWithRandomData()
177 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TestWithUnalignedDst()
Dminmax_test.cc24 using ::libvpx_test::ACMRandom;
33 rnd_.Reset(ACMRandom::DeterministicSeed()); in SetUp()
38 ACMRandom rnd_;
Dquantize_test.cc38 using libvpx_test::ACMRandom;
55 rnd_.Reset(ACMRandom::DeterministicSeed()); in SetupCompressor()
115 ACMRandom rnd_;
Dlpf_test.cc27 using libvpx_test::ACMRandom;
62 void InitInput(Pixel *s, Pixel *ref_s, ACMRandom *rnd, const uint8_t limit, in InitInput()
156 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
203 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
266 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
329 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P()
/external/regex-re2/util/
Drandom.h15 class ACMRandom {
17 ACMRandom(int32 seed) : seed_(seed) {} in ACMRandom() function
Drandom.cc11 int32 ACMRandom::Next() { in Next()
30 int32 ACMRandom::Uniform(int32 n) { in Uniform()

12