Lines Matching refs:RNG
58 RNG rng((uint64)1749583);
61 uchar b = rng.uniform(0, 256);
62 uchar g = rng.uniform(0, 256);
63 uchar r = rng.uniform(0, 256);
102 RNG rng((uint64)123456);
106 bool use_big_image = rng.uniform(0, 7) != 0;
107 bool invert = rng.uniform(0, 2) != 0;
108 bool binarize = use_big_image ? rng.uniform(0, 5) != 0 : false;
109 bool blur = rng.uniform(0, 2) != 0;
110 int thresh = thresharr[rng.uniform(0, 5)];