summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/engines
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-10-16 04:00:18 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-10-16 04:00:18 +0000
commit8c088a95dd5cfa8aa00b248d6701c46af7568fc8 (patch)
tree72bf500c9ebf35cd269d4f59ad7acbf47eb6d5a4 /legacy/evas/src/lib/engines
parent0e814d48e4725d7b3778f9c82cf5c93c61fdbe7e (diff)
remove ifdefs for BUILD_C as we always have c fallbacks now - no
choice, and MMX and SSE are built together under BUILD_MMX - SSE3 still separate. SVN revision: 78031
Diffstat (limited to 'legacy/evas/src/lib/engines')
-rw-r--r--legacy/evas/src/lib/engines/common/evas_blend_main.c2
-rw-r--r--legacy/evas/src/lib/engines/common/evas_blit_main.c124
-rw-r--r--legacy/evas/src/lib/engines/common/evas_convert_yuv.c19
-rw-r--r--legacy/evas/src/lib/engines/common/evas_cpu.c26
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_add/op_add_color_.c8
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_add/op_add_mask_color_.c9
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_add/op_add_pixel_.c8
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_add/op_add_pixel_color_.c8
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_add/op_add_pixel_mask_.c8
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_add_main_.c12
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_color_.c8
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_mask_color_.c8
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_pixel_.c8
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_pixel_color_.c8
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_pixel_mask_.c8
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_blend_main_.c12
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_color_.c11
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_mask_color_.c8
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_pixel_.c8
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_pixel_color_.c8
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_pixel_mask_.c8
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_copy_main_.c12
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_color_.c5
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_mask_color_.c4
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_pixel_.c4
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_pixel_color_.c4
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_pixel_mask_.c4
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_mask_main_.c6
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_color_.c5
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_mask_color_.c4
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_pixel_.c4
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_pixel_color_.c4
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_pixel_mask_.c5
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_mul_main_.c6
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_color_.c8
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_mask_color_.c8
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_pixel_.c8
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_pixel_color_.c8
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_pixel_mask_.c8
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_sub_main_.c12
-rw-r--r--legacy/evas/src/lib/engines/common/evas_scale_smooth.c10
41 files changed, 46 insertions, 402 deletions
diff --git a/legacy/evas/src/lib/engines/common/evas_blend_main.c b/legacy/evas/src/lib/engines/common/evas_blend_main.c
index 4aadd023d6..dcc0f4c94e 100644
--- a/legacy/evas/src/lib/engines/common/evas_blend_main.c
+++ b/legacy/evas/src/lib/engines/common/evas_blend_main.c
@@ -1,7 +1,7 @@
1#include "evas_common.h" 1#include "evas_common.h"
2#include "evas_blend_private.h" 2#include "evas_blend_private.h"
3 3
4#if defined BUILD_MMX || defined BUILD_SSE 4#ifdef BUILD_MMX
5#include "evas_mmx.h" 5#include "evas_mmx.h"
6#endif 6#endif
7 7
diff --git a/legacy/evas/src/lib/engines/common/evas_blit_main.c b/legacy/evas/src/lib/engines/common/evas_blit_main.c
index 4c077b3fe2..bed6d01dc0 100644
--- a/legacy/evas/src/lib/engines/common/evas_blit_main.c
+++ b/legacy/evas/src/lib/engines/common/evas_blit_main.c
@@ -1,6 +1,6 @@
1#include "evas_common.h" 1#include "evas_common.h"
2 2
3#if defined BUILD_MMX || defined BUILD_SSE 3#ifdef BUILD_MMX
4#include "evas_mmx.h" 4#include "evas_mmx.h"
5#endif 5#endif
6 6
@@ -233,7 +233,6 @@ evas_common_copy_pixels_rev_neon(DATA32 *src, DATA32 *dst, int len)
233#endif 233#endif
234 234
235 235
236#ifdef BUILD_C
237static void 236static void
238evas_common_copy_pixels_c(DATA32 *src, DATA32 *dst, int len) 237evas_common_copy_pixels_c(DATA32 *src, DATA32 *dst, int len)
239{ 238{
@@ -241,7 +240,6 @@ evas_common_copy_pixels_c(DATA32 *src, DATA32 *dst, int len)
241 240
242 while (dst < dst_end) *dst++ = *src++; 241 while (dst < dst_end) *dst++ = *src++;
243} 242}
244#endif
245 243
246#ifdef BUILD_MMX 244#ifdef BUILD_MMX
247static void 245static void
@@ -259,11 +257,9 @@ evas_common_copy_pixels_mmx(DATA32 *src, DATA32 *dst, int len)
259 if ((src_align != dst_align) || 257 if ((src_align != dst_align) ||
260 ((src_align & 0x3) != 0)) 258 ((src_align & 0x3) != 0))
261 { 259 {
262#ifdef BUILD_C
263 evas_common_copy_pixels_c(src, dst, len); 260 evas_common_copy_pixels_c(src, dst, len);
264 return; 261 return;
265 } 262 }
266#endif
267 263
268 while ((src_align > 0) && (len > 0)) 264 while ((src_align > 0) && (len > 0))
269 { 265 {
@@ -301,9 +297,7 @@ evas_common_copy_pixels_mmx2(DATA32 *src, DATA32 *dst, int len)
301 if ((src_align != dst_align) || 297 if ((src_align != dst_align) ||
302 ((src_align & 0x3) != 0)) 298 ((src_align & 0x3) != 0))
303 { 299 {
304#ifdef BUILD_C
305 evas_common_copy_pixels_c(src, dst, len); 300 evas_common_copy_pixels_c(src, dst, len);
306#endif
307 return; 301 return;
308 } 302 }
309 303
@@ -420,7 +414,7 @@ evas_common_copy_pixels_neon(DATA32 *src, DATA32 *dst, int len){
420} 414}
421#endif /* BUILD_NEON */ 415#endif /* BUILD_NEON */
422 416
423#ifdef BUILD_SSE 417#ifdef BUILD_MMX
424static void 418static void
425evas_common_copy_pixels_sse(DATA32 *src, DATA32 *dst, int len) 419evas_common_copy_pixels_sse(DATA32 *src, DATA32 *dst, int len)
426{ 420{
@@ -454,9 +448,7 @@ evas_common_copy_pixels_sse(DATA32 *src, DATA32 *dst, int len)
454 if ((src_align != dst_align) || 448 if ((src_align != dst_align) ||
455 ((src_align & 0x3) != 0)) 449 ((src_align & 0x3) != 0))
456 { 450 {
457#ifdef BUILD_C
458 evas_common_copy_pixels_c(src, dst, len); 451 evas_common_copy_pixels_c(src, dst, len);
459#endif
460 return; 452 return;
461 } 453 }
462 454
@@ -494,7 +486,6 @@ evas_common_copy_pixels_sse(DATA32 *src, DATA32 *dst, int len)
494 486
495/****************************************************************************/ 487/****************************************************************************/
496 488
497#ifdef BUILD_C
498static void 489static void
499evas_common_copy_pixels_rev_c(DATA32 *src, DATA32 *dst, int len) 490evas_common_copy_pixels_rev_c(DATA32 *src, DATA32 *dst, int len)
500{ 491{
@@ -506,7 +497,6 @@ evas_common_copy_pixels_rev_c(DATA32 *src, DATA32 *dst, int len)
506 497
507 while (dst > dst_end) *dst-- = *src--; 498 while (dst > dst_end) *dst-- = *src--;
508} 499}
509#endif
510 500
511#ifdef BUILD_MMX 501#ifdef BUILD_MMX
512static void 502static void
@@ -543,7 +533,7 @@ evas_common_copy_pixels_rev_mmx(DATA32 *src, DATA32 *dst, int len)
543} 533}
544#endif 534#endif
545 535
546#ifdef BUILD_SSE 536#ifdef BUILD_MMX
547static void 537static void
548evas_common_copy_pixels_rev_sse(DATA32 *src, DATA32 *dst, int len) 538evas_common_copy_pixels_rev_sse(DATA32 *src, DATA32 *dst, int len)
549{ 539{
@@ -586,7 +576,6 @@ evas_common_copy_pixels_rev_sse(DATA32 *src, DATA32 *dst, int len)
586} 576}
587#endif 577#endif
588 578
589
590Gfx_Func_Copy 579Gfx_Func_Copy
591evas_common_draw_func_copy_get(int pixels, int reverse) 580evas_common_draw_func_copy_get(int pixels, int reverse)
592{ 581{
@@ -594,107 +583,32 @@ evas_common_draw_func_copy_get(int pixels, int reverse)
594 return evas_common_copy_rev_pixels_c; 583 return evas_common_copy_rev_pixels_c;
595 if (reverse) 584 if (reverse)
596 { 585 {
597#ifdef BUILD_SSE
598 if (evas_common_cpu_has_feature(CPU_FEATURE_SSE) && (pixels > 256 * 256))
599 return evas_common_copy_pixels_rev_sse;
600#endif
601#ifdef BUILD_MMX 586#ifdef BUILD_MMX
602# ifdef BUILD_SSE 587 if (evas_common_cpu_has_feature(CPU_FEATURE_SSE) && (pixels > 64 * 64))
603 else 588 return evas_common_copy_pixels_rev_sse;
604# endif 589 else if (evas_common_cpu_has_feature(CPU_FEATURE_MMX))
605 if (evas_common_cpu_has_feature(CPU_FEATURE_MMX)) 590 return evas_common_copy_pixels_rev_mmx;
606 return evas_common_copy_pixels_rev_mmx;
607#endif 591#endif
608#ifdef BUILD_NEON 592#ifdef BUILD_NEON
609# if defined(BUILD_SSE) || defined(BUILD_MMX) 593 if (evas_common_cpu_has_feature(CPU_FEATURE_NEON))
610 else 594 return evas_common_copy_pixels_rev_neon;
611# endif
612 if (evas_common_cpu_has_feature(CPU_FEATURE_NEON))
613 return evas_common_copy_pixels_rev_neon;
614#endif
615
616#ifdef BUILD_C
617# if defined(BUILD_MMX) || defined(BUILD_NEON)
618 else
619# endif
620 return evas_common_copy_pixels_rev_c;
621#endif 595#endif
596 return evas_common_copy_pixels_rev_c;
622 } 597 }
623 else 598 else
624 { 599 {
625#if 1
626
627# ifdef BUILD_MMX
628# ifdef BUILD_C
629 if (evas_common_cpu_has_feature(CPU_FEATURE_MMX2))
630# endif
631 return evas_common_copy_pixels_mmx2;
632# ifdef BUILD_SSE
633 else
634# endif
635#endif
636#ifdef BUILD_SSE
637# ifdef BUILD_C
638 if (evas_common_cpu_has_feature(CPU_FEATURE_SSE) && (pixels > 64 * 64))
639# endif
640 return evas_common_copy_pixels_sse;
641# ifdef BUILD_MMX
642 else
643# endif
644#endif
645# ifdef BUILD_NEON
646# ifdef BUILD_C
647 if (evas_common_cpu_has_feature(CPU_FEATURE_NEON))
648# endif
649 return evas_common_copy_pixels_neon;
650# ifdef BUILD_SSE
651 else
652# endif
653#endif
654#ifdef BUILD_MMX 600#ifdef BUILD_MMX
655# ifdef BUILD_C 601 if (evas_common_cpu_has_feature(CPU_FEATURE_SSE) && (pixels > 64 * 64))
656 if (evas_common_cpu_has_feature(CPU_FEATURE_MMX)) 602 return evas_common_copy_pixels_sse;
657# endif 603 else if (evas_common_cpu_has_feature(CPU_FEATURE_MMX2))
658 return evas_common_copy_pixels_mmx; 604 return evas_common_copy_pixels_mmx2;
659# ifdef BUILD_C 605 else if (evas_common_cpu_has_feature(CPU_FEATURE_MMX))
660 else 606 return evas_common_copy_pixels_mmx;
661# endif
662#endif
663#ifdef BUILD_C
664 return evas_common_copy_pixels_c;
665#endif 607#endif
666 608#ifdef BUILD_NEON
667#else 609 if (evas_common_cpu_has_feature(CPU_FEATURE_NEON))
668 610 return evas_common_copy_pixels_neon;
669# ifdef BUILD_SSE
670 if (evas_common_cpu_has_feature(CPU_FEATURE_SSE) && (pixels > 256 * 256))
671 return evas_common_copy_pixels_sse;
672# ifdef BUILD_MMX
673 else
674# endif
675#endif
676#ifdef BUILD_MMX
677# ifdef BUILD_C
678 if (evas_common_cpu_has_feature(CPU_FEATURE_MMX2))
679# endif
680 return evas_common_copy_pixels_mmx2;
681# ifdef BUILD_C
682 else if (evas_common_cpu_has_feature(CPU_FEATURE_MMX))
683# endif
684 return evas_common_copy_pixels_mmx;
685# ifdef BUILD_C
686 else
687# endif
688#endif
689#ifdef BUILD_C
690 return evas_common_copy_pixels_c;
691#endif
692
693#endif 611#endif
694 } 612 }
695#ifdef BUILD_C
696 return evas_common_copy_pixels_c; 613 return evas_common_copy_pixels_c;
697#else
698 return NULL;
699#endif
700} 614}
diff --git a/legacy/evas/src/lib/engines/common/evas_convert_yuv.c b/legacy/evas/src/lib/engines/common/evas_convert_yuv.c
index eada664eeb..b943f2520c 100644
--- a/legacy/evas/src/lib/engines/common/evas_convert_yuv.c
+++ b/legacy/evas/src/lib/engines/common/evas_convert_yuv.c
@@ -1,11 +1,11 @@
1#include "evas_common.h" 1#include "evas_common.h"
2#include "evas_convert_yuv.h" 2#include "evas_convert_yuv.h"
3 3
4#if defined BUILD_MMX 4#ifdef BUILD_MMX
5# include "evas_mmx.h" 5# include "evas_mmx.h"
6#endif 6#endif
7 7
8#if defined HAVE_ALTIVEC_H 8#ifdef HAVE_ALTIVEC_H
9# include <altivec.h> 9# include <altivec.h>
10#ifdef CONFIG_DARWIN 10#ifdef CONFIG_DARWIN
11#define AVV(x...) (x) 11#define AVV(x...) (x)
@@ -45,7 +45,7 @@ static void _evas_nv12tiledtorgb_raster(unsigned char **yuv, unsigned char *rgb,
45#define RZ(i) (i >> (BITRES - RES)) 45#define RZ(i) (i >> (BITRES - RES))
46#define FOUR(i) {i, i, i, i} 46#define FOUR(i) {i, i, i, i}
47 47
48#if defined BUILD_MMX || defined BUILD_SSE 48#ifdef BUILD_MMX
49__attribute__ ((aligned (8))) const volatile unsigned short _const_crvcrv[4] = FOUR(RZ(CRV)); 49__attribute__ ((aligned (8))) const volatile unsigned short _const_crvcrv[4] = FOUR(RZ(CRV));
50__attribute__ ((aligned (8))) const volatile unsigned short _const_cbucbu[4] = FOUR(RZ(CBU)); 50__attribute__ ((aligned (8))) const volatile unsigned short _const_cbucbu[4] = FOUR(RZ(CBU));
51__attribute__ ((aligned (8))) const volatile unsigned short _const_cgucgu[4] = FOUR(RZ(CGU)); 51__attribute__ ((aligned (8))) const volatile unsigned short _const_cgucgu[4] = FOUR(RZ(CGU));
@@ -123,18 +123,11 @@ static int initted = 0;
123void 123void
124evas_common_convert_yuv_420p_601_rgba(DATA8 **src, DATA8 *dst, int w, int h) 124evas_common_convert_yuv_420p_601_rgba(DATA8 **src, DATA8 *dst, int w, int h)
125{ 125{
126 int mmx, sse, sse2; 126 int mmx = 0, sse = 0, sse2 = 0;
127 127
128#if defined BUILD_MMX || defined BUILD_SSE 128#ifdef BUILD_MMX
129 evas_common_cpu_can_do(&mmx, &sse, &sse2); 129 evas_common_cpu_can_do(&mmx, &sse, &sse2);
130#endif 130#endif
131#ifndef BUILD_SSE
132 sse = 0;
133 sse2 = 0;
134#endif
135#ifndef BUILD_MMX
136 mmx = 0;
137#endif
138 if (evas_common_cpu_has_feature(CPU_FEATURE_MMX2)) 131 if (evas_common_cpu_has_feature(CPU_FEATURE_MMX2))
139 _evas_yv12torgb_sse(src, dst, w, h); 132 _evas_yv12torgb_sse(src, dst, w, h);
140 else if (evas_common_cpu_has_feature(CPU_FEATURE_MMX)) 133 else if (evas_common_cpu_has_feature(CPU_FEATURE_MMX))
@@ -172,7 +165,7 @@ evas_common_convert_yuv_420p_601_rgba(DATA8 **src, DATA8 *dst, int w, int h)
172static void 165static void
173_evas_yv12torgb_sse(unsigned char **yuv, unsigned char *rgb, int w, int h) 166_evas_yv12torgb_sse(unsigned char **yuv, unsigned char *rgb, int w, int h)
174{ 167{
175#ifdef BUILD_SSE 168#ifdef BUILD_MMX
176 int xx, yy; 169 int xx, yy;
177 register unsigned char *yp1, *up, *vp; 170 register unsigned char *yp1, *up, *vp;
178 unsigned char *dp1; 171 unsigned char *dp1;
diff --git a/legacy/evas/src/lib/engines/common/evas_cpu.c b/legacy/evas/src/lib/engines/common/evas_cpu.c
index b09da28b78..6b880fe3bb 100644
--- a/legacy/evas/src/lib/engines/common/evas_cpu.c
+++ b/legacy/evas/src/lib/engines/common/evas_cpu.c
@@ -1,8 +1,7 @@
1#include "evas_common.h" 1#include "evas_common.h"
2#if defined BUILD_MMX || defined BUILD_SSE 2#ifdef BUILD_MMX
3#include "evas_mmx.h" 3#include "evas_mmx.h"
4#endif 4#endif
5
6#if defined BUILD_SSE3 5#if defined BUILD_SSE3
7#include <immintrin.h> 6#include <immintrin.h>
8#endif 7#endif
@@ -57,7 +56,7 @@ evas_common_cpu_mmx2_test(void)
57void 56void
58evas_common_cpu_sse_test(void) 57evas_common_cpu_sse_test(void)
59{ 58{
60#ifdef BUILD_SSE 59#ifdef BUILD_MMX
61 int blah[16]; 60 int blah[16];
62 61
63 movntq_r2m(mm0, blah); 62 movntq_r2m(mm0, blah);
@@ -174,31 +173,29 @@ evas_common_cpu_init(void)
174 evas_common_cpu_end_opt(); 173 evas_common_cpu_end_opt();
175 if (getenv("EVAS_CPU_NO_MMX2")) 174 if (getenv("EVAS_CPU_NO_MMX2"))
176 cpu_feature_mask &= ~CPU_FEATURE_MMX2; 175 cpu_feature_mask &= ~CPU_FEATURE_MMX2;
177#ifdef BUILD_SSE
178 cpu_feature_mask |= CPU_FEATURE_SSE * 176 cpu_feature_mask |= CPU_FEATURE_SSE *
179 evas_common_cpu_feature_test(evas_common_cpu_sse_test); 177 evas_common_cpu_feature_test(evas_common_cpu_sse_test);
180 evas_common_cpu_end_opt(); 178 evas_common_cpu_end_opt();
181 if (getenv("EVAS_CPU_NO_SSE")) 179 if (getenv("EVAS_CPU_NO_SSE"))
182 cpu_feature_mask &= ~CPU_FEATURE_SSE; 180 cpu_feature_mask &= ~CPU_FEATURE_SSE;
183#ifdef BUILD_SSE3 181# ifdef BUILD_SSE3
184 cpu_feature_mask |= CPU_FEATURE_SSE3 * 182 cpu_feature_mask |= CPU_FEATURE_SSE3 *
185 evas_common_cpu_feature_test(evas_common_cpu_sse3_test); 183 evas_common_cpu_feature_test(evas_common_cpu_sse3_test);
186 evas_common_cpu_end_opt(); 184 evas_common_cpu_end_opt();
187 if (getenv("EVAS_CPU_NO_SSE3")) 185 if (getenv("EVAS_CPU_NO_SSE3"))
188 cpu_feature_mask &= ~CPU_FEATURE_SSE3; 186 cpu_feature_mask &= ~CPU_FEATURE_SSE3;
189#endif /* BUILD_SSE3 */ 187# endif /* BUILD_SSE3 */
190#endif /* BUILD_SSE */
191#endif /* BUILD_MMX */ 188#endif /* BUILD_MMX */
192#ifdef BUILD_ALTIVEC 189#ifdef BUILD_ALTIVEC
193#ifdef __POWERPC__ 190# ifdef __POWERPC__
194#ifdef __VEC__ 191# ifdef __VEC__
195 cpu_feature_mask |= CPU_FEATURE_ALTIVEC * 192 cpu_feature_mask |= CPU_FEATURE_ALTIVEC *
196 evas_common_cpu_feature_test(evas_common_cpu_altivec_test); 193 evas_common_cpu_feature_test(evas_common_cpu_altivec_test);
197 evas_common_cpu_end_opt(); 194 evas_common_cpu_end_opt();
198 if (getenv("EVAS_CPU_NO_ALTIVEC")) 195 if (getenv("EVAS_CPU_NO_ALTIVEC"))
199 cpu_feature_mask &= ~CPU_FEATURE_ALTIVEC; 196 cpu_feature_mask &= ~CPU_FEATURE_ALTIVEC;
200#endif /* __VEC__ */ 197# endif /* __VEC__ */
201#endif /* __POWERPC__ */ 198# endif /* __POWERPC__ */
202#endif /* BUILD_ALTIVEC */ 199#endif /* BUILD_ALTIVEC */
203#ifdef __SPARC__ 200#ifdef __SPARC__
204 cpu_feature_mask |= CPU_FEATURE_VIS * 201 cpu_feature_mask |= CPU_FEATURE_VIS *
@@ -208,13 +205,13 @@ evas_common_cpu_init(void)
208 cpu_feature_mask &= ~CPU_FEATURE_VIS; 205 cpu_feature_mask &= ~CPU_FEATURE_VIS;
209#endif /* __SPARC__ */ 206#endif /* __SPARC__ */
210#if defined(__ARM_ARCH__) 207#if defined(__ARM_ARCH__)
211#ifdef BUILD_NEON 208# ifdef BUILD_NEON
212 cpu_feature_mask |= CPU_FEATURE_NEON * 209 cpu_feature_mask |= CPU_FEATURE_NEON *
213 evas_common_cpu_feature_test(evas_common_cpu_neon_test); 210 evas_common_cpu_feature_test(evas_common_cpu_neon_test);
214 evas_common_cpu_end_opt(); 211 evas_common_cpu_end_opt();
215 if (getenv("EVAS_CPU_NO_NEON")) 212 if (getenv("EVAS_CPU_NO_NEON"))
216 cpu_feature_mask &= ~CPU_FEATURE_NEON; 213 cpu_feature_mask &= ~CPU_FEATURE_NEON;
217#endif 214# endif
218#endif 215#endif
219} 216}
220 217
@@ -270,8 +267,7 @@ evas_common_cpu_can_do(int *mmx, int *sse, int *sse2)
270EAPI void 267EAPI void
271evas_common_cpu_end_opt(void) 268evas_common_cpu_end_opt(void)
272{ 269{
273 if (cpu_feature_mask & 270 if (cpu_feature_mask & (CPU_FEATURE_MMX | CPU_FEATURE_MMX2))
274 (CPU_FEATURE_MMX | CPU_FEATURE_MMX2))
275 { 271 {
276 emms(); 272 emms();
277 } 273 }
diff --git a/legacy/evas/src/lib/engines/common/evas_op_add/op_add_color_.c b/legacy/evas/src/lib/engines/common/evas_op_add/op_add_color_.c
index ace781b6b1..506c86f947 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_add/op_add_color_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_add/op_add_color_.c
@@ -1,33 +1,25 @@
1/* add color -> dst */ 1/* add color -> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5init_add_color_span_funcs_c(void) 4init_add_color_span_funcs_c(void)
6{ 5{
7} 6}
8#endif
9 7
10#ifdef BUILD_C
11static void 8static void
12init_add_color_pt_funcs_c(void) 9init_add_color_pt_funcs_c(void)
13{ 10{
14} 11}
15#endif
16 12
17/*-----*/ 13/*-----*/
18 14
19/* add_rel color -> dst */ 15/* add_rel color -> dst */
20 16
21#ifdef BUILD_C
22static void 17static void
23init_add_rel_color_span_funcs_c(void) 18init_add_rel_color_span_funcs_c(void)
24{ 19{
25} 20}
26#endif
27 21
28#ifdef BUILD_C
29static void 22static void
30init_add_rel_color_pt_funcs_c(void) 23init_add_rel_color_pt_funcs_c(void)
31{ 24{
32} 25}
33#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_add/op_add_mask_color_.c b/legacy/evas/src/lib/engines/common/evas_op_add/op_add_mask_color_.c
index b20053c386..8255f1965e 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_add/op_add_mask_color_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_add/op_add_mask_color_.c
@@ -1,33 +1,26 @@
1/* add mask x color -> dst */ 1/* add mask x color -> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5init_add_mask_color_span_funcs_c(void) 4init_add_mask_color_span_funcs_c(void)
6{ 5{
7} 6}
8#endif
9 7
10#ifdef BUILD_C
11static void 8static void
12init_add_mask_color_pt_funcs_c(void) 9init_add_mask_color_pt_funcs_c(void)
13{ 10{
14} 11}
15#endif
16 12
17/*-----*/ 13/*-----*/
18 14
19/* add_rel mask x color -> dst */ 15/* add_rel mask x color -> dst */
20 16
21#ifdef BUILD_C
22static void 17static void
23init_add_rel_mask_color_span_funcs_c(void) 18init_add_rel_mask_color_span_funcs_c(void)
24{ 19{
25} 20}
26#endif
27 21
28#ifdef BUILD_C
29static void 22static void
30init_add_rel_mask_color_pt_funcs_c(void) 23init_add_rel_mask_color_pt_funcs_c(void)
31{ 24{
32} 25}
33#endif 26
diff --git a/legacy/evas/src/lib/engines/common/evas_op_add/op_add_pixel_.c b/legacy/evas/src/lib/engines/common/evas_op_add/op_add_pixel_.c
index 4fe5a76841..0f34dd3d88 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_add/op_add_pixel_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_add/op_add_pixel_.c
@@ -1,33 +1,25 @@
1/* add pixel --> dst */ 1/* add pixel --> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5init_add_pixel_span_funcs_c(void) 4init_add_pixel_span_funcs_c(void)
6{ 5{
7} 6}
8#endif
9 7
10#ifdef BUILD_C
11static void 8static void
12init_add_pixel_pt_funcs_c(void) 9init_add_pixel_pt_funcs_c(void)
13{ 10{
14} 11}
15#endif
16 12
17/*-----*/ 13/*-----*/
18 14
19/* add_rel pixel --> dst */ 15/* add_rel pixel --> dst */
20 16
21#ifdef BUILD_C
22static void 17static void
23init_add_rel_pixel_span_funcs_c(void) 18init_add_rel_pixel_span_funcs_c(void)
24{ 19{
25} 20}
26#endif
27 21
28#ifdef BUILD_C
29static void 22static void
30init_add_rel_pixel_pt_funcs_c(void) 23init_add_rel_pixel_pt_funcs_c(void)
31{ 24{
32} 25}
33#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_add/op_add_pixel_color_.c b/legacy/evas/src/lib/engines/common/evas_op_add/op_add_pixel_color_.c
index aa0dba11d7..246ce75cc3 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_add/op_add_pixel_color_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_add/op_add_pixel_color_.c
@@ -1,33 +1,25 @@
1/* add pixel x color --> dst */ 1/* add pixel x color --> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5init_add_pixel_color_span_funcs_c(void) 4init_add_pixel_color_span_funcs_c(void)
6{ 5{
7} 6}
8#endif
9 7
10#ifdef BUILD_C
11static void 8static void
12init_add_pixel_color_pt_funcs_c(void) 9init_add_pixel_color_pt_funcs_c(void)
13{ 10{
14} 11}
15#endif
16 12
17/*-----*/ 13/*-----*/
18 14
19/* add_rel pixel x color --> dst */ 15/* add_rel pixel x color --> dst */
20 16
21#ifdef BUILD_C
22static void 17static void
23init_add_rel_pixel_color_span_funcs_c(void) 18init_add_rel_pixel_color_span_funcs_c(void)
24{ 19{
25} 20}
26#endif
27 21
28#ifdef BUILD_C
29static void 22static void
30init_add_rel_pixel_color_pt_funcs_c(void) 23init_add_rel_pixel_color_pt_funcs_c(void)
31{ 24{
32} 25}
33#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_add/op_add_pixel_mask_.c b/legacy/evas/src/lib/engines/common/evas_op_add/op_add_pixel_mask_.c
index 8414bce1ca..fc3ca00a14 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_add/op_add_pixel_mask_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_add/op_add_pixel_mask_.c
@@ -1,37 +1,29 @@
1/* add pixel x mask --> dst */ 1/* add pixel x mask --> dst */
2 2
3#ifdef BUILD_C
4/* XXX: not used 3/* XXX: not used
5static void 4static void
6init_add_pixel_mask_span_funcs_c(void) 5init_add_pixel_mask_span_funcs_c(void)
7{ 6{
8} 7}
9*/ 8*/
10#endif
11 9
12#ifdef BUILD_C
13/* XXX: not used 10/* XXX: not used
14static void 11static void
15init_add_pixel_mask_pt_funcs_c(void) 12init_add_pixel_mask_pt_funcs_c(void)
16{ 13{
17} 14}
18*/ 15*/
19#endif
20 16
21/*-----*/ 17/*-----*/
22 18
23/* add_rel pixel x mask --> dst */ 19/* add_rel pixel x mask --> dst */
24 20
25#ifdef BUILD_C
26static void 21static void
27init_add_rel_pixel_mask_span_funcs_c(void) 22init_add_rel_pixel_mask_span_funcs_c(void)
28{ 23{
29} 24}
30#endif
31 25
32#ifdef BUILD_C
33static void 26static void
34init_add_rel_pixel_mask_pt_funcs_c(void) 27init_add_rel_pixel_mask_pt_funcs_c(void)
35{ 28{
36} 29}
37#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_add_main_.c b/legacy/evas/src/lib/engines/common/evas_op_add_main_.c
index ef8b728a27..9decc42140 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_add_main_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_add_main_.c
@@ -100,7 +100,6 @@ op_add_init(void)
100 init_add_color_pt_funcs_mmx(); 100 init_add_color_pt_funcs_mmx();
101 init_add_mask_color_pt_funcs_mmx(); 101 init_add_mask_color_pt_funcs_mmx();
102#endif 102#endif
103#ifdef BUILD_C
104 init_add_pixel_span_funcs_c(); 103 init_add_pixel_span_funcs_c();
105 init_add_pixel_color_span_funcs_c(); 104 init_add_pixel_color_span_funcs_c();
106 init_add_rel_pixel_mask_span_funcs_c(); 105 init_add_rel_pixel_mask_span_funcs_c();
@@ -112,7 +111,6 @@ op_add_init(void)
112 init_add_rel_pixel_mask_pt_funcs_c(); 111 init_add_rel_pixel_mask_pt_funcs_c();
113 init_add_color_pt_funcs_c(); 112 init_add_color_pt_funcs_c();
114 init_add_mask_color_pt_funcs_c(); 113 init_add_mask_color_pt_funcs_c();
115#endif
116} 114}
117 115
118static void 116static void
@@ -133,11 +131,9 @@ add_gfx_span_func_cpu(int s, int m, int c, int d)
133 if (func) return func; 131 if (func) return func;
134 } 132 }
135#endif 133#endif
136#ifdef BUILD_C
137 cpu = CPU_C; 134 cpu = CPU_C;
138 func = op_add_span_funcs[s][m][c][d][cpu]; 135 func = op_add_span_funcs[s][m][c][d][cpu];
139 if (func) return func; 136 if (func) return func;
140#endif
141 return func; 137 return func;
142} 138}
143 139
@@ -228,11 +224,9 @@ add_gfx_pt_func_cpu(int s, int m, int c, int d)
228 if (func) return func; 224 if (func) return func;
229 } 225 }
230#endif 226#endif
231#ifdef BUILD_C
232 cpu = CPU_C; 227 cpu = CPU_C;
233 func = op_add_pt_funcs[s][m][c][d][cpu]; 228 func = op_add_pt_funcs[s][m][c][d][cpu];
234 if (func) return func; 229 if (func) return func;
235#endif
236 return func; 230 return func;
237} 231}
238 232
@@ -330,7 +324,6 @@ op_add_rel_init(void)
330 init_add_rel_color_pt_funcs_mmx(); 324 init_add_rel_color_pt_funcs_mmx();
331 init_add_rel_mask_color_pt_funcs_mmx(); 325 init_add_rel_mask_color_pt_funcs_mmx();
332#endif 326#endif
333#ifdef BUILD_C
334 init_add_rel_pixel_span_funcs_c(); 327 init_add_rel_pixel_span_funcs_c();
335 init_add_rel_pixel_color_span_funcs_c(); 328 init_add_rel_pixel_color_span_funcs_c();
336 init_add_rel_pixel_mask_span_funcs_c(); 329 init_add_rel_pixel_mask_span_funcs_c();
@@ -342,7 +335,6 @@ op_add_rel_init(void)
342 init_add_rel_pixel_mask_pt_funcs_c(); 335 init_add_rel_pixel_mask_pt_funcs_c();
343 init_add_rel_color_pt_funcs_c(); 336 init_add_rel_color_pt_funcs_c();
344 init_add_rel_mask_color_pt_funcs_c(); 337 init_add_rel_mask_color_pt_funcs_c();
345#endif
346} 338}
347 339
348static void 340static void
@@ -363,11 +355,9 @@ add_rel_gfx_span_func_cpu(int s, int m, int c, int d)
363 if (func) return func; 355 if (func) return func;
364 } 356 }
365#endif 357#endif
366#ifdef BUILD_C
367 cpu = CPU_C; 358 cpu = CPU_C;
368 func = op_add_rel_span_funcs[s][m][c][d][cpu]; 359 func = op_add_rel_span_funcs[s][m][c][d][cpu];
369 if (func) return func; 360 if (func) return func;
370#endif
371 return func; 361 return func;
372} 362}
373 363
@@ -458,11 +448,9 @@ add_rel_gfx_pt_func_cpu(int s, int m, int c, int d)
458 if (func) return func; 448 if (func) return func;
459 } 449 }
460#endif 450#endif
461#ifdef BUILD_C
462 cpu = CPU_C; 451 cpu = CPU_C;
463 func = op_add_rel_pt_funcs[s][m][c][d][cpu]; 452 func = op_add_rel_pt_funcs[s][m][c][d][cpu];
464 if (func) return func; 453 if (func) return func;
465#endif
466 return func; 454 return func;
467} 455}
468 456
diff --git a/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_color_.c b/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_color_.c
index be70065e41..277dced663 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_color_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_color_.c
@@ -1,6 +1,5 @@
1/* blend color -> dst */ 1/* blend color -> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5_op_blend_c_dp(DATA32 *s __UNUSED__, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) { 4_op_blend_c_dp(DATA32 *s __UNUSED__, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) {
6 DATA32 *e, a = 256 - (c >> 24); 5 DATA32 *e, a = 256 - (c >> 24);
@@ -25,9 +24,7 @@ init_blend_color_span_funcs_c(void)
25 op_blend_span_funcs[SP_N][SM_N][SC][DP_AN][CPU_C] = _op_blend_c_dpan; 24 op_blend_span_funcs[SP_N][SM_N][SC][DP_AN][CPU_C] = _op_blend_c_dpan;
26 op_blend_span_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_caa_dpan; 25 op_blend_span_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_caa_dpan;
27} 26}
28#endif
29 27
30#ifdef BUILD_C
31static void 28static void
32_op_blend_pt_c_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) { 29_op_blend_pt_c_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) {
33 s = 256 - (c >> 24); 30 s = 256 - (c >> 24);
@@ -51,13 +48,11 @@ init_blend_color_pt_funcs_c(void)
51 op_blend_pt_funcs[SP_N][SM_N][SC][DP_AN][CPU_C] = _op_blend_pt_c_dpan; 48 op_blend_pt_funcs[SP_N][SM_N][SC][DP_AN][CPU_C] = _op_blend_pt_c_dpan;
52 op_blend_pt_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_pt_caa_dpan; 49 op_blend_pt_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_pt_caa_dpan;
53} 50}
54#endif
55 51
56/*-----*/ 52/*-----*/
57 53
58/* blend_rel color -> dst */ 54/* blend_rel color -> dst */
59 55
60#ifdef BUILD_C
61static void 56static void
62_op_blend_rel_c_dp(DATA32 *s __UNUSED__, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) { 57_op_blend_rel_c_dp(DATA32 *s __UNUSED__, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) {
63 DATA32 *e; 58 DATA32 *e;
@@ -83,9 +78,7 @@ init_blend_rel_color_span_funcs_c(void)
83 op_blend_rel_span_funcs[SP_N][SM_N][SC][DP_AN][CPU_C] = _op_blend_rel_c_dpan; 78 op_blend_rel_span_funcs[SP_N][SM_N][SC][DP_AN][CPU_C] = _op_blend_rel_c_dpan;
84 op_blend_rel_span_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_rel_caa_dpan; 79 op_blend_rel_span_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_rel_caa_dpan;
85} 80}
86#endif
87 81
88#ifdef BUILD_C
89static void 82static void
90_op_blend_rel_pt_c_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) { 83_op_blend_rel_pt_c_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) {
91 s = *d >> 24; 84 s = *d >> 24;
@@ -106,4 +99,3 @@ init_blend_rel_color_pt_funcs_c(void)
106 op_blend_rel_pt_funcs[SP_N][SM_N][SC][DP_AN][CPU_C] = _op_blend_rel_pt_c_dpan; 99 op_blend_rel_pt_funcs[SP_N][SM_N][SC][DP_AN][CPU_C] = _op_blend_rel_pt_c_dpan;
107 op_blend_rel_pt_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_rel_pt_caa_dpan; 100 op_blend_rel_pt_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_rel_pt_caa_dpan;
108} 101}
109#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_mask_color_.c b/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_mask_color_.c
index 76f637083d..715f8d9dab 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_mask_color_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_mask_color_.c
@@ -1,6 +1,5 @@
1/* blend mask x color -> dst */ 1/* blend mask x color -> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5_op_blend_mas_c_dp(DATA32 *s __UNUSED__, DATA8 *m, DATA32 c, DATA32 *d, int l) { 4_op_blend_mas_c_dp(DATA32 *s __UNUSED__, DATA8 *m, DATA32 c, DATA32 *d, int l) {
6 DATA32 *e; 5 DATA32 *e;
@@ -71,9 +70,7 @@ init_blend_mask_color_span_funcs_c(void)
71 op_blend_span_funcs[SP_N][SM_AS][SC_AN][DP_AN][CPU_C] = _op_blend_mas_can_dpan; 70 op_blend_span_funcs[SP_N][SM_AS][SC_AN][DP_AN][CPU_C] = _op_blend_mas_can_dpan;
72 op_blend_span_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_blend_mas_caa_dpan; 71 op_blend_span_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_blend_mas_caa_dpan;
73} 72}
74#endif
75 73
76#ifdef BUILD_C
77static void 74static void
78_op_blend_pt_mas_c_dp(DATA32 s, DATA8 m, DATA32 c, DATA32 *d) { 75_op_blend_pt_mas_c_dp(DATA32 s, DATA8 m, DATA32 c, DATA32 *d) {
79 s = MUL_SYM(m, c); 76 s = MUL_SYM(m, c);
@@ -107,13 +104,11 @@ init_blend_mask_color_pt_funcs_c(void)
107 op_blend_pt_funcs[SP_N][SM_AS][SC_AN][DP_AN][CPU_C] = _op_blend_pt_mas_can_dpan; 104 op_blend_pt_funcs[SP_N][SM_AS][SC_AN][DP_AN][CPU_C] = _op_blend_pt_mas_can_dpan;
108 op_blend_pt_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_blend_pt_mas_caa_dpan; 105 op_blend_pt_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_blend_pt_mas_caa_dpan;
109} 106}
110#endif
111 107
112/*-----*/ 108/*-----*/
113 109
114/* blend_rel mask x color --> dst */ 110/* blend_rel mask x color --> dst */
115 111
116#ifdef BUILD_C
117static void 112static void
118_op_blend_rel_mas_c_dp(DATA32 *s __UNUSED__, DATA8 *m, DATA32 c, DATA32 *d, int l) { 113_op_blend_rel_mas_c_dp(DATA32 *s __UNUSED__, DATA8 *m, DATA32 c, DATA32 *d, int l) {
119 DATA32 *e; 114 DATA32 *e;
@@ -150,9 +145,7 @@ init_blend_rel_mask_color_span_funcs_c(void)
150 op_blend_rel_span_funcs[SP_N][SM_AS][SC_AN][DP_AN][CPU_C] = _op_blend_rel_mas_can_dpan; 145 op_blend_rel_span_funcs[SP_N][SM_AS][SC_AN][DP_AN][CPU_C] = _op_blend_rel_mas_can_dpan;
151 op_blend_rel_span_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_blend_rel_mas_caa_dpan; 146 op_blend_rel_span_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_blend_rel_mas_caa_dpan;
152} 147}
153#endif
154 148
155#ifdef BUILD_C
156static void 149static void
157_op_blend_rel_pt_mas_c_dp(DATA32 s, DATA8 m, DATA32 c, DATA32 *d) { 150_op_blend_rel_pt_mas_c_dp(DATA32 s, DATA8 m, DATA32 c, DATA32 *d) {
158 s = MUL_SYM(m, c); 151 s = MUL_SYM(m, c);
@@ -182,4 +175,3 @@ init_blend_rel_mask_color_pt_funcs_c(void)
182 op_blend_rel_pt_funcs[SP_N][SM_AS][SC_AN][DP_AN][CPU_C] = _op_blend_rel_pt_mas_can_dpan; 175 op_blend_rel_pt_funcs[SP_N][SM_AS][SC_AN][DP_AN][CPU_C] = _op_blend_rel_pt_mas_can_dpan;
183 op_blend_rel_pt_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_blend_rel_pt_mas_caa_dpan; 176 op_blend_rel_pt_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_blend_rel_pt_mas_caa_dpan;
184} 177}
185#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_pixel_.c b/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_pixel_.c
index 0ce78d8ef3..ba11296eb1 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_pixel_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_pixel_.c
@@ -1,6 +1,5 @@
1/* blend pixel --> dst */ 1/* blend pixel --> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5_op_blend_p_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c __UNUSED__, DATA32 *d, int l) { 4_op_blend_p_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c __UNUSED__, DATA32 *d, int l) {
6 DATA32 *e; 5 DATA32 *e;
@@ -52,9 +51,7 @@ init_blend_pixel_span_funcs_c(void)
52 op_blend_span_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_blend_pas_dpan; 51 op_blend_span_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_blend_pas_dpan;
53 op_blend_span_funcs[SP_AN][SM_N][SC_N][DP_AN][CPU_C] = _op_blend_pan_dpan; 52 op_blend_span_funcs[SP_AN][SM_N][SC_N][DP_AN][CPU_C] = _op_blend_pan_dpan;
54} 53}
55#endif
56 54
57#ifdef BUILD_C
58static void 55static void
59_op_blend_pt_p_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) { 56_op_blend_pt_p_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) {
60 c = 256 - (s >> 24); 57 c = 256 - (s >> 24);
@@ -79,13 +76,11 @@ init_blend_pixel_pt_funcs_c(void)
79 op_blend_pt_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_blend_pt_pas_dpan; 76 op_blend_pt_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_blend_pt_pas_dpan;
80 op_blend_pt_funcs[SP_AN][SM_N][SC_N][DP_AN][CPU_C] = _op_blend_pt_pan_dpan; 77 op_blend_pt_funcs[SP_AN][SM_N][SC_N][DP_AN][CPU_C] = _op_blend_pt_pan_dpan;
81} 78}
82#endif
83 79
84/*-----*/ 80/*-----*/
85 81
86/* blend_rel pixel -> dst */ 82/* blend_rel pixel -> dst */
87 83
88#ifdef BUILD_C
89static void 84static void
90_op_blend_rel_p_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) { 85_op_blend_rel_p_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) {
91 DATA32 *e; 86 DATA32 *e;
@@ -128,9 +123,7 @@ init_blend_rel_pixel_span_funcs_c(void)
128 op_blend_rel_span_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_blend_rel_pas_dpan; 123 op_blend_rel_span_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_blend_rel_pas_dpan;
129 op_blend_rel_span_funcs[SP_AN][SM_N][SC_N][DP_AN][CPU_C] = _op_blend_rel_pan_dpan; 124 op_blend_rel_span_funcs[SP_AN][SM_N][SC_N][DP_AN][CPU_C] = _op_blend_rel_pan_dpan;
130} 125}
131#endif
132 126
133#ifdef BUILD_C
134static void 127static void
135_op_blend_rel_pt_p_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) { 128_op_blend_rel_pt_p_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) {
136 c = 256 - (s >> 24); 129 c = 256 - (s >> 24);
@@ -159,4 +152,3 @@ init_blend_rel_pixel_pt_funcs_c(void)
159 op_blend_rel_pt_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_blend_rel_pt_pas_dpan; 152 op_blend_rel_pt_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_blend_rel_pt_pas_dpan;
160 op_blend_rel_pt_funcs[SP_AN][SM_N][SC_N][DP_AN][CPU_C] = _op_blend_rel_pt_pan_dpan; 153 op_blend_rel_pt_funcs[SP_AN][SM_N][SC_N][DP_AN][CPU_C] = _op_blend_rel_pt_pan_dpan;
161} 154}
162#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_pixel_color_.c b/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_pixel_color_.c
index c5e40a05aa..db8837f43f 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_pixel_color_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_pixel_color_.c
@@ -1,6 +1,5 @@
1/* blend pixel x color --> dst */ 1/* blend pixel x color --> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5_op_blend_p_c_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) { 4_op_blend_p_c_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) {
6 DATA32 *e; 5 DATA32 *e;
@@ -114,9 +113,7 @@ init_blend_pixel_color_span_funcs_c(void)
114 op_blend_span_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_pas_caa_dpan; 113 op_blend_span_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_pas_caa_dpan;
115 op_blend_span_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_pan_caa_dpan; 114 op_blend_span_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_pan_caa_dpan;
116} 115}
117#endif
118 116
119#ifdef BUILD_C
120static void 117static void
121_op_blend_pt_p_c_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) { 118_op_blend_pt_p_c_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) {
122 s = MUL4_SYM(c, s); 119 s = MUL4_SYM(c, s);
@@ -166,13 +163,11 @@ init_blend_pixel_color_pt_funcs_c(void)
166 op_blend_pt_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_pt_pas_caa_dpan; 163 op_blend_pt_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_pt_pas_caa_dpan;
167 op_blend_pt_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_pt_pan_caa_dpan; 164 op_blend_pt_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_pt_pan_caa_dpan;
168} 165}
169#endif
170 166
171/*-----*/ 167/*-----*/
172 168
173/* blend_rel pixel x color -> dst */ 169/* blend_rel pixel x color -> dst */
174 170
175#ifdef BUILD_C
176static void 171static void
177_op_blend_rel_p_c_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) { 172_op_blend_rel_p_c_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) {
178 DATA32 *e; 173 DATA32 *e;
@@ -229,9 +224,7 @@ init_blend_rel_pixel_color_span_funcs_c(void)
229 op_blend_rel_span_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_rel_pas_caa_dpan; 224 op_blend_rel_span_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_rel_pas_caa_dpan;
230 op_blend_rel_span_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_rel_pan_caa_dpan; 225 op_blend_rel_span_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_rel_pan_caa_dpan;
231} 226}
232#endif
233 227
234#ifdef BUILD_C
235static void 228static void
236_op_blend_rel_pt_p_c_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) { 229_op_blend_rel_pt_p_c_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) {
237 s = MUL4_SYM(c, s); 230 s = MUL4_SYM(c, s);
@@ -281,4 +274,3 @@ init_blend_rel_pixel_color_pt_funcs_c(void)
281 op_blend_rel_pt_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_rel_pt_pas_caa_dpan; 274 op_blend_rel_pt_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_rel_pt_pas_caa_dpan;
282 op_blend_rel_pt_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_rel_pt_pan_caa_dpan; 275 op_blend_rel_pt_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_blend_rel_pt_pan_caa_dpan;
283} 276}
284#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_pixel_mask_.c b/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_pixel_mask_.c
index a9d0f4bc91..f0b2a6c247 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_pixel_mask_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_pixel_mask_.c
@@ -1,6 +1,5 @@
1/* blend pixel x mask --> dst */ 1/* blend pixel x mask --> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5_op_blend_p_mas_dp(DATA32 *s, DATA8 *m, DATA32 c, DATA32 *d, int l) { 4_op_blend_p_mas_dp(DATA32 *s, DATA8 *m, DATA32 c, DATA32 *d, int l) {
6 DATA32 *e; 5 DATA32 *e;
@@ -88,9 +87,7 @@ init_blend_pixel_mask_span_funcs_c(void)
88 op_blend_span_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_blend_pas_mas_dpan; 87 op_blend_span_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_blend_pas_mas_dpan;
89 op_blend_span_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_C] = _op_blend_pan_mas_dpan; 88 op_blend_span_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_C] = _op_blend_pan_mas_dpan;
90} 89}
91#endif
92 90
93#ifdef BUILD_C
94static void 91static void
95_op_blend_pt_p_mas_dp(DATA32 s, DATA8 m, DATA32 c, DATA32 *d) { 92_op_blend_pt_p_mas_dp(DATA32 s, DATA8 m, DATA32 c, DATA32 *d) {
96 s = MUL_SYM(m, s); 93 s = MUL_SYM(m, s);
@@ -120,13 +117,11 @@ init_blend_pixel_mask_pt_funcs_c(void)
120 op_blend_pt_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_blend_pt_pas_mas_dpan; 117 op_blend_pt_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_blend_pt_pas_mas_dpan;
121 op_blend_pt_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_C] = _op_blend_pt_pan_mas_dpan; 118 op_blend_pt_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_C] = _op_blend_pt_pan_mas_dpan;
122} 119}
123#endif
124 120
125/*-----*/ 121/*-----*/
126 122
127/* blend_rel pixel x mask -> dst */ 123/* blend_rel pixel x mask -> dst */
128 124
129#ifdef BUILD_C
130static void 125static void
131_op_blend_rel_p_mas_dp(DATA32 *s, DATA8 *m, DATA32 c, DATA32 *d, int l) { 126_op_blend_rel_p_mas_dp(DATA32 *s, DATA8 *m, DATA32 c, DATA32 *d, int l) {
132 DATA32 *e; 127 DATA32 *e;
@@ -158,9 +153,7 @@ init_blend_rel_pixel_mask_span_funcs_c(void)
158 op_blend_rel_span_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_blend_rel_pas_mas_dpan; 153 op_blend_rel_span_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_blend_rel_pas_mas_dpan;
159 op_blend_rel_span_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_C] = _op_blend_rel_pan_mas_dpan; 154 op_blend_rel_span_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_C] = _op_blend_rel_pan_mas_dpan;
160} 155}
161#endif
162 156
163#ifdef BUILD_C
164static void 157static void
165_op_blend_rel_pt_p_mas_dp(DATA32 s, DATA8 m, DATA32 c, DATA32 *d) { 158_op_blend_rel_pt_p_mas_dp(DATA32 s, DATA8 m, DATA32 c, DATA32 *d) {
166 s = MUL_SYM(m, s); 159 s = MUL_SYM(m, s);
@@ -186,4 +179,3 @@ init_blend_rel_pixel_mask_pt_funcs_c(void)
186 op_blend_rel_pt_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_blend_rel_pt_pas_mas_dpan; 179 op_blend_rel_pt_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_blend_rel_pt_pas_mas_dpan;
187 op_blend_rel_pt_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_C] = _op_blend_rel_pt_pan_mas_dpan; 180 op_blend_rel_pt_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_C] = _op_blend_rel_pt_pan_mas_dpan;
188} 181}
189#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_blend_main_.c b/legacy/evas/src/lib/engines/common/evas_op_blend_main_.c
index a1a5de8b49..1642036995 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_blend_main_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_blend_main_.c
@@ -129,7 +129,6 @@ op_blend_init(void)
129 init_blend_color_pt_funcs_neon(); 129 init_blend_color_pt_funcs_neon();
130 init_blend_mask_color_pt_funcs_neon(); 130 init_blend_mask_color_pt_funcs_neon();
131#endif 131#endif
132#ifdef BUILD_C
133 init_blend_pixel_span_funcs_c(); 132 init_blend_pixel_span_funcs_c();
134 init_blend_pixel_color_span_funcs_c(); 133 init_blend_pixel_color_span_funcs_c();
135 init_blend_pixel_mask_span_funcs_c(); 134 init_blend_pixel_mask_span_funcs_c();
@@ -141,7 +140,6 @@ op_blend_init(void)
141 init_blend_pixel_mask_pt_funcs_c(); 140 init_blend_pixel_mask_pt_funcs_c();
142 init_blend_color_pt_funcs_c(); 141 init_blend_color_pt_funcs_c();
143 init_blend_mask_color_pt_funcs_c(); 142 init_blend_mask_color_pt_funcs_c();
144#endif
145} 143}
146 144
147static void 145static void
@@ -178,11 +176,9 @@ blend_gfx_span_func_cpu(int s, int m, int c, int d)
178 if (func) return func; 176 if (func) return func;
179 } 177 }
180#endif 178#endif
181#ifdef BUILD_C
182 cpu = CPU_C; 179 cpu = CPU_C;
183 func = op_blend_span_funcs[s][m][c][d][cpu]; 180 func = op_blend_span_funcs[s][m][c][d][cpu];
184 if (func) return func; 181 if (func) return func;
185#endif
186 return func; 182 return func;
187} 183}
188 184
@@ -302,11 +298,9 @@ blend_gfx_pt_func_cpu(int s, int m, int c, int d)
302 if (func) return func; 298 if (func) return func;
303 } 299 }
304#endif 300#endif
305#ifdef BUILD_C
306 cpu = CPU_C; 301 cpu = CPU_C;
307 func = op_blend_pt_funcs[s][m][c][d][cpu]; 302 func = op_blend_pt_funcs[s][m][c][d][cpu];
308 if (func) return func; 303 if (func) return func;
309#endif
310 return func; 304 return func;
311} 305}
312 306
@@ -420,7 +414,6 @@ op_blend_rel_init(void)
420 init_blend_rel_color_pt_funcs_neon(); 414 init_blend_rel_color_pt_funcs_neon();
421 init_blend_rel_mask_color_pt_funcs_neon(); 415 init_blend_rel_mask_color_pt_funcs_neon();
422#endif 416#endif
423#ifdef BUILD_C
424 init_blend_rel_pixel_span_funcs_c(); 417 init_blend_rel_pixel_span_funcs_c();
425 init_blend_rel_pixel_color_span_funcs_c(); 418 init_blend_rel_pixel_color_span_funcs_c();
426 init_blend_rel_pixel_mask_span_funcs_c(); 419 init_blend_rel_pixel_mask_span_funcs_c();
@@ -432,7 +425,6 @@ op_blend_rel_init(void)
432 init_blend_rel_pixel_mask_pt_funcs_c(); 425 init_blend_rel_pixel_mask_pt_funcs_c();
433 init_blend_rel_color_pt_funcs_c(); 426 init_blend_rel_color_pt_funcs_c();
434 init_blend_rel_mask_color_pt_funcs_c(); 427 init_blend_rel_mask_color_pt_funcs_c();
435#endif
436} 428}
437 429
438static void 430static void
@@ -469,11 +461,9 @@ blend_rel_gfx_span_func_cpu(int s, int m, int c, int d)
469 if (func) return func; 461 if (func) return func;
470 } 462 }
471#endif 463#endif
472#ifdef BUILD_C
473 cpu = CPU_C; 464 cpu = CPU_C;
474 func = op_blend_rel_span_funcs[s][m][c][d][cpu]; 465 func = op_blend_rel_span_funcs[s][m][c][d][cpu];
475 if (func) return func; 466 if (func) return func;
476#endif
477 return func; 467 return func;
478} 468}
479 469
@@ -588,11 +578,9 @@ blend_rel_gfx_pt_func_cpu(int s, int m, int c, int d)
588 if (func) return func; 578 if (func) return func;
589 } 579 }
590#endif 580#endif
591#ifdef BUILD_C
592 cpu = CPU_C; 581 cpu = CPU_C;
593 func = op_blend_rel_pt_funcs[s][m][c][d][cpu]; 582 func = op_blend_rel_pt_funcs[s][m][c][d][cpu];
594 if (func) return func; 583 if (func) return func;
595#endif
596 return func; 584 return func;
597} 585}
598 586
diff --git a/legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_color_.c b/legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_color_.c
index 0178358b07..99591b22aa 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_color_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_color_.c
@@ -1,6 +1,5 @@
1/* copy color --> dst */ 1/* copy color --> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5_op_copy_c_dp(DATA32 *s __UNUSED__, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) { 4_op_copy_c_dp(DATA32 *s __UNUSED__, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) {
6 DATA32 *e; 5 DATA32 *e;
@@ -33,9 +32,7 @@ init_copy_color_span_funcs_c(void)
33 op_copy_span_funcs[SP_N][SM_N][SC_AN][DP_AN][CPU_C] = _op_copy_can_dpan; 32 op_copy_span_funcs[SP_N][SM_N][SC_AN][DP_AN][CPU_C] = _op_copy_can_dpan;
34 op_copy_span_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_caa_dpan; 33 op_copy_span_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_caa_dpan;
35} 34}
36#endif 35
37
38#ifdef BUILD_C
39static void 36static void
40_op_copy_pt_c_dp(DATA32 s __UNUSED__, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) { 37_op_copy_pt_c_dp(DATA32 s __UNUSED__, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) {
41 *d = c; 38 *d = c;
@@ -63,13 +60,11 @@ init_copy_color_pt_funcs_c(void)
63 op_copy_pt_funcs[SP_N][SM_N][SC_AN][DP_AN][CPU_C] = _op_copy_pt_can_dpan; 60 op_copy_pt_funcs[SP_N][SM_N][SC_AN][DP_AN][CPU_C] = _op_copy_pt_can_dpan;
64 op_copy_pt_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_pt_caa_dpan; 61 op_copy_pt_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_pt_caa_dpan;
65} 62}
66#endif
67 63
68/*-----*/ 64/*-----*/
69 65
70/* copy_rel color --> dst */ 66/* copy_rel color --> dst */
71 67
72#ifdef BUILD_C
73static void 68static void
74_op_copy_rel_c_dp(DATA32 *s __UNUSED__, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) { 69_op_copy_rel_c_dp(DATA32 *s __UNUSED__, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) {
75 DATA32 *e; 70 DATA32 *e;
@@ -103,9 +98,7 @@ init_copy_rel_color_span_funcs_c(void)
103 op_copy_rel_span_funcs[SP_N][SM_N][SC_AN][DP_AN][CPU_C] = _op_copy_rel_can_dpan; 98 op_copy_rel_span_funcs[SP_N][SM_N][SC_AN][DP_AN][CPU_C] = _op_copy_rel_can_dpan;
104 op_copy_rel_span_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_rel_caa_dpan; 99 op_copy_rel_span_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_rel_caa_dpan;
105} 100}
106#endif
107 101
108#ifdef BUILD_C
109static void 102static void
110_op_copy_rel_pt_c_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) { 103_op_copy_rel_pt_c_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) {
111 s = 1 + (*d >> 24); 104 s = 1 + (*d >> 24);
@@ -135,4 +128,4 @@ init_copy_rel_color_pt_funcs_c(void)
135 op_copy_rel_pt_funcs[SP_N][SM_N][SC_AN][DP_AN][CPU_C] = _op_copy_rel_pt_can_dpan; 128 op_copy_rel_pt_funcs[SP_N][SM_N][SC_AN][DP_AN][CPU_C] = _op_copy_rel_pt_can_dpan;
136 op_copy_rel_pt_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_rel_pt_caa_dpan; 129 op_copy_rel_pt_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_rel_pt_caa_dpan;
137} 130}
138#endif 131
diff --git a/legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_mask_color_.c b/legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_mask_color_.c
index c03a84359a..16faa28221 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_mask_color_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_mask_color_.c
@@ -1,6 +1,5 @@
1/* copy mask x color -> dst */ 1/* copy mask x color -> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5_op_copy_mas_c_dp(DATA32 *s __UNUSED__, DATA8 *m, DATA32 c, DATA32 *d, int l) { 4_op_copy_mas_c_dp(DATA32 *s __UNUSED__, DATA8 *m, DATA32 c, DATA32 *d, int l) {
6 DATA32 *e; 5 DATA32 *e;
@@ -46,9 +45,7 @@ init_copy_mask_color_span_funcs_c(void)
46 op_copy_span_funcs[SP_N][SM_AS][SC_AN][DP_AN][CPU_C] = _op_copy_mas_can_dpan; 45 op_copy_span_funcs[SP_N][SM_AS][SC_AN][DP_AN][CPU_C] = _op_copy_mas_can_dpan;
47 op_copy_span_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_copy_mas_caa_dpan; 46 op_copy_span_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_copy_mas_caa_dpan;
48} 47}
49#endif
50 48
51#ifdef BUILD_C
52static void 49static void
53_op_copy_pt_mas_c_dp(DATA32 s __UNUSED__, DATA8 m, DATA32 c, DATA32 *d) { 50_op_copy_pt_mas_c_dp(DATA32 s __UNUSED__, DATA8 m, DATA32 c, DATA32 *d) {
54 *d = INTERP_256(m + 1, c, *d); 51 *d = INTERP_256(m + 1, c, *d);
@@ -77,13 +74,11 @@ init_copy_mask_color_pt_funcs_c(void)
77 op_copy_pt_funcs[SP_N][SM_AS][SC_AN][DP_AN][CPU_C] = _op_copy_pt_mas_can_dpan; 74 op_copy_pt_funcs[SP_N][SM_AS][SC_AN][DP_AN][CPU_C] = _op_copy_pt_mas_can_dpan;
78 op_copy_pt_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_copy_pt_mas_caa_dpan; 75 op_copy_pt_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_copy_pt_mas_caa_dpan;
79} 76}
80#endif
81 77
82/*-----*/ 78/*-----*/
83 79
84/* copy_rel mask x color -> dst */ 80/* copy_rel mask x color -> dst */
85 81
86#ifdef BUILD_C
87static void 82static void
88_op_copy_rel_mas_c_dp(DATA32 *s __UNUSED__, DATA8 *m, DATA32 c, DATA32 *d, int l) { 83_op_copy_rel_mas_c_dp(DATA32 *s __UNUSED__, DATA8 *m, DATA32 c, DATA32 *d, int l) {
89 DATA32 *e; 84 DATA32 *e;
@@ -135,9 +130,7 @@ init_copy_rel_mask_color_span_funcs_c(void)
135 op_copy_rel_span_funcs[SP_N][SM_AS][SC_AN][DP_AN][CPU_C] = _op_copy_rel_mas_can_dpan; 130 op_copy_rel_span_funcs[SP_N][SM_AS][SC_AN][DP_AN][CPU_C] = _op_copy_rel_mas_can_dpan;
136 op_copy_rel_span_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_copy_rel_mas_caa_dpan; 131 op_copy_rel_span_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_copy_rel_mas_caa_dpan;
137} 132}
138#endif
139 133
140#ifdef BUILD_C
141static void 134static void
142_op_copy_rel_pt_mas_c_dp(DATA32 s, DATA8 m, DATA32 c, DATA32 *d) { 135_op_copy_rel_pt_mas_c_dp(DATA32 s, DATA8 m, DATA32 c, DATA32 *d) {
143 s = 1 + (*d >> 24); 136 s = 1 + (*d >> 24);
@@ -167,4 +160,3 @@ init_copy_rel_mask_color_pt_funcs_c(void)
167 op_copy_rel_pt_funcs[SP_N][SM_AS][SC_AN][DP_AN][CPU_C] = _op_copy_rel_pt_mas_can_dpan; 160 op_copy_rel_pt_funcs[SP_N][SM_AS][SC_AN][DP_AN][CPU_C] = _op_copy_rel_pt_mas_can_dpan;
168 op_copy_rel_pt_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_copy_rel_pt_mas_caa_dpan; 161 op_copy_rel_pt_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_copy_rel_pt_mas_caa_dpan;
169} 162}
170#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_pixel_.c b/legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_pixel_.c
index 45d59d051d..2936d43a1e 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_pixel_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_pixel_.c
@@ -1,6 +1,5 @@
1/* copy pixel --> dst */ 1/* copy pixel --> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5_op_copy_p_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c __UNUSED__, DATA32 *d, int l) { 4_op_copy_p_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c __UNUSED__, DATA32 *d, int l) {
6 memcpy(d, s, l * sizeof(DATA32)); 5 memcpy(d, s, l * sizeof(DATA32));
@@ -24,9 +23,7 @@ init_copy_pixel_span_funcs_c(void)
24 op_copy_span_funcs[SP_AN][SM_N][SC_N][DP_AN][CPU_C] = _op_copy_pan_dpan; 23 op_copy_span_funcs[SP_AN][SM_N][SC_N][DP_AN][CPU_C] = _op_copy_pan_dpan;
25 op_copy_span_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_copy_pas_dpan; 24 op_copy_span_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_copy_pas_dpan;
26} 25}
27#endif
28 26
29#ifdef BUILD_C
30static void 27static void
31_op_copy_pt_p_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c __UNUSED__, DATA32 *d) { 28_op_copy_pt_p_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c __UNUSED__, DATA32 *d) {
32 *d = s; 29 *d = s;
@@ -50,13 +47,11 @@ init_copy_pixel_pt_funcs_c(void)
50 op_copy_pt_funcs[SP_AN][SM_N][SC_N][DP_AN][CPU_C] = _op_copy_pt_pan_dpan; 47 op_copy_pt_funcs[SP_AN][SM_N][SC_N][DP_AN][CPU_C] = _op_copy_pt_pan_dpan;
51 op_copy_pt_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_copy_pt_pas_dpan; 48 op_copy_pt_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_copy_pt_pas_dpan;
52} 49}
53#endif
54 50
55/*-----*/ 51/*-----*/
56 52
57/* copy_rel pixel --> dst */ 53/* copy_rel pixel --> dst */
58 54
59#ifdef BUILD_C
60static void 55static void
61_op_copy_rel_p_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c __UNUSED__, DATA32 *d, int l) { 56_op_copy_rel_p_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c __UNUSED__, DATA32 *d, int l) {
62 DATA32 *e; 57 DATA32 *e;
@@ -86,9 +81,7 @@ init_copy_rel_pixel_span_funcs_c(void)
86 op_copy_rel_span_funcs[SP_AN][SM_N][SC_N][DP_AN][CPU_C] = _op_copy_rel_pan_dpan; 81 op_copy_rel_span_funcs[SP_AN][SM_N][SC_N][DP_AN][CPU_C] = _op_copy_rel_pan_dpan;
87 op_copy_rel_span_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_copy_rel_pas_dpan; 82 op_copy_rel_span_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_copy_rel_pas_dpan;
88} 83}
89#endif
90 84
91#ifdef BUILD_C
92static void 85static void
93_op_copy_rel_pt_p_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) { 86_op_copy_rel_pt_p_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) {
94 c = 1 + (*d >> 24); 87 c = 1 + (*d >> 24);
@@ -114,4 +107,3 @@ init_copy_rel_pixel_pt_funcs_c(void)
114 op_copy_rel_pt_funcs[SP_AN][SM_N][SC_N][DP_AN][CPU_C] = _op_copy_rel_pt_pan_dpan; 107 op_copy_rel_pt_funcs[SP_AN][SM_N][SC_N][DP_AN][CPU_C] = _op_copy_rel_pt_pan_dpan;
115 op_copy_rel_pt_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_copy_rel_pt_pas_dpan; 108 op_copy_rel_pt_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_copy_rel_pt_pas_dpan;
116} 109}
117#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_pixel_color_.c b/legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_pixel_color_.c
index 12b616d3b1..79ca17b794 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_pixel_color_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_pixel_color_.c
@@ -1,6 +1,5 @@
1/* copy pixel x color --> dst */ 1/* copy pixel x color --> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5_op_copy_p_c_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) { 4_op_copy_p_c_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) {
6 DATA32 *e; 5 DATA32 *e;
@@ -66,9 +65,7 @@ init_copy_pixel_color_span_funcs_c(void)
66 op_copy_span_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_pas_caa_dpan; 65 op_copy_span_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_pas_caa_dpan;
67 op_copy_span_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_pan_caa_dpan; 66 op_copy_span_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_pan_caa_dpan;
68} 67}
69#endif
70 68
71#ifdef BUILD_C
72static void 69static void
73_op_copy_pt_p_c_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) { 70_op_copy_pt_p_c_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) {
74 *d = MUL4_SYM(c, s); 71 *d = MUL4_SYM(c, s);
@@ -121,13 +118,11 @@ init_copy_pixel_color_pt_funcs_c(void)
121 op_copy_pt_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_pt_pas_caa_dpan; 118 op_copy_pt_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_pt_pas_caa_dpan;
122 op_copy_pt_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_pt_pan_caa_dpan; 119 op_copy_pt_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_pt_pan_caa_dpan;
123} 120}
124#endif
125 121
126/*-----*/ 122/*-----*/
127 123
128/* copy_rel pixel x color --> dst */ 124/* copy_rel pixel x color --> dst */
129 125
130#ifdef BUILD_C
131static void 126static void
132_op_copy_rel_p_c_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) { 127_op_copy_rel_p_c_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) {
133 DATA32 *e; 128 DATA32 *e;
@@ -182,9 +177,7 @@ init_copy_rel_pixel_color_span_funcs_c(void)
182 op_copy_rel_span_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_rel_pas_caa_dpan; 177 op_copy_rel_span_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_rel_pas_caa_dpan;
183 op_copy_rel_span_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_rel_pan_caa_dpan; 178 op_copy_rel_span_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_rel_pan_caa_dpan;
184} 179}
185#endif
186 180
187#ifdef BUILD_C
188static void 181static void
189_op_copy_rel_pt_p_c_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) { 182_op_copy_rel_pt_p_c_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) {
190 s = MUL4_SYM(c, s); 183 s = MUL4_SYM(c, s);
@@ -233,4 +226,3 @@ init_copy_rel_pixel_color_pt_funcs_c(void)
233 op_copy_rel_pt_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_rel_pt_pas_caa_dpan; 226 op_copy_rel_pt_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_rel_pt_pas_caa_dpan;
234 op_copy_rel_pt_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_rel_pt_pan_caa_dpan; 227 op_copy_rel_pt_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_copy_rel_pt_pan_caa_dpan;
235} 228}
236#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_pixel_mask_.c b/legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_pixel_mask_.c
index 48b5338f72..4cec8af405 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_pixel_mask_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_copy/op_copy_pixel_mask_.c
@@ -1,6 +1,5 @@
1/* copy pixel x mask --> dst */ 1/* copy pixel x mask --> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5_op_copy_p_mas_dp(DATA32 *s, DATA8 *m, DATA32 c __UNUSED__, DATA32 *d, int l) { 4_op_copy_p_mas_dp(DATA32 *s, DATA8 *m, DATA32 c __UNUSED__, DATA32 *d, int l) {
6 DATA32 *e; 5 DATA32 *e;
@@ -43,9 +42,7 @@ init_copy_pixel_mask_span_funcs_c(void)
43 op_copy_span_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_C] = _op_copy_pan_mas_dpan; 42 op_copy_span_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_C] = _op_copy_pan_mas_dpan;
44 op_copy_span_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_copy_pas_mas_dpan; 43 op_copy_span_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_copy_pas_mas_dpan;
45} 44}
46#endif
47 45
48#ifdef BUILD_C
49static void 46static void
50_op_copy_pt_p_mas_dp(DATA32 s, DATA8 m, DATA32 c __UNUSED__, DATA32 *d) { 47_op_copy_pt_p_mas_dp(DATA32 s, DATA8 m, DATA32 c __UNUSED__, DATA32 *d) {
51 *d = INTERP_256(m + 1, s, *d); 48 *d = INTERP_256(m + 1, s, *d);
@@ -69,13 +66,11 @@ init_copy_pixel_mask_pt_funcs_c(void)
69 op_copy_pt_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_C] = _op_copy_pt_pan_mas_dpan; 66 op_copy_pt_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_C] = _op_copy_pt_pan_mas_dpan;
70 op_copy_pt_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_copy_pt_pas_mas_dpan; 67 op_copy_pt_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_copy_pt_pas_mas_dpan;
71} 68}
72#endif
73 69
74/*-----*/ 70/*-----*/
75 71
76/* copy_rel pixel x mask --> dst */ 72/* copy_rel pixel x mask --> dst */
77 73
78#ifdef BUILD_C
79static void 74static void
80_op_copy_rel_p_mas_dp(DATA32 *s, DATA8 *m, DATA32 c, DATA32 *d, int l) { 75_op_copy_rel_p_mas_dp(DATA32 *s, DATA8 *m, DATA32 c, DATA32 *d, int l) {
81 DATA32 *e; 76 DATA32 *e;
@@ -119,9 +114,7 @@ init_copy_rel_pixel_mask_span_funcs_c(void)
119 op_copy_rel_span_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_C] = _op_copy_rel_pan_mas_dpan; 114 op_copy_rel_span_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_C] = _op_copy_rel_pan_mas_dpan;
120 op_copy_rel_span_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_copy_rel_pas_mas_dpan; 115 op_copy_rel_span_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_copy_rel_pas_mas_dpan;
121} 116}
122#endif
123 117
124#ifdef BUILD_C
125static void 118static void
126_op_copy_rel_pt_p_mas_dp(DATA32 s, DATA8 m, DATA32 c, DATA32 *d) { 119_op_copy_rel_pt_p_mas_dp(DATA32 s, DATA8 m, DATA32 c, DATA32 *d) {
127 c = MUL_SYM(*d >> 24, s); 120 c = MUL_SYM(*d >> 24, s);
@@ -147,4 +140,3 @@ init_copy_rel_pixel_mask_pt_funcs_c(void)
147 op_copy_rel_pt_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_C] = _op_copy_rel_pt_pan_mas_dpan; 140 op_copy_rel_pt_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_C] = _op_copy_rel_pt_pan_mas_dpan;
148 op_copy_rel_pt_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_copy_rel_pt_pas_mas_dpan; 141 op_copy_rel_pt_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_copy_rel_pt_pas_mas_dpan;
149} 142}
150#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_copy_main_.c b/legacy/evas/src/lib/engines/common/evas_op_copy_main_.c
index 4575aee298..43b7e342bf 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_copy_main_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_copy_main_.c
@@ -126,7 +126,6 @@ op_copy_init(void)
126 init_copy_color_pt_funcs_neon(); 126 init_copy_color_pt_funcs_neon();
127 init_copy_mask_color_pt_funcs_neon(); 127 init_copy_mask_color_pt_funcs_neon();
128#endif 128#endif
129#ifdef BUILD_C
130 init_copy_pixel_span_funcs_c(); 129 init_copy_pixel_span_funcs_c();
131 init_copy_pixel_color_span_funcs_c(); 130 init_copy_pixel_color_span_funcs_c();
132 init_copy_pixel_mask_span_funcs_c(); 131 init_copy_pixel_mask_span_funcs_c();
@@ -138,7 +137,6 @@ op_copy_init(void)
138 init_copy_pixel_mask_pt_funcs_c(); 137 init_copy_pixel_mask_pt_funcs_c();
139 init_copy_color_pt_funcs_c(); 138 init_copy_color_pt_funcs_c();
140 init_copy_mask_color_pt_funcs_c(); 139 init_copy_mask_color_pt_funcs_c();
141#endif
142} 140}
143 141
144static void 142static void
@@ -167,11 +165,9 @@ copy_gfx_span_func_cpu(int s, int m, int c, int d)
167 if (func) return func; 165 if (func) return func;
168 } 166 }
169#endif 167#endif
170#ifdef BUILD_C
171 cpu = CPU_C; 168 cpu = CPU_C;
172 func = op_copy_span_funcs[s][m][c][d][cpu]; 169 func = op_copy_span_funcs[s][m][c][d][cpu];
173 if (func) return func; 170 if (func) return func;
174#endif
175 return func; 171 return func;
176} 172}
177 173
@@ -285,11 +281,9 @@ copy_gfx_pt_func_cpu(int s, int m, int c, int d)
285 if (func) return func; 281 if (func) return func;
286 } 282 }
287#endif 283#endif
288#ifdef BUILD_C
289 cpu = CPU_C; 284 cpu = CPU_C;
290 func = op_copy_pt_funcs[s][m][c][d][cpu]; 285 func = op_copy_pt_funcs[s][m][c][d][cpu];
291 if (func) return func; 286 if (func) return func;
292#endif
293 return func; 287 return func;
294} 288}
295 289
@@ -414,7 +408,6 @@ op_copy_rel_init(void)
414 init_copy_rel_color_pt_funcs_neon(); 408 init_copy_rel_color_pt_funcs_neon();
415 init_copy_rel_mask_color_pt_funcs_neon(); 409 init_copy_rel_mask_color_pt_funcs_neon();
416#endif 410#endif
417#ifdef BUILD_C
418 init_copy_rel_pixel_span_funcs_c(); 411 init_copy_rel_pixel_span_funcs_c();
419 init_copy_rel_pixel_color_span_funcs_c(); 412 init_copy_rel_pixel_color_span_funcs_c();
420 init_copy_rel_pixel_mask_span_funcs_c(); 413 init_copy_rel_pixel_mask_span_funcs_c();
@@ -426,7 +419,6 @@ op_copy_rel_init(void)
426 init_copy_rel_pixel_mask_pt_funcs_c(); 419 init_copy_rel_pixel_mask_pt_funcs_c();
427 init_copy_rel_color_pt_funcs_c(); 420 init_copy_rel_color_pt_funcs_c();
428 init_copy_rel_mask_color_pt_funcs_c(); 421 init_copy_rel_mask_color_pt_funcs_c();
429#endif
430} 422}
431 423
432static void 424static void
@@ -455,11 +447,9 @@ copy_rel_gfx_span_func_cpu(int s, int m, int c, int d)
455 if (func) return func; 447 if (func) return func;
456 } 448 }
457#endif 449#endif
458#ifdef BUILD_C
459 cpu = CPU_C; 450 cpu = CPU_C;
460 func = op_copy_rel_span_funcs[s][m][c][d][cpu]; 451 func = op_copy_rel_span_funcs[s][m][c][d][cpu];
461 if (func) return func; 452 if (func) return func;
462#endif
463 return func; 453 return func;
464} 454}
465 455
@@ -574,11 +564,9 @@ copy_rel_gfx_pt_func_cpu(int s, int m, int c, int d)
574 if (func) return func; 564 if (func) return func;
575 } 565 }
576#endif 566#endif
577#ifdef BUILD_C
578 cpu = CPU_C; 567 cpu = CPU_C;
579 func = op_copy_rel_pt_funcs[s][m][c][d][cpu]; 568 func = op_copy_rel_pt_funcs[s][m][c][d][cpu];
580 if (func) return func; 569 if (func) return func;
581#endif
582 return func; 570 return func;
583} 571}
584 572
diff --git a/legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_color_.c b/legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_color_.c
index c95b125d5a..c957315687 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_color_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_color_.c
@@ -1,6 +1,5 @@
1/* mask color --> dst */ 1/* mask color --> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5_op_mask_c_dp(DATA32 *s __UNUSED__, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) { 4_op_mask_c_dp(DATA32 *s __UNUSED__, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) {
6 DATA32 *e = d + l; 5 DATA32 *e = d + l;
@@ -24,9 +23,7 @@ init_mask_color_span_funcs_c(void)
24 op_mask_span_funcs[SP_N][SM_N][SC][DP_AN][CPU_C] = _op_mask_c_dpan; 23 op_mask_span_funcs[SP_N][SM_N][SC][DP_AN][CPU_C] = _op_mask_c_dpan;
25 op_mask_span_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_mask_caa_dpan; 24 op_mask_span_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_mask_caa_dpan;
26} 25}
27#endif
28 26
29#ifdef BUILD_C
30static void 27static void
31_op_mask_pt_c_dp(DATA32 s __UNUSED__, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) { 28_op_mask_pt_c_dp(DATA32 s __UNUSED__, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) {
32 *d = MUL_SYM(c >> 24, *d); 29 *d = MUL_SYM(c >> 24, *d);
@@ -46,4 +43,4 @@ init_mask_color_pt_funcs_c(void)
46 op_mask_pt_funcs[SP_N][SM_N][SC][DP_AN][CPU_C] = _op_mask_pt_c_dpan; 43 op_mask_pt_funcs[SP_N][SM_N][SC][DP_AN][CPU_C] = _op_mask_pt_c_dpan;
47 op_mask_pt_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_mask_pt_caa_dpan; 44 op_mask_pt_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_mask_pt_caa_dpan;
48} 45}
49#endif 46
diff --git a/legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_mask_color_.c b/legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_mask_color_.c
index c75edb42a0..dacd23ab84 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_mask_color_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_mask_color_.c
@@ -1,6 +1,5 @@
1/* mask mask x color -> dst */ 1/* mask mask x color -> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5_op_mask_mas_c_dp(DATA32 *s __UNUSED__, DATA8 *m, DATA32 c, DATA32 *d, int l) { 4_op_mask_mas_c_dp(DATA32 *s __UNUSED__, DATA8 *m, DATA32 c, DATA32 *d, int l) {
6 DATA32 *e = d + l; 5 DATA32 *e = d + l;
@@ -37,9 +36,7 @@ init_mask_mask_color_span_funcs_c(void)
37 op_mask_span_funcs[SP_N][SM_AS][SC][DP_AN][CPU_C] = _op_mask_mas_c_dpan; 36 op_mask_span_funcs[SP_N][SM_AS][SC][DP_AN][CPU_C] = _op_mask_mas_c_dpan;
38 op_mask_span_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_mask_mas_caa_dpan; 37 op_mask_span_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_mask_mas_caa_dpan;
39} 38}
40#endif
41 39
42#ifdef BUILD_C
43static void 40static void
44_op_mask_pt_mas_c_dp(DATA32 s __UNUSED__, DATA8 m, DATA32 c, DATA32 *d) { 41_op_mask_pt_mas_c_dp(DATA32 s __UNUSED__, DATA8 m, DATA32 c, DATA32 *d) {
45 c = 256 - (((256 - (c >> 24)) * m) >> 8); 42 c = 256 - (((256 - (c >> 24)) * m) >> 8);
@@ -60,4 +57,3 @@ init_mask_mask_color_pt_funcs_c(void)
60 op_mask_pt_funcs[SP_N][SM_AS][SC][DP_AN][CPU_C] = _op_mask_pt_mas_c_dpan; 57 op_mask_pt_funcs[SP_N][SM_AS][SC][DP_AN][CPU_C] = _op_mask_pt_mas_c_dpan;
61 op_mask_pt_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_mask_pt_mas_caa_dpan; 58 op_mask_pt_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_mask_pt_mas_caa_dpan;
62} 59}
63#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_pixel_.c b/legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_pixel_.c
index ea7982b691..822e74b208 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_pixel_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_pixel_.c
@@ -1,6 +1,5 @@
1/* mask pixel --> dst */ 1/* mask pixel --> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5_op_mask_p_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c __UNUSED__, DATA32 *d, int l) { 4_op_mask_p_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c __UNUSED__, DATA32 *d, int l) {
6 DATA32 *e = d + l; 5 DATA32 *e = d + l;
@@ -23,9 +22,7 @@ init_mask_pixel_span_funcs_c(void)
23 op_mask_span_funcs[SP][SM_N][SC_N][DP_AN][CPU_C] = _op_mask_p_dpan; 22 op_mask_span_funcs[SP][SM_N][SC_N][DP_AN][CPU_C] = _op_mask_p_dpan;
24 op_mask_span_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_mask_pas_dpan; 23 op_mask_span_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_mask_pas_dpan;
25} 24}
26#endif
27 25
28#ifdef BUILD_C
29static void 26static void
30_op_mask_pt_p_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c __UNUSED__, DATA32 *d) { 27_op_mask_pt_p_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c __UNUSED__, DATA32 *d) {
31 *d = MUL_SYM(s >> 24, *d); 28 *d = MUL_SYM(s >> 24, *d);
@@ -45,4 +42,3 @@ init_mask_pixel_pt_funcs_c(void)
45 op_mask_pt_funcs[SP][SM_N][SC_N][DP_AN][CPU_C] = _op_mask_pt_p_dpan; 42 op_mask_pt_funcs[SP][SM_N][SC_N][DP_AN][CPU_C] = _op_mask_pt_p_dpan;
46 op_mask_pt_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_mask_pt_pas_dpan; 43 op_mask_pt_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_mask_pt_pas_dpan;
47} 44}
48#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_pixel_color_.c b/legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_pixel_color_.c
index 18d1caba23..d236671b7f 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_pixel_color_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_pixel_color_.c
@@ -1,6 +1,5 @@
1/* mask pixel x color --> dst */ 1/* mask pixel x color --> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5_op_mask_p_c_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) { 4_op_mask_p_c_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) {
6 DATA32 *e = d + l; 5 DATA32 *e = d + l;
@@ -50,9 +49,7 @@ init_mask_pixel_color_span_funcs_c(void)
50 op_mask_span_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_mask_pas_caa_dpan; 49 op_mask_span_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_mask_pas_caa_dpan;
51 op_mask_span_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_mask_pan_caa_dpan; 50 op_mask_span_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_mask_pan_caa_dpan;
52} 51}
53#endif
54 52
55#ifdef BUILD_C
56static void 53static void
57_op_mask_pt_p_c_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) { 54_op_mask_pt_p_c_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) {
58 c = 1 + ((((c >> 24) * (s >> 24)) + 255) >> 8); 55 c = 1 + ((((c >> 24) * (s >> 24)) + 255) >> 8);
@@ -97,4 +94,3 @@ init_mask_pixel_color_pt_funcs_c(void)
97 op_mask_pt_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_mask_pt_pas_caa_dpan; 94 op_mask_pt_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_mask_pt_pas_caa_dpan;
98 op_mask_pt_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_mask_pt_pan_caa_dpan; 95 op_mask_pt_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_mask_pt_pan_caa_dpan;
99} 96}
100#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_pixel_mask_.c b/legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_pixel_mask_.c
index b948aa6640..5a5c4f0a26 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_pixel_mask_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_mask/op_mask_pixel_mask_.c
@@ -1,6 +1,5 @@
1/* mask pixel x mask --> dst */ 1/* mask pixel x mask --> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5_op_mask_p_mas_dp(DATA32 *s, DATA8 *m, DATA32 c __UNUSED__, DATA32 *d, int l) { 4_op_mask_p_mas_dp(DATA32 *s, DATA8 *m, DATA32 c __UNUSED__, DATA32 *d, int l) {
6 DATA32 *e = d + l; 5 DATA32 *e = d + l;
@@ -36,9 +35,7 @@ init_mask_pixel_mask_span_funcs_c(void)
36 op_mask_span_funcs[SP][SM_AS][SC_N][DP_AN][CPU_C] = _op_mask_p_mas_dpan; 35 op_mask_span_funcs[SP][SM_AS][SC_N][DP_AN][CPU_C] = _op_mask_p_mas_dpan;
37 op_mask_span_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_mask_pas_mas_dpan; 36 op_mask_span_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_mask_pas_mas_dpan;
38} 37}
39#endif
40 38
41#ifdef BUILD_C
42static void 39static void
43_op_mask_pt_p_mas_dp(DATA32 s, DATA8 m, DATA32 c __UNUSED__, DATA32 *d) { 40_op_mask_pt_p_mas_dp(DATA32 s, DATA8 m, DATA32 c __UNUSED__, DATA32 *d) {
44 s = 256 - (((256 - (s >> 24)) * m) >> 8); 41 s = 256 - (((256 - (s >> 24)) * m) >> 8);
@@ -59,4 +56,3 @@ init_mask_pixel_mask_pt_funcs_c(void)
59 op_mask_pt_funcs[SP][SM_AS][SC_N][DP_AN][CPU_C] = _op_mask_pt_p_mas_dpan; 56 op_mask_pt_funcs[SP][SM_AS][SC_N][DP_AN][CPU_C] = _op_mask_pt_p_mas_dpan;
60 op_mask_pt_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_mask_pt_pas_mas_dpan; 57 op_mask_pt_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_mask_pt_pas_mas_dpan;
61} 58}
62#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_mask_main_.c b/legacy/evas/src/lib/engines/common/evas_op_mask_main_.c
index bbe497aa39..221a59df93 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_mask_main_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_mask_main_.c
@@ -68,7 +68,6 @@ op_mask_init(void)
68 init_mask_color_pt_funcs_mmx(); 68 init_mask_color_pt_funcs_mmx();
69 init_mask_mask_color_pt_funcs_mmx(); 69 init_mask_mask_color_pt_funcs_mmx();
70#endif 70#endif
71#ifdef BUILD_C
72 init_mask_pixel_span_funcs_c(); 71 init_mask_pixel_span_funcs_c();
73 init_mask_pixel_color_span_funcs_c(); 72 init_mask_pixel_color_span_funcs_c();
74 init_mask_pixel_mask_span_funcs_c(); 73 init_mask_pixel_mask_span_funcs_c();
@@ -80,7 +79,6 @@ op_mask_init(void)
80 init_mask_pixel_mask_pt_funcs_c(); 79 init_mask_pixel_mask_pt_funcs_c();
81 init_mask_color_pt_funcs_c(); 80 init_mask_color_pt_funcs_c();
82 init_mask_mask_color_pt_funcs_c(); 81 init_mask_mask_color_pt_funcs_c();
83#endif
84} 82}
85 83
86static void 84static void
@@ -101,11 +99,9 @@ mask_gfx_span_func_cpu(int s, int m, int c, int d)
101 if (func) return func; 99 if (func) return func;
102 } 100 }
103#endif 101#endif
104#ifdef BUILD_C
105 cpu = CPU_C; 102 cpu = CPU_C;
106 func = op_mask_span_funcs[s][m][c][d][cpu]; 103 func = op_mask_span_funcs[s][m][c][d][cpu];
107 if (func) return func; 104 if (func) return func;
108#endif
109 return func; 105 return func;
110} 106}
111 107
@@ -211,11 +207,9 @@ mask_gfx_pt_func_cpu(int s, int m, int c, int d)
211 if (func) return func; 207 if (func) return func;
212 } 208 }
213#endif 209#endif
214#ifdef BUILD_C
215 cpu = CPU_C; 210 cpu = CPU_C;
216 func = op_mask_pt_funcs[s][m][c][d][cpu]; 211 func = op_mask_pt_funcs[s][m][c][d][cpu];
217 if (func) return func; 212 if (func) return func;
218#endif
219 return func; 213 return func;
220} 214}
221 215
diff --git a/legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_color_.c b/legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_color_.c
index fb656b5c2f..7e16c6ce8d 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_color_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_color_.c
@@ -1,6 +1,5 @@
1/* mul color --> dst */ 1/* mul color --> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5_op_mul_c_dp(DATA32 *s __UNUSED__, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) { 4_op_mul_c_dp(DATA32 *s __UNUSED__, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) {
6 DATA32 *e = d + l; 5 DATA32 *e = d + l;
@@ -35,9 +34,7 @@ init_mul_color_span_funcs_c(void)
35 op_mul_span_funcs[SP_N][SM_N][SC_AN][DP_AN][CPU_C] = _op_mul_can_dpan; 34 op_mul_span_funcs[SP_N][SM_N][SC_AN][DP_AN][CPU_C] = _op_mul_can_dpan;
36 op_mul_span_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_mul_caa_dpan; 35 op_mul_span_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_mul_caa_dpan;
37} 36}
38#endif
39 37
40#ifdef BUILD_C
41static void 38static void
42_op_mul_pt_c_dp(DATA32 s __UNUSED__, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) { 39_op_mul_pt_c_dp(DATA32 s __UNUSED__, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) {
43 *d = MUL4_SYM(c, *d); 40 *d = MUL4_SYM(c, *d);
@@ -61,5 +58,3 @@ init_mul_color_pt_funcs_c(void)
61 op_mul_pt_funcs[SP_N][SM_N][SC_AN][DP_AN][CPU_C] = _op_mul_pt_can_dpan; 58 op_mul_pt_funcs[SP_N][SM_N][SC_AN][DP_AN][CPU_C] = _op_mul_pt_can_dpan;
62 op_mul_pt_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_mul_pt_caa_dpan; 59 op_mul_pt_funcs[SP_N][SM_N][SC_AA][DP_AN][CPU_C] = _op_mul_pt_caa_dpan;
63} 60}
64#endif
65
diff --git a/legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_mask_color_.c b/legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_mask_color_.c
index 7a6e403717..2840e6f781 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_mask_color_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_mask_color_.c
@@ -1,6 +1,5 @@
1/* mul mask x color -> dst */ 1/* mul mask x color -> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5_op_mul_mas_c_dp(DATA32 *s __UNUSED__, DATA8 *m, DATA32 c, DATA32 *d, int l) { 4_op_mul_mas_c_dp(DATA32 *s __UNUSED__, DATA8 *m, DATA32 c, DATA32 *d, int l) {
6 DATA32 *e = d + l, nc = ~c; 5 DATA32 *e = d + l, nc = ~c;
@@ -41,9 +40,7 @@ init_mul_mask_color_span_funcs_c(void)
41 op_mul_span_funcs[SP_N][SM_AS][SC_AN][DP_AN][CPU_C] = _op_mul_mas_can_dpan; 40 op_mul_span_funcs[SP_N][SM_AS][SC_AN][DP_AN][CPU_C] = _op_mul_mas_can_dpan;
42 op_mul_span_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_mul_mas_caa_dpan; 41 op_mul_span_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_mul_mas_caa_dpan;
43} 42}
44#endif
45 43
46#ifdef BUILD_C
47static void 44static void
48_op_mul_pt_mas_c_dp(DATA32 s __UNUSED__, DATA8 m, DATA32 c, DATA32 *d) { 45_op_mul_pt_mas_c_dp(DATA32 s __UNUSED__, DATA8 m, DATA32 c, DATA32 *d) {
49 c = ~c; 46 c = ~c;
@@ -69,4 +66,3 @@ init_mul_mask_color_pt_funcs_c(void)
69 op_mul_pt_funcs[SP_N][SM_AS][SC_AN][DP_AN][CPU_C] = _op_mul_pt_mas_can_dpan; 66 op_mul_pt_funcs[SP_N][SM_AS][SC_AN][DP_AN][CPU_C] = _op_mul_pt_mas_can_dpan;
70 op_mul_pt_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_mul_pt_mas_caa_dpan; 67 op_mul_pt_funcs[SP_N][SM_AS][SC_AA][DP_AN][CPU_C] = _op_mul_pt_mas_caa_dpan;
71} 68}
72#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_pixel_.c b/legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_pixel_.c
index 2e034b93d8..78ca8345d3 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_pixel_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_pixel_.c
@@ -1,6 +1,5 @@
1/* mul pixel --> dst */ 1/* mul pixel --> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5_op_mul_p_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c __UNUSED__, DATA32 *d, int l) { 4_op_mul_p_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c __UNUSED__, DATA32 *d, int l) {
6 DATA32 *e = d + l; 5 DATA32 *e = d + l;
@@ -27,9 +26,7 @@ init_mul_pixel_span_funcs_c(void)
27 op_mul_span_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_mul_pas_dpan; 26 op_mul_span_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_mul_pas_dpan;
28 op_mul_span_funcs[SP_AN][SM_N][SC_N][DP_AN][CPU_C] = _op_mul_pan_dpan; 27 op_mul_span_funcs[SP_AN][SM_N][SC_N][DP_AN][CPU_C] = _op_mul_pan_dpan;
29} 28}
30#endif
31 29
32#ifdef BUILD_C
33static void 30static void
34_op_mul_pt_p_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c __UNUSED__, DATA32 *d) { 31_op_mul_pt_p_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c __UNUSED__, DATA32 *d) {
35 *d = MUL4_SYM(s, *d); 32 *d = MUL4_SYM(s, *d);
@@ -53,4 +50,3 @@ init_mul_pixel_pt_funcs_c(void)
53 op_mul_pt_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_mul_pt_pas_dpan; 50 op_mul_pt_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_C] = _op_mul_pt_pas_dpan;
54 op_mul_pt_funcs[SP_AN][SM_N][SC_N][DP_AN][CPU_C] = _op_mul_pt_pan_dpan; 51 op_mul_pt_funcs[SP_AN][SM_N][SC_N][DP_AN][CPU_C] = _op_mul_pt_pan_dpan;
55} 52}
56#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_pixel_color_.c b/legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_pixel_color_.c
index 3ea6919bb1..40fbc709fc 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_pixel_color_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_pixel_color_.c
@@ -1,6 +1,5 @@
1/* mul pixel x color --> dst */ 1/* mul pixel x color --> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5_op_mul_p_c_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) { 4_op_mul_p_c_dp(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) {
6 DATA32 *e = d + l; 5 DATA32 *e = d + l;
@@ -64,9 +63,7 @@ init_mul_pixel_color_span_funcs_c(void)
64 op_mul_span_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_mul_pas_caa_dpan; 63 op_mul_span_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_mul_pas_caa_dpan;
65 op_mul_span_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_mul_pan_caa_dpan; 64 op_mul_span_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_mul_pan_caa_dpan;
66} 65}
67#endif
68 66
69#ifdef BUILD_C
70static void 67static void
71_op_mul_pt_p_c_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) { 68_op_mul_pt_p_c_dp(DATA32 s, DATA8 m __UNUSED__, DATA32 c, DATA32 *d) {
72 s = MUL4_SYM(c, s); 69 s = MUL4_SYM(c, s);
@@ -119,4 +116,3 @@ init_mul_pixel_color_pt_funcs_c(void)
119 op_mul_pt_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_mul_pt_pas_caa_dpan; 116 op_mul_pt_funcs[SP_AS][SM_N][SC_AA][DP_AN][CPU_C] = _op_mul_pt_pas_caa_dpan;
120 op_mul_pt_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_mul_pt_pan_caa_dpan; 117 op_mul_pt_funcs[SP_AN][SM_N][SC_AA][DP_AN][CPU_C] = _op_mul_pt_pan_caa_dpan;
121} 118}
122#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_pixel_mask_.c b/legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_pixel_mask_.c
index 37d0497bcb..bd500e732e 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_pixel_mask_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_mul/op_mul_pixel_mask_.c
@@ -1,6 +1,5 @@
1/* mul pixel x mask --> dst */ 1/* mul pixel x mask --> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5_op_mul_p_mas_dp(DATA32 *s, DATA8 *m, DATA32 c, DATA32 *d, int l) { 4_op_mul_p_mas_dp(DATA32 *s, DATA8 *m, DATA32 c, DATA32 *d, int l) {
6 DATA32 *e = d + l; 5 DATA32 *e = d + l;
@@ -86,9 +85,7 @@ init_mul_pixel_mask_span_funcs_c(void)
86 op_mul_span_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_mul_pas_mas_dpan; 85 op_mul_span_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_mul_pas_mas_dpan;
87 op_mul_span_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_C] = _op_mul_pan_mas_dpan; 86 op_mul_span_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_C] = _op_mul_pan_mas_dpan;
88} 87}
89#endif
90 88
91#ifdef BUILD_C
92static void 89static void
93_op_mul_pt_p_mas_dp(DATA32 s, DATA8 m, DATA32 c __UNUSED__, DATA32 *d) { 90_op_mul_pt_p_mas_dp(DATA32 s, DATA8 m, DATA32 c __UNUSED__, DATA32 *d) {
94 s = ~s; 91 s = ~s;
@@ -114,4 +111,4 @@ init_mul_pixel_mask_pt_funcs_c(void)
114 op_mul_pt_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_mul_pt_pas_mas_dpan; 111 op_mul_pt_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_C] = _op_mul_pt_pas_mas_dpan;
115 op_mul_pt_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_C] = _op_mul_pt_pan_mas_dpan; 112 op_mul_pt_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_C] = _op_mul_pt_pan_mas_dpan;
116} 113}
117#endif 114
diff --git a/legacy/evas/src/lib/engines/common/evas_op_mul_main_.c b/legacy/evas/src/lib/engines/common/evas_op_mul_main_.c
index 25fa93264e..d809009765 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_mul_main_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_mul_main_.c
@@ -67,7 +67,6 @@ op_mul_init(void)
67 init_mul_color_pt_funcs_mmx(); 67 init_mul_color_pt_funcs_mmx();
68 init_mul_mask_color_pt_funcs_mmx(); 68 init_mul_mask_color_pt_funcs_mmx();
69#endif 69#endif
70#ifdef BUILD_C
71 init_mul_pixel_span_funcs_c(); 70 init_mul_pixel_span_funcs_c();
72 init_mul_pixel_color_span_funcs_c(); 71 init_mul_pixel_color_span_funcs_c();
73 init_mul_pixel_mask_span_funcs_c(); 72 init_mul_pixel_mask_span_funcs_c();
@@ -79,7 +78,6 @@ op_mul_init(void)
79 init_mul_pixel_mask_pt_funcs_c(); 78 init_mul_pixel_mask_pt_funcs_c();
80 init_mul_color_pt_funcs_c(); 79 init_mul_color_pt_funcs_c();
81 init_mul_mask_color_pt_funcs_c(); 80 init_mul_mask_color_pt_funcs_c();
82#endif
83} 81}
84 82
85static void 83static void
@@ -100,11 +98,9 @@ mul_gfx_span_func_cpu(int s, int m, int c, int d)
100 if (func) return func; 98 if (func) return func;
101 } 99 }
102#endif 100#endif
103#ifdef BUILD_C
104 cpu = CPU_C; 101 cpu = CPU_C;
105 func = op_mul_span_funcs[s][m][c][d][cpu]; 102 func = op_mul_span_funcs[s][m][c][d][cpu];
106 if (func) return func; 103 if (func) return func;
107#endif
108 return func; 104 return func;
109} 105}
110 106
@@ -210,11 +206,9 @@ mul_gfx_pt_func_cpu(int s, int m, int c, int d)
210 if (func) return func; 206 if (func) return func;
211 } 207 }
212#endif 208#endif
213#ifdef BUILD_C
214 cpu = CPU_C; 209 cpu = CPU_C;
215 func = op_mul_pt_funcs[s][m][c][d][cpu]; 210 func = op_mul_pt_funcs[s][m][c][d][cpu];
216 if (func) return func; 211 if (func) return func;
217#endif
218 return func; 212 return func;
219} 213}
220 214
diff --git a/legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_color_.c b/legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_color_.c
index 8490b68c29..4b71e42e55 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_color_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_color_.c
@@ -1,33 +1,25 @@
1/* sub color -> dst */ 1/* sub color -> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5init_sub_color_span_funcs_c(void) 4init_sub_color_span_funcs_c(void)
6{ 5{
7} 6}
8#endif
9 7
10#ifdef BUILD_C
11static void 8static void
12init_sub_color_pt_funcs_c(void) 9init_sub_color_pt_funcs_c(void)
13{ 10{
14} 11}
15#endif
16 12
17/*-----*/ 13/*-----*/
18 14
19/* sub_rel color -> dst */ 15/* sub_rel color -> dst */
20 16
21#ifdef BUILD_C
22static void 17static void
23init_sub_rel_color_span_funcs_c(void) 18init_sub_rel_color_span_funcs_c(void)
24{ 19{
25} 20}
26#endif
27 21
28#ifdef BUILD_C
29static void 22static void
30init_sub_rel_color_pt_funcs_c(void) 23init_sub_rel_color_pt_funcs_c(void)
31{ 24{
32} 25}
33#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_mask_color_.c b/legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_mask_color_.c
index 0584227f13..88afca4542 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_mask_color_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_mask_color_.c
@@ -1,33 +1,25 @@
1/* sub mask x color -> dst */ 1/* sub mask x color -> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5init_sub_mask_color_span_funcs_c(void) 4init_sub_mask_color_span_funcs_c(void)
6{ 5{
7} 6}
8#endif
9 7
10#ifdef BUILD_C
11static void 8static void
12init_sub_mask_color_pt_funcs_c(void) 9init_sub_mask_color_pt_funcs_c(void)
13{ 10{
14} 11}
15#endif
16 12
17/*-----*/ 13/*-----*/
18 14
19/* sub_rel mask x color -> dst */ 15/* sub_rel mask x color -> dst */
20 16
21#ifdef BUILD_C
22static void 17static void
23init_sub_rel_mask_color_span_funcs_c(void) 18init_sub_rel_mask_color_span_funcs_c(void)
24{ 19{
25} 20}
26#endif
27 21
28#ifdef BUILD_C
29static void 22static void
30init_sub_rel_mask_color_pt_funcs_c(void) 23init_sub_rel_mask_color_pt_funcs_c(void)
31{ 24{
32} 25}
33#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_pixel_.c b/legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_pixel_.c
index 97001d4eb8..a33afc2fe8 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_pixel_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_pixel_.c
@@ -1,33 +1,25 @@
1/* sub pixel --> dst */ 1/* sub pixel --> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5init_sub_pixel_span_funcs_c(void) 4init_sub_pixel_span_funcs_c(void)
6{ 5{
7} 6}
8#endif
9 7
10#ifdef BUILD_C
11static void 8static void
12init_sub_pixel_pt_funcs_c(void) 9init_sub_pixel_pt_funcs_c(void)
13{ 10{
14} 11}
15#endif
16 12
17/*-----*/ 13/*-----*/
18 14
19/* sub_rel pixel --> dst */ 15/* sub_rel pixel --> dst */
20 16
21#ifdef BUILD_C
22static void 17static void
23init_sub_rel_pixel_span_funcs_c(void) 18init_sub_rel_pixel_span_funcs_c(void)
24{ 19{
25} 20}
26#endif
27 21
28#ifdef BUILD_C
29static void 22static void
30init_sub_rel_pixel_pt_funcs_c(void) 23init_sub_rel_pixel_pt_funcs_c(void)
31{ 24{
32} 25}
33#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_pixel_color_.c b/legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_pixel_color_.c
index 13caa0be72..af160529c6 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_pixel_color_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_pixel_color_.c
@@ -1,33 +1,25 @@
1/* sub pixel x color --> dst */ 1/* sub pixel x color --> dst */
2 2
3#ifdef BUILD_C
4static void 3static void
5init_sub_pixel_color_span_funcs_c(void) 4init_sub_pixel_color_span_funcs_c(void)
6{ 5{
7} 6}
8#endif
9 7
10#ifdef BUILD_C
11static void 8static void
12init_sub_pixel_color_pt_funcs_c(void) 9init_sub_pixel_color_pt_funcs_c(void)
13{ 10{
14} 11}
15#endif
16 12
17/*-----*/ 13/*-----*/
18 14
19/* sub_rel pixel x color --> dst */ 15/* sub_rel pixel x color --> dst */
20 16
21#ifdef BUILD_C
22static void 17static void
23init_sub_rel_pixel_color_span_funcs_c(void) 18init_sub_rel_pixel_color_span_funcs_c(void)
24{ 19{
25} 20}
26#endif
27 21
28#ifdef BUILD_C
29static void 22static void
30init_sub_rel_pixel_color_pt_funcs_c(void) 23init_sub_rel_pixel_color_pt_funcs_c(void)
31{ 24{
32} 25}
33#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_pixel_mask_.c b/legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_pixel_mask_.c
index c0c67beaa8..371869799e 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_pixel_mask_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_sub/op_sub_pixel_mask_.c
@@ -1,37 +1,29 @@
1/* sub pixel x mask --> dst */ 1/* sub pixel x mask --> dst */
2 2
3#ifdef BUILD_C
4/* XXX: not used 3/* XXX: not used
5static void 4static void
6init_sub_pixel_mask_span_funcs_c(void) 5init_sub_pixel_mask_span_funcs_c(void)
7{ 6{
8} 7}
9*/ 8*/
10#endif
11 9
12#ifdef BUILD_C
13/* XXX: not used 10/* XXX: not used
14static void 11static void
15init_sub_pixel_mask_pt_funcs_c(void) 12init_sub_pixel_mask_pt_funcs_c(void)
16{ 13{
17} 14}
18*/ 15*/
19#endif
20 16
21/*-----*/ 17/*-----*/
22 18
23/* sub_rel pixel x mask --> dst */ 19/* sub_rel pixel x mask --> dst */
24 20
25#ifdef BUILD_C
26static void 21static void
27init_sub_rel_pixel_mask_span_funcs_c(void) 22init_sub_rel_pixel_mask_span_funcs_c(void)
28{ 23{
29} 24}
30#endif
31 25
32#ifdef BUILD_C
33static void 26static void
34init_sub_rel_pixel_mask_pt_funcs_c(void) 27init_sub_rel_pixel_mask_pt_funcs_c(void)
35{ 28{
36} 29}
37#endif
diff --git a/legacy/evas/src/lib/engines/common/evas_op_sub_main_.c b/legacy/evas/src/lib/engines/common/evas_op_sub_main_.c
index 329c2e4109..6f35d8caff 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_sub_main_.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_sub_main_.c
@@ -101,7 +101,6 @@ op_sub_init(void)
101 init_sub_color_pt_funcs_mmx(); 101 init_sub_color_pt_funcs_mmx();
102 init_sub_mask_color_pt_funcs_mmx(); 102 init_sub_mask_color_pt_funcs_mmx();
103#endif 103#endif
104#ifdef BUILD_C
105 init_sub_pixel_span_funcs_c(); 104 init_sub_pixel_span_funcs_c();
106 init_sub_pixel_color_span_funcs_c(); 105 init_sub_pixel_color_span_funcs_c();
107 init_sub_rel_pixel_mask_span_funcs_c(); 106 init_sub_rel_pixel_mask_span_funcs_c();
@@ -113,7 +112,6 @@ op_sub_init(void)
113 init_sub_rel_pixel_mask_pt_funcs_c(); 112 init_sub_rel_pixel_mask_pt_funcs_c();
114 init_sub_color_pt_funcs_c(); 113 init_sub_color_pt_funcs_c();
115 init_sub_mask_color_pt_funcs_c(); 114 init_sub_mask_color_pt_funcs_c();
116#endif
117} 115}
118 116
119static void 117static void
@@ -134,11 +132,9 @@ sub_gfx_span_func_cpu(int s, int m, int c, int d)
134 if (func) return func; 132 if (func) return func;
135 } 133 }
136#endif 134#endif
137#ifdef BUILD_C
138 cpu = CPU_C; 135 cpu = CPU_C;
139 func = op_sub_span_funcs[s][m][c][d][cpu]; 136 func = op_sub_span_funcs[s][m][c][d][cpu];
140 if (func) return func; 137 if (func) return func;
141#endif
142 return func; 138 return func;
143} 139}
144 140
@@ -229,11 +225,9 @@ sub_gfx_pt_func_cpu(int s, int m, int c, int d)
229 if (func) return func; 225 if (func) return func;
230 } 226 }
231#endif 227#endif
232#ifdef BUILD_C
233 cpu = CPU_C; 228 cpu = CPU_C;
234 func = op_sub_pt_funcs[s][m][c][d][cpu]; 229 func = op_sub_pt_funcs[s][m][c][d][cpu];
235 if (func) return func; 230 if (func) return func;
236#endif
237 return func; 231 return func;
238} 232}
239 233
@@ -331,7 +325,6 @@ op_sub_rel_init(void)
331 init_sub_rel_color_pt_funcs_mmx(); 325 init_sub_rel_color_pt_funcs_mmx();
332 init_sub_rel_mask_color_pt_funcs_mmx(); 326 init_sub_rel_mask_color_pt_funcs_mmx();
333#endif 327#endif
334#ifdef BUILD_C
335 init_sub_rel_pixel_span_funcs_c(); 328 init_sub_rel_pixel_span_funcs_c();
336 init_sub_rel_pixel_color_span_funcs_c(); 329 init_sub_rel_pixel_color_span_funcs_c();
337 init_sub_rel_pixel_mask_span_funcs_c(); 330 init_sub_rel_pixel_mask_span_funcs_c();
@@ -343,7 +336,6 @@ op_sub_rel_init(void)
343 init_sub_rel_pixel_mask_pt_funcs_c(); 336 init_sub_rel_pixel_mask_pt_funcs_c();
344 init_sub_rel_color_pt_funcs_c(); 337 init_sub_rel_color_pt_funcs_c();
345 init_sub_rel_mask_color_pt_funcs_c(); 338 init_sub_rel_mask_color_pt_funcs_c();
346#endif
347} 339}
348 340
349static void 341static void
@@ -364,11 +356,9 @@ sub_rel_gfx_span_func_cpu(int s, int m, int c, int d)
364 if (func) return func; 356 if (func) return func;
365 } 357 }
366#endif 358#endif
367#ifdef BUILD_C
368 cpu = CPU_C; 359 cpu = CPU_C;
369 func = op_sub_rel_span_funcs[s][m][c][d][cpu]; 360 func = op_sub_rel_span_funcs[s][m][c][d][cpu];
370 if (func) return func; 361 if (func) return func;
371#endif
372 return func; 362 return func;
373} 363}
374 364
@@ -459,11 +449,9 @@ sub_rel_gfx_pt_func_cpu(int s, int m, int c, int d)
459 if (func) return func; 449 if (func) return func;
460 } 450 }
461#endif 451#endif
462#ifdef BUILD_C
463 cpu = CPU_C; 452 cpu = CPU_C;
464 func = op_sub_rel_pt_funcs[s][m][c][d][cpu]; 453 func = op_sub_rel_pt_funcs[s][m][c][d][cpu];
465 if (func) return func; 454 if (func) return func;
466#endif
467 return func; 455 return func;
468} 456}
469 457
diff --git a/legacy/evas/src/lib/engines/common/evas_scale_smooth.c b/legacy/evas/src/lib/engines/common/evas_scale_smooth.c
index 5cb1c68609..e4dfd2cc6f 100644
--- a/legacy/evas/src/lib/engines/common/evas_scale_smooth.c
+++ b/legacy/evas/src/lib/engines/common/evas_scale_smooth.c
@@ -137,13 +137,11 @@ evas_common_scale_rgba_in_to_out_clip_smooth(RGBA_Image *src, RGBA_Image *dst,
137 dst_region_w, dst_region_h); 137 dst_region_w, dst_region_h);
138 else 138 else
139# endif 139# endif
140# ifdef BUILD_C
141 evas_common_scale_rgba_in_to_out_clip_smooth_c(src, dst, dc, 140 evas_common_scale_rgba_in_to_out_clip_smooth_c(src, dst, dc,
142 src_region_x, src_region_y, 141 src_region_x, src_region_y,
143 src_region_w, src_region_h, 142 src_region_w, src_region_h,
144 dst_region_x, dst_region_y, 143 dst_region_x, dst_region_y,
145 dst_region_w, dst_region_h); 144 dst_region_w, dst_region_h);
146# endif
147 return; 145 return;
148 } 146 }
149 /* save out clip info */ 147 /* save out clip info */