Lines Matching refs:gfloat
60 gfloat *src_begin,
61 gfloat *dst)
64 gfloat* src = src_begin + 4*(x + buf_width*y);
74 gfloat *inten_begin,
75 gfloat *dst)
86 gfloat *src_buf,
87 gfloat *inten_buf,
88 gfloat *dst_pixel)
90 gfloat cumulative_rgb[4][NUM_INTENSITIES];
92 gfloat mult_inten;
93 gfloat temp_pixel[4];
99 gfloat ratio, temp_inten_pixel;
100 gfloat weight;
101 gfloat color[4];
102 gfloat div;
153 ratio = (gfloat) hist_inten[i] / (gfloat) inten_max;
161 mult_inten = weight / (gfloat) hist_inten[i];
179 gfloat *src_buf,
180 gfloat *dst_pixel)
183 gfloat temp_pixel[4];
189 gfloat sum[4];
190 gfloat ratio;
191 gfloat weight;
192 gfloat result[4];
193 gfloat div[4];
242 ratio = (gfloat) hist[b][i] / (gfloat) hist_max[b]; \
246 sum[b] += weight * (gfloat) i; \
259 result[b] = sum[b] / (gfloat) (intensities - 1);
312 cl_float exp = (gfloat)exponent;
408 gfloat *src_buf;
409 gfloat *dst_buf;
410 gfloat *inten_buf;
411 gfloat *out_pixel;
412 gfloat *mask_radius_pixel = NULL;
413 gfloat *exponent_pixel = NULL;
414 gfloat *mask_radius_buf = NULL;
415 gfloat *exponent_buf = NULL;
434 src_buf = gegl_malloc (4 * total_pixels * sizeof (gfloat));
435 dst_buf = gegl_malloc (4 * n_pixels * sizeof (gfloat));
438 inten_buf = gegl_malloc (total_pixels * sizeof (gfloat));
444 mask_radius_buf = mask_radius_pixel = gegl_malloc (n_pixels * sizeof (gfloat));
450 exponent_buf = exponent_pixel = gegl_malloc (n_pixels * sizeof (gfloat));