Lines Matching refs:gfloat
43 static gboolean test_comparison (const gfloat *reference,
44 const gfloat *test_case,
114 (gfloat) actual_result.max_diff, in compare_values()
115 (gfloat) expected_result->max_diff); in compare_values()
122 (gfloat) actual_result.avg_diff_wrong, in compare_values()
123 (gfloat) expected_result->avg_diff_wrong); in compare_values()
130 (gfloat) actual_result.avg_diff_total, in compare_values()
131 (gfloat) expected_result->avg_diff_total); in compare_values()
146 test_comparison (const gfloat *reference, in test_comparison()
147 const gfloat *test_case, in test_comparison()
202 gfloat reference [NUM_PIXELS * 4]; in main()
203 gfloat test_alpha [NUM_PIXELS * 4]; in main()
204 gfloat test_rgba_r [NUM_PIXELS * 4]; in main()
205 gfloat test_rgba_g [NUM_PIXELS * 4]; in main()
206 gfloat test_rgba_b [NUM_PIXELS * 4]; in main()
207 gfloat test_ok [NUM_PIXELS * 4]; in main()
216 gfloat coef = i / (gfloat) (i + 1.0); in main()
223 memcpy (test_alpha, reference, NUM_PIXELS * 4 * sizeof (gfloat)); in main()
224 memcpy (test_rgba_r, reference, NUM_PIXELS * 4 * sizeof (gfloat)); in main()
225 memcpy (test_rgba_g, reference, NUM_PIXELS * 4 * sizeof (gfloat)); in main()
226 memcpy (test_rgba_b, reference, NUM_PIXELS * 4 * sizeof (gfloat)); in main()
227 memcpy (test_ok , reference, NUM_PIXELS * 4 * sizeof (gfloat)); in main()