• Home
  • Raw
  • Download

Lines Matching refs:randInt

102     int depth = cvtest::randInt(rng) % 3;  in get_test_array_types_and_sizes()
103 int cn = cvtest::randInt(rng) % 3 + 1; in get_test_array_types_and_sizes()
110 types[INPUT][1] = cvtest::randInt(rng) & 1 ? CV_32FC1 : CV_64FC1; in get_test_array_types_and_sizes()
112 interpolation = cvtest::randInt(rng) % max_interpolation; in get_test_array_types_and_sizes()
228 sz.width = (cvtest::randInt(rng) % sizes[INPUT][0].width) + 1; in get_test_array_types_and_sizes()
229 sz.height = (cvtest::randInt(rng) % sizes[INPUT][0].height) + 1; in get_test_array_types_and_sizes()
231 if( cvtest::randInt(rng) & 1 ) in get_test_array_types_and_sizes()
233 int xfactor = cvtest::randInt(rng) % 10 + 1; in get_test_array_types_and_sizes()
234 int yfactor = cvtest::randInt(rng) % 10 + 1; in get_test_array_types_and_sizes()
236 if( cvtest::randInt(rng) & 1 ) in get_test_array_types_and_sizes()
247 if( cvtest::randInt(rng) & 1 ) in get_test_array_types_and_sizes()
839 types[INPUT][1] = cvtest::randInt(rng)%2 ? CV_64F : CV_32F; in get_test_array_types_and_sizes()
840 types[INPUT][2] = cvtest::randInt(rng)%2 ? CV_64F : CV_32F; in get_test_array_types_and_sizes()
842 sizes[INPUT][2] = cvtest::randInt(rng)%2 ? cvSize(4,1) : cvSize(1,4); in get_test_array_types_and_sizes()
913 if( cvtest::randInt(rng)%4 != 0 ) in prepare_test_case()
928 zero_distortion = (cvtest::randInt(rng)%2) == 0 ? false : true; in prepare_test_case()
931 zero_new_cam = (cvtest::randInt(rng)%2) == 0 ? false : true; in prepare_test_case()
935 useCPlus = ((cvtest::randInt(rng) % 2)!=0); in prepare_test_case()
1002 int depth = cvtest::randInt(rng)%2 ? CV_64F : CV_32F; in get_test_array_types_and_sizes()
1006 dualChannel = cvtest::randInt(rng)%2 == 0; in get_test_array_types_and_sizes()
1010 sizes[INPUT][1] = cvtest::randInt(rng)%2 ? cvSize(4,1) : cvSize(1,4); in get_test_array_types_and_sizes()
1167 int src_depth = cvtest::randInt(rng) % 2, dst_depth; in get_test_array_types_and_sizes()
1168 int cn = cvtest::randInt(rng) % 2 ? 3 : 1; in get_test_array_types_and_sizes()
1172 if( src_depth < CV_32F && cvtest::randInt(rng) % 2 ) in get_test_array_types_and_sizes()
1189 test_cpp = (cvtest::randInt(rng) & 256) == 0; in get_test_array_types_and_sizes()
1275 int msz, src_depth = cvtest::randInt(rng) % 2, dst_depth; in get_test_array_types_and_sizes()
1276 int cn = cvtest::randInt(rng) % 2 ? 3 : 1; in get_test_array_types_and_sizes()
1279 if( src_depth < CV_32F && cvtest::randInt(rng) % 2 ) in get_test_array_types_and_sizes()