Searched refs:fastrand (Results 1 – 11 of 11) sorted by relevance
109 inline int fastrand() { in fastrand() function117 *reinterpret_cast<uint16_t*>(dst) = fastrand(); in MemRandomize()121 *dst++ = fastrand(); in MemRandomize()
186 src_y[i * kWidth + j + OFF] = (fastrand() & 0xff); \190 (fastrand() & 0xff); \192 (fastrand() & 0xff); \321 src_y[i * kWidth + j + OFF] = (fastrand() & 0xff); \325 (fastrand() & 0xff); \327 (fastrand() & 0xff); \416 src_y[i * kWidth + j + OFF] = (fastrand() & 0xff); \420 (fastrand() & 0xff); \422 (fastrand() & 0xff); \513 src_y[i * kWidth + j + OFF] = (fastrand() & 0xff); \[all …]
51 src_a[i] = (fastrand() & 0xff); in TEST_F()52 src_b[i] = (fastrand() & 0xff); in TEST_F()480 src_a[i] = (fastrand() & 0xff); in TEST_F()481 src_b[i] = (fastrand() & 0xff); in TEST_F()599 src_a[(i * kSrcStride) + j] = (fastrand() & 0xff); in TEST_F()600 src_b[(i * kSrcStride) + j] = (fastrand() & 0xff); in TEST_F()708 src_a[(i * kSrcStride) + j] = (fastrand() & 0xff); in TEST_F()709 src_b[(i * kSrcStride) + j] = (fastrand() & 0xff); in TEST_F()
69 uint8_t r = static_cast<uint8_t>(fastrand()); \77 uint8_t r = static_cast<uint8_t>(fastrand()); \86 uint8_t r = static_cast<uint8_t>(fastrand()); \92 uint8_t r = static_cast<uint8_t>(fastrand()); \327 float f = (fastrand() & 255) * 3.14f - 260.f; in TEST_F()
126 src_argb[i + off] = (fastrand() & 0xff); in TestAttenuateI()197 src_argb[i + off] = (fastrand() & 0xff); in TestUnattenuateI()1023 src_argb_a[i + OFF] = (fastrand() & 0xff); \1024 src_argb_b[i + OFF] = (fastrand() & 0xff); \1072 src_argb_a[i + off] = (fastrand() & 0xff); in TestBlend()1073 src_argb_b[i + off] = (fastrand() & 0xff); in TestBlend()1172 src_argb_a[i + off] = (fastrand() & 0xff); in TestBlendPlane()1173 src_argb_b[i + off] = (fastrand() & 0xff); in TestBlendPlane()1174 src_argb_alpha[i + off] = (fastrand() & 0xff); in TestBlendPlane()1362 orig_y[i * (yw + b * 2) + j] = fastrand() & 0xff; in TEST_F()[all …]
44 src_i420[i] = fastrand() & 0xff; in I420TestRotate()163 src_i444[i] = fastrand() & 0xff; in I444TestRotate()281 src_nv12[i] = fastrand() & 0xff; in NV12TestRotate()
44 src_argb[i] = fastrand() & 0xff; in TestRotateBpp()
178 src_argb[(i * src_stride_argb) + j] = (fastrand() & 0xff); in ARGBClipTestFilter()
36 let mul = (self.fastrand() as u64).wrapping_mul(n as u64); in fastrand_n()40 fn fastrand(&self) -> u32 { in fastrand() method
638 let mul = (self.fastrand() as u64).wrapping_mul(n as u64); in fastrand_n()642 fn fastrand(&self) -> u32 { in fastrand() method
35 alternatives including [fastrand](https://crates.io/crates/fastrand)