move around - flatter.
[profile/ivi/evas.git] / src / lib / engines / common / evas_scale_smooth_scaler_noscale.c
1 {
2    DATA32 *ptr;
3    RGBA_Gfx_Func func;
4 #ifdef EVAS_SLI
5    int ysli = dst_clip_y;
6 #endif
7
8    ptr = src->image.data + ((dst_clip_y - dst_region_y + src_region_y) * src_w) + (dst_clip_x - dst_region_x) + src_region_x;
9    if (dc->mul.use)
10         func = evas_common_gfx_func_composite_pixel_color_span_get(src, dc->mul.col, dst, dst_clip_w, dc->render_op);
11    else
12         func = evas_common_gfx_func_composite_pixel_span_get(src, dst, dst_clip_w, dc->render_op);
13    while (dst_clip_h--)
14      {
15 #ifdef EVAS_SLI
16         if (((ysli) % dc->sli.h) == dc->sli.y)
17 #endif
18           {
19              func(ptr, NULL, dc->mul.col, dst_ptr, dst_clip_w);
20           }
21 #ifdef EVAS_SLI
22         ysli++;
23 #endif
24         ptr += src_w;
25         dst_ptr += dst_w;
26      }
27 }