Home
last modified time | relevance | path

Searched refs:fastrand (Results 1 – 8 of 8) sorted by relevance

/external/libyuv/files/unit_test/
Dconvert_test.cc57 src_y[i * kWidth + j + OFF] = (fastrand() & 0xff); \
61 (fastrand() & 0xff); \
63 (fastrand() & 0xff); \
183 src_y[i * kWidth + j + OFF] = (fastrand() & 0xff); \
187 (fastrand() & 0xff); \
189 (fastrand() & 0xff); \
301 src_y[i * kWidth + j + OFF] = (fastrand() & 0xff); \
305 (fastrand() & 0xff); \
307 (fastrand() & 0xff); \
397 src_y[i * kWidth + j + OFF] = (fastrand() & 0xff); \
[all …]
Dcompare_test.cc48 src_a[i] = (fastrand() & 0xff); in TEST_F()
49 src_b[i] = (fastrand() & 0xff); in TEST_F()
261 src_a[i] = (fastrand() & 0xff); in TEST_F()
262 src_b[i] = (fastrand() & 0xff); in TEST_F()
378 src_a[(i * kSrcStride) + j] = (fastrand() & 0xff); in TEST_F()
379 src_b[(i * kSrcStride) + j] = (fastrand() & 0xff); in TEST_F()
486 src_a[(i * kSrcStride) + j] = (fastrand() & 0xff); in TEST_F()
487 src_b[(i * kSrcStride) + j] = (fastrand() & 0xff); in TEST_F()
Dunit_test.h108 inline int fastrand() { in fastrand() function
116 *reinterpret_cast<uint16*>(dst) = fastrand(); in MemRandomize()
120 *dst++ = fastrand(); in MemRandomize()
Dplanar_test.cc122 src_argb[i + off] = (fastrand() & 0xff); in TestAttenuateI()
193 src_argb[i + off] = (fastrand() & 0xff); in TestUnattenuateI()
1019 src_argb_a[i + OFF] = (fastrand() & 0xff); \
1020 src_argb_b[i + OFF] = (fastrand() & 0xff); \
1068 src_argb_a[i + off] = (fastrand() & 0xff); in TestBlend()
1069 src_argb_b[i + off] = (fastrand() & 0xff); in TestBlend()
1168 src_argb_a[i + off] = (fastrand() & 0xff); in TestBlendPlane()
1169 src_argb_b[i + off] = (fastrand() & 0xff); in TestBlendPlane()
1170 src_argb_alpha[i + off] = (fastrand() & 0xff); in TestBlendPlane()
1360 orig_y[i * (yw + b * 2) + j] = fastrand() & 0xff; in TEST_F()
[all …]
Dcolor_test.cc69 uint8 r = static_cast<uint8>(fastrand()); \
77 uint8 r = static_cast<uint8>(fastrand()); \
86 uint8 r = static_cast<uint8>(fastrand()); \
92 uint8 r = static_cast<uint8>(fastrand()); \
327 float f = (fastrand() & 255) * 3.14f - 260.f; in TEST_F()
Drotate_test.cc44 src_i420[i] = fastrand() & 0xff; in I420TestRotate()
164 src_nv12[i] = fastrand() & 0xff; in NV12TestRotate()
Drotate_argb_test.cc44 src_argb[i] = fastrand() & 0xff; in TestRotateBpp()
Dscale_argb_test.cc177 src_argb[(i * src_stride_argb) + j] = (fastrand() & 0xff); in ARGBClipTestFilter()