Home
last modified time | relevance | path

Searched refs:Rand8 (Results 1 – 25 of 26) sorted by relevance

12

/external/libvpx/libvpx/test/
Dvp8_fdct4x4_test.cc84 test_input_block[j] = rnd.Rand8() - rnd.Rand8(); in TEST()
109 test_input_block[j] = (rnd.Rand8() >> 4) - (rnd.Rand8() >> 4); in TEST()
142 test_input_block[j] = rnd.Rand8() - rnd.Rand8(); in TEST()
Dvp9_denoiser_sse2_test.cc63 rnd.Rand8() % static_cast<int>(MOTION_MAGNITUDE_THRESHOLD * 1.2); in TEST_P()
68 sig_block[j] = rnd.Rand8(); in TEST_P()
71 temp = sig_block[j] + ((rnd.Rand8() % 2 == 0) ? -1 : 1) * in TEST_P()
72 (rnd.Rand8() % 20); in TEST_P()
Dvp8_denoiser_sse2_test.cc66 rnd.Rand8() % static_cast<int>(MOTION_MAGNITUDE_THRESHOLD * 1.2); in TEST_P()
71 sig_block_sse2[j] = sig_block_c[j] = rnd.Rand8(); in TEST_P()
74 temp = sig_block_c[j] + (rnd.Rand8() % 2 == 0 ? -1 : 1) * in TEST_P()
75 (rnd.Rand8() % 20); in TEST_P()
Dacm_random.h35 uint8_t Rand8(void) { in Rand8() function
45 const uint8_t r = Rand8(); in Rand8Extremes()
Dfdct8x8_test.cc231 src[j] = rnd.Rand8(); in RunRoundTripErrorCheck()
232 dst[j] = rnd.Rand8(); in RunRoundTripErrorCheck()
316 src[j] = rnd.Rand8() % 2 ? 255 : 0; in RunExtremalCheck()
317 dst[j] = rnd.Rand8() % 2 ? 255 : 0; in RunExtremalCheck()
329 src16[j] = rnd.Rand8() % 2 ? mask_ : 0; in RunExtremalCheck()
330 dst16[j] = rnd.Rand8() % 2 ? mask_ : 0; in RunExtremalCheck()
399 src[j] = rnd.Rand8() % 2 ? 255 : 0; in RunInvAccuracyCheck()
404 src16[j] = rnd.Rand8() % 2 ? mask_ : 0; in RunInvAccuracyCheck()
451 in[j] = rnd.Rand8() % 2 == 0 ? mask_ : -mask_; in RunFwdAccuracyCheck()
Ddct32x32_test.cc137 src[j] = rnd.Rand8(); in TEST_P()
138 dst[j] = rnd.Rand8(); in TEST_P()
224 input_extreme_block[j] = rnd.Rand8() & 1 ? mask_ : -mask_; in TEST_P()
275 src[j] = rnd.Rand8(); in TEST_P()
276 dst[j] = rnd.Rand8(); in TEST_P()
Dvp10_dct_test.cc61 input[ni] = rnd.Rand8() - rnd.Rand8(); in RunFwdAccuracyCheck()
Didct8x8_test.cc80 src[j] = rnd.Rand8(); in TEST()
81 dst[j] = rnd.Rand8(); in TEST()
Dvp9_subtract_test.cc56 src[r * block_width * 2 + c] = rnd.Rand8(); in TEST_P()
57 pred[r * block_width * 2 + c] = rnd.Rand8(); in TEST_P()
Dlpf_8_test.cc219 tmp = rnd.Rand8(); in TEST_P()
229 uint8_t val = rnd.Rand8(); in TEST_P()
317 tmp = rnd.Rand8(); in TEST_P()
375 tmp = rnd.Rand8(); in TEST_P()
390 tmp = rnd.Rand8(); in TEST_P()
400 uint8_t val = rnd.Rand8(); in TEST_P()
477 tmp = rnd.Rand8(); in TEST_P()
492 tmp = rnd.Rand8(); in TEST_P()
Dvp10_inv_txfm_test.cc64 input[ni] = rnd.Rand8() - rnd.Rand8(); in RunInvAccuracyCheck()
197 input_extreme_block[j] = rnd.Rand8() % 2 ? 255 : -255; in TEST_P()
Dvariance_test.cc201 mem[j] = rnd_.Rand8() - rnd_.Rand8(); in RefTest()
313 src_[j] = rnd_.Rand8(); in RefTest()
314 ref_[j] = rnd_.Rand8(); in RefTest()
345 src_[src_ind] = rnd_.Rand8(); in RefStrideTest()
346 ref_[ref_ind] = rnd_.Rand8(); in RefStrideTest()
436 src_[j] = rnd.Rand8(); in RefTest_mse()
437 ref_[j] = rnd.Rand8(); in RefTest_mse()
452 src_[j] = rnd.Rand8(); in RefTest_sse()
453 ref_[j] = rnd.Rand8(); in RefTest_sse()
623 src_[j] = rnd_.Rand8(); in RefTest()
[all …]
Dfdct4x4_test.cc119 src[j] = rnd.Rand8(); in RunAccuracyCheck()
120 dst[j] = rnd.Rand8(); in RunAccuracyCheck()
197 input_extreme_block[j] = rnd.Rand8() % 2 ? mask_ : -mask_; in RunMemCheck()
236 src[j] = rnd.Rand8(); in RunInvAccuracyCheck()
237 dst[j] = rnd.Rand8(); in RunInvAccuracyCheck()
Dtest_intra_pred_speed.cc51 for (int i = 0; i < kTotalPixels; ++i) ref_src[i] = rnd.Rand8(); in TestIntraPred()
52 for (int i = 0; i < kBPS; ++i) left[i] = rnd.Rand8(); in TestIntraPred()
53 for (int i = -1; i < kBPS; ++i) above[i] = rnd.Rand8(); in TestIntraPred()
Ddct16x16_test.cc350 src[j] = rnd.Rand8(); in RunAccuracyCheck()
351 dst[j] = rnd.Rand8(); in RunAccuracyCheck()
426 input_extreme_block[j] = rnd.Rand8() % 2 ? mask_ : -mask_; in RunMemCheck()
465 input_extreme_block[j] = rnd.Rand8() % 2 ? mask_ : -mask_; in RunQuantCheck()
529 src[j] = rnd.Rand8(); in RunInvAccuracyCheck()
530 dst[j] = rnd.Rand8(); in RunInvAccuracyCheck()
Dvp9_boolcoder_test.cc40 (method == 3) ? rnd.Rand8() : in TEST()
Duser_priv_test.cc78 ref.idx = rnd.Rand8() % 3; in DecodeFile()
Dvp8_boolcoder_test.cc68 (method == 3) ? rnd.Rand8() : in TEST()
Dquantize_test.cc93 vp8_comp_->mb.coeff[i] = rnd_.Rand8(); in FillCoeffRandom()
Dvideo_source.h237 img_->img_data[i] = rnd_.Rand8(); in FillFrame()
Dsixtap_predict_test.cc163 src_[i] = rnd.Rand8(); in TEST_P()
Dconsistency_test.cc89 data[h * stride + w] = rnd_.Rand8(); in FillRandom()
Dblockiness_test.cc87 data[h * stride + w] = rnd_.Rand8(); in FillRandom()
Dvp9_avg_test.cc84 source_data_[i] = rnd_.Rand8(); in FillRandom()
Dpartial_idct_test.cc109 input_extreme_block[j] = rnd.Rand8() % 2 ? 255 : -255; in TEST_P()

12