Lines Matching defs:expected
215 * Probe and test if the rectangle contains the expected color.
217 * If "num_expected_colors" > 1, at least one expected color must match
218 * the probed color. "expected" should be an array of 4*num_expected_colors
225 const float *expected,
245 if (fabs(probe[c] - expected[e*4+c]) >= TOLERANCE) {
247 goto next_color; /* test the next expected color */
251 expected[e*4], expected[e*4+1],
252 expected[e*4+2], expected[e*4+3]);
274 const float *expected)
276 return util_probe_rect_rgba_multi(ctx, tex, offx, offy, w, h, expected, 1);
375 /* 2 expected colors: */
379 const float *expected = tgsi_tex_target == TGSI_TEXTURE_BUFFER ?
410 cb->width0, cb->height0, expected,
785 static const float expected[] = {0.3, 0.5, 0.7, 0.9};
787 cb->width0, cb->height0, expected);
859 static const float expected[] = {1.0, 0.0, 0.0, 0.0};
861 cb->width0, cb->height0, expected);