Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dvp9_boolcoder_test.cc30 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST() local
41 (method == 3) ? rnd.Rand8() : in TEST()
44 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) : in TEST()
46 (parity ? rnd(64) : 255 - rnd(64)) : in TEST()
47 (parity ? rnd(32) : 255 - rnd(32)); in TEST()
Dvp8_boolcoder_test.cc57 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST() local
68 (method == 3) ? rnd.Rand8() : in TEST()
71 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) : in TEST()
73 (parity ? rnd(64) : 255 - rnd(64)) : in TEST()
74 (parity ? rnd(32) : 255 - rnd(32)); in TEST()
Ddct32x32_test.cc98 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P() local
110 src[j] = rnd.Rand8(); in TEST_P()
111 dst[j] = rnd.Rand8(); in TEST_P()
140 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P() local
149 input_block[j] = rnd.Rand8() - rnd.Rand8(); in TEST_P()
168 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P() local
179 input_block[j] = rnd.Rand8() - rnd.Rand8(); in TEST_P()
180 input_extreme_block[j] = rnd.Rand8() & 1 ? 255 : -255; in TEST_P()
212 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P() local
224 src[j] = rnd.Rand8(); in TEST_P()
[all …]
Dvp8_fdct4x4_test.cc72 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST() local
84 test_input_block[j] = rnd.Rand8() - rnd.Rand8(); in TEST()
109 test_input_block[j] = (rnd.Rand8() >> 4) - (rnd.Rand8() >> 4); in TEST()
131 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST() local
142 test_input_block[j] = rnd.Rand8() - rnd.Rand8(); in TEST()
Dfdct4x4_test.cc61 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunAccuracyCheck() local
73 src[j] = rnd.Rand8(); in RunAccuracyCheck()
74 dst[j] = rnd.Rand8(); in RunAccuracyCheck()
99 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunCoeffCheck() local
108 input_block[j] = rnd.Rand8() - rnd.Rand8(); in RunCoeffCheck()
120 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunMemCheck() local
130 input_block[j] = rnd.Rand8() - rnd.Rand8(); in RunMemCheck()
131 input_extreme_block[j] = rnd.Rand8() % 2 ? 255 : -255; in RunMemCheck()
154 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunInvAccuracyCheck() local
164 src[j] = rnd.Rand8(); in RunInvAccuracyCheck()
[all …]
Dfdct8x8_test.cc59 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunSignBiasCheck() local
70 test_input_block[j] = rnd.Rand8() - rnd.Rand8(); in RunSignBiasCheck()
99 test_input_block[j] = (rnd.Rand8() >> 4) - (rnd.Rand8() >> 4); in RunSignBiasCheck()
125 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunRoundTripErrorCheck() local
137 src[j] = rnd.Rand8(); in RunRoundTripErrorCheck()
138 dst[j] = rnd.Rand8(); in RunRoundTripErrorCheck()
177 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunExtremalCheck() local
189 src[j] = rnd.Rand8() % 2 ? 255 : 0; in RunExtremalCheck()
Dset_roi.cc30 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST() local
126 rand_deltas[0] = rnd(160) - 80; in TEST()
127 rand_deltas[1] = rnd(160) - 80; in TEST()
128 rand_deltas[2] = rnd(160) - 80; in TEST()
129 rand_deltas[3] = rnd(160) - 80; in TEST()
Ddct16x16_test.cc289 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunAccuracyCheck() local
301 src[j] = rnd.Rand8(); in RunAccuracyCheck()
302 dst[j] = rnd.Rand8(); in RunAccuracyCheck()
327 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunCoeffCheck() local
336 input_block[j] = rnd.Rand8() - rnd.Rand8(); in RunCoeffCheck()
348 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunMemCheck() local
358 input_block[j] = rnd.Rand8() - rnd.Rand8(); in RunMemCheck()
359 input_extreme_block[j] = rnd.Rand8() % 2 ? 255 : -255; in RunMemCheck()
382 ACMRandom rnd(ACMRandom::DeterministicSeed()); in RunInvAccuracyCheck() local
394 src[j] = rnd.Rand8(); in RunInvAccuracyCheck()
[all …]
Dvp9_subtract_test.cc37 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P() local
54 src[r * block_width * 2 + c] = rnd.Rand8(); in TEST_P()
55 pred[r * block_width * 2 + c] = rnd.Rand8(); in TEST_P()
Dsubtract_test.cc35 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P() local
71 base_src[c] = rnd.Rand8(); in TEST_P()
80 predictor[c] = rnd.Rand8(); in TEST_P()
Didct8x8_test.cc109 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST() local
117 src[j] = rnd.Rand8(); in TEST()
118 dst[j] = rnd.Rand8(); in TEST()
Dvariance_test.cc91 rnd(ACMRandom::DeterministicSeed()); in SetUp()
110 ACMRandom rnd; member in __anon1c11aa680111::VarianceTest
137 src_[j] = rnd.Rand8(); in RefTest()
138 ref_[j] = rnd.Rand8(); in RefTest()
207 rnd(ACMRandom::DeterministicSeed()); in SetUp()
227 ACMRandom rnd; member in __anon1c11aa680111::SubpelVarianceTest
242 src_[j] = rnd.Rand8(); in RefTest()
245 ref_[j] = rnd.Rand8(); in RefTest()
264 src_[j] = rnd.Rand8(); in RefTest()
265 sec_[j] = rnd.Rand8(); in RefTest()
[all …]
Dpartial_idct_test.cc55 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P() local
91 (rnd.Rand16() - 32768) / 65536); in TEST_P()
Dintrapred_test.cc53 ACMRandom rnd(ACMRandom::DeterministicSeed()); in FillRandom() local
56 data_ptr_[p][x - stride_] = rnd.Rand8(); in FillRandom()
58 data_ptr_[p][y * stride_ - 1] = rnd.Rand8(); in FillRandom()
Dsixtap_predict_test.cc158 ACMRandom rnd(ACMRandom::DeterministicSeed()); in TEST_P() local
160 src_[i] = rnd.Rand8(); in TEST_P()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/x86/
Dvp9_subpel_variance.asm417 ; FIXME(rbultje) instead of out=((num-x)*in1+x*in2+rnd)>>log2(num), we can
418 ; also do out=in1+(((num-x)*(in2-in1)+rnd)>>log2(num)). Total number of