Lines Matching refs:y_c
54 int x_c, x_f, y_c, y_f;
64 y_c = y_f + 1;
66 v1 = PIXEL(src, x_c, y_c, width, height, stride, def);
68 v3 = PIXEL(src, x_f, y_c, width, height, stride, def);
71 return (v1*(x - x_f)*(y - y_f) + v2*((x - x_f)*(y_c - y)) +
72 v3*(x_c - x)*(y - y_f) + v4*((x_c - x)*(y_c - y)));
81 int x_c, x_f, y_c, y_f;
91 y_c = y_f + 1;
93 v1 = PIXEL(src, x_c, y_c, width, height, stride, def);
95 v3 = PIXEL(src, x_f, y_c, width, height, stride, def);
98 f1 = 1 - sqrt((x_c - x) * (y_c - y));
100 f3 = 1 - sqrt((x - x_f) * (y_c - y));