summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/engines/common/evas_scale_sample.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-10-16 03:15:40 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-10-16 03:15:40 +0000
commit71adbc0c3806fb0b4dfe7268a24edf17917afb04 (patch)
treef826313eaf1e990cfdbf1659b9745af1515d7376 /legacy/evas/src/lib/engines/common/evas_scale_sample.c
parent6912aba9dbb6d291e1d60c3fa3d7de5436b19b1d (diff)
futher option reduction and ifdef removal.
SVN revision: 78029
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/engines/common/evas_scale_sample.c72
1 files changed, 0 insertions, 72 deletions
diff --git a/legacy/evas/src/lib/engines/common/evas_scale_sample.c b/legacy/evas/src/lib/engines/common/evas_scale_sample.c
index 5e34a37825..f78aad3879 100644
--- a/legacy/evas/src/lib/engines/common/evas_scale_sample.c
+++ b/legacy/evas/src/lib/engines/common/evas_scale_sample.c
@@ -3,43 +3,6 @@
3 3
4static void scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst, RGBA_Draw_Context *dc, int src_region_x, int src_region_y, int src_region_w, int src_region_h, int dst_region_x, int dst_region_y, int dst_region_w, int dst_region_h); 4static void scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst, RGBA_Draw_Context *dc, int src_region_x, int src_region_y, int src_region_w, int src_region_h, int dst_region_x, int dst_region_y, int dst_region_w, int dst_region_h);
5 5
6#ifndef BUILD_SCALE_SMOOTH
7#ifdef BUILD_SCALE_SAMPLE
8EAPI void
9evas_common_scale_rgba_in_to_out_clip_smooth_do(const Cutout_Rects *reuse,
10 const Eina_Rectangle *clip,
11 RGBA_Image *src, RGBA_Image *dst,
12 RGBA_Draw_Context *dc,
13 int src_region_x, int src_region_y,
14 int src_region_w, int src_region_h,
15 int dst_region_x, int dst_region_y,
16 int dst_region_w, int dst_region_h)
17{
18 evas_common_scale_rgba_in_to_out_clip_sample_do(reuse, clip, src, dst, dc,
19 src_region_x, src_region_y,
20 src_region_w, src_region_h,
21 dst_region_x, dst_region_y,
22 dst_region_w, dst_region_h);
23}
24
25EAPI void
26evas_common_scale_rgba_in_to_out_clip_smooth(RGBA_Image *src, RGBA_Image *dst,
27 RGBA_Draw_Context *dc,
28 int src_region_x, int src_region_y,
29 int src_region_w, int src_region_h,
30 int dst_region_x, int dst_region_y,
31 int dst_region_w, int dst_region_h)
32{
33 evas_common_scale_rgba_in_to_out_clip_sample(src, dst, dc,
34 src_region_x, src_region_y,
35 src_region_w, src_region_h,
36 dst_region_x, dst_region_y,
37 dst_region_w, dst_region_h);
38}
39#endif
40#endif
41
42#ifdef BUILD_SCALE_SAMPLE
43EAPI void 6EAPI void
44evas_common_scale_rgba_in_to_out_clip_sample(RGBA_Image *src, RGBA_Image *dst, 7evas_common_scale_rgba_in_to_out_clip_sample(RGBA_Image *src, RGBA_Image *dst,
45 RGBA_Draw_Context *dc, 8 RGBA_Draw_Context *dc,
@@ -443,38 +406,3 @@ scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst,
443 } 406 }
444 } 407 }
445} 408}
446#else
447#ifdef BUILD_SCALE_SMOOTH
448EAPI void
449evas_common_scale_rgba_in_to_out_clip_sample(RGBA_Image *src, RGBA_Image *dst,
450 RGBA_Draw_Context *dc,
451 int src_region_x, int src_region_y,
452 int src_region_w, int src_region_h,
453 int dst_region_x, int dst_region_y,
454 int dst_region_w, int dst_region_h)
455{
456 evas_common_scale_rgba_in_to_out_clip_smooth(src, dst, dc,
457 src_region_x, src_region_y,
458 src_region_w, src_region_h,
459 dst_region_x, dst_region_y,
460 dst_region_w, dst_region_h);
461}
462
463EAPI void
464evas_common_scale_rgba_in_to_out_clip_sample_do(const Cutout_Rects *reuse,
465 const Eina_Rectangle *clip,
466 RGBA_Image *src, RGBA_Image *dst,
467 RGBA_Draw_Context *dc,
468 int src_region_x, int src_region_y,
469 int src_region_w, int src_region_h,
470 int dst_region_x, int dst_region_y,
471 int dst_region_w, int dst_region_h)
472{
473 evas_common_scale_rgba_in_to_out_clip_smooth_do(reuse, clip, src, dst, dc,
474 src_region_x, src_region_y,
475 src_region_w, src_region_h,
476 dst_region_x, dst_region_y,
477 dst_region_w, dst_region_h);
478}
479#endif
480#endif