Home
last modified time | relevance | path

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

/external/libvpx/libvpx/test/
Ddct32x32_test.cc127 src16[j] = rnd.Rand16() & mask_; in TEST_P()
128 dst16[j] = rnd.Rand16() & mask_; in TEST_P()
179 input_block[j] = (rnd.Rand16() & mask_) - (rnd.Rand16() & mask_); in TEST_P()
263 src16[j] = rnd.Rand16() & mask_; in TEST_P()
264 dst16[j] = rnd.Rand16() & mask_; in TEST_P()
Dfdct8x8_test.cc154 test_input_block[j] = ((rnd.Rand16() >> (16 - bit_depth_)) & mask_) - in RunSignBiasCheck()
155 ((rnd.Rand16() >> (16 - bit_depth_)) & mask_); in RunSignBiasCheck()
186 ((rnd.Rand16() & mask_) >> 4) - ((rnd.Rand16() & mask_) >> 4); in RunSignBiasCheck()
235 src16[j] = rnd.Rand16() & mask_; in RunRoundTripErrorCheck()
236 dst16[j] = rnd.Rand16() & mask_; in RunRoundTripErrorCheck()
Dvariance_test.cc408 CONVERT_TO_SHORTPTR(src_)[j] = rnd_.Rand16() & mask(); in RefTest()
409 CONVERT_TO_SHORTPTR(ref_)[j] = rnd_.Rand16() & mask(); in RefTest()
438 CONVERT_TO_SHORTPTR(src_)[src_ind] = rnd_.Rand16() & mask(); in RefStrideTest()
439 CONVERT_TO_SHORTPTR(ref_)[ref_ind] = rnd_.Rand16() & mask(); in RefStrideTest()
639 CONVERT_TO_SHORTPTR(src_)[j] = rnd_.Rand16() & mask(); in RefTest()
642 CONVERT_TO_SHORTPTR(ref_)[j] = rnd_.Rand16() & mask(); in RefTest()
709 CONVERT_TO_SHORTPTR(src_)[j] = rnd_.Rand16() & mask(); in RefTest()
710 CONVERT_TO_SHORTPTR(sec_)[j] = rnd_.Rand16() & mask(); in RefTest()
713 CONVERT_TO_SHORTPTR(ref_)[j] = rnd_.Rand16() & mask(); in RefTest()
Ddct16x16_test.cc342 src16[j] = rnd.Rand16() & mask_; in RunAccuracyCheck()
343 dst16[j] = rnd.Rand16() & mask_; in RunAccuracyCheck()
390 input_block[j] = (rnd.Rand16() & mask_) - (rnd.Rand16() & mask_); in RunCoeffCheck()
517 src16[j] = rnd.Rand16() & mask_; in RunInvAccuracyCheck()
518 dst16[j] = rnd.Rand16() & mask_; in RunInvAccuracyCheck()
Dlpf_test.cc69 tmp_s[j] = rnd->Rand16(); in InitInput()
75 tmp_s[j] = rnd->Rand16(); in InitInput()
94 tmp_s[j] = rnd->Rand16(); in InitInput()
250 s[j] = rnd.Rand16() & mask_; in TEST_P()
375 s[j] = rnd.Rand16() & mask_; in TEST_P()
Dacm_random.h31 uint16_t Rand16(void) { in Rand16() function
Davg_test.cc217 const int16_t tmp = rnd_.Rand16(); in FillRandom()
270 for (int i = 0; i < txfm_size_; ++i) coeff_[i] = rnd_.Rand16() >> 1; in FillRandom()
272 for (int i = 0; i < txfm_size_; ++i) dqcoeff_[i] = rnd_.Rand16() >> 1; in FillRandom()
Dtest_intra_pred_speed.cc47 for (int i = 0; i < kTotalPixels; ++i) ref_src[i] = rnd.Rand16() & mask; in Init()
48 for (int i = 0; i < kBPS; ++i) left[i] = rnd.Rand16() & mask; in Init()
49 for (int i = -1; i < kBPS; ++i) above[i] = rnd.Rand16() & mask; in Init()
Dpartial_idct_test.cc117 output_block_[j] = output_block_ref_[j] = rnd_.Rand16() & mask_; in InitMem()
125 output[j] = output_ref[j] = rnd_.Rand16() & mask_; in InitMem()
135 sqrt(1.0 * max_energy_leftover) * (rnd_.Rand16() - 32768) / 65536); in InitInput()
Dvp9_intrapred_test.cc63 above_row_[x] = rnd.Rand16() & mask_; in RunTest()
73 left_col_[y] = rnd.Rand16() & mask_; in RunTest()
Dconvolve_test.cc430 input16_[i] = prng.Rand16() & mask_; in SetUp()
844 r = prng.Rand16() & mask_; in TEST_P()
923 r = prng.Rand16() & mask_; in TEST_P()
Dsad_test.cc215 data16[h * stride + w] = rnd_.Rand16() & mask_; in FillRandom()