summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-11-18 11:27:24 -0500
committerChris Michael <cp.michael@samsung.com>2016-11-18 11:30:29 -0500
commit2da9ce59212bb185859ac0d21836c944f79c9cda (patch)
treecaf2ec4ad53a02364cca1fcc4d71e901b5b27c73
parent31c7303425cb571e7e0cc6550cc1f4f9c060933b (diff)
evas: Cleanup unused variables when compiling for Neon
Compiling on rpi3 indicated that there are some unused variables in the neon codepaths for several evas op functions. This patch just adds EINA_UNUSED to the function parameters where needed. NB: No functional changes Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/lib/evas/common/evas_op_blend/op_blend_pixel_neon.c12
-rw-r--r--src/lib/evas/common/evas_op_copy/op_copy_color_neon.c8
-rw-r--r--src/lib/evas/common/evas_op_copy/op_copy_mask_color_neon.c2
-rw-r--r--src/lib/evas/common/evas_op_copy/op_copy_pixel_mask_neon.c2
-rw-r--r--src/lib/evas/common/evas_op_copy/op_copy_pixel_neon.c2
5 files changed, 13 insertions, 13 deletions
diff --git a/src/lib/evas/common/evas_op_blend/op_blend_pixel_neon.c b/src/lib/evas/common/evas_op_blend/op_blend_pixel_neon.c
index 0db97be9be..a7d5cc380d 100644
--- a/src/lib/evas/common/evas_op_blend/op_blend_pixel_neon.c
+++ b/src/lib/evas/common/evas_op_blend/op_blend_pixel_neon.c
@@ -5,7 +5,7 @@
5 5
6#ifdef BUILD_NEON 6#ifdef BUILD_NEON
7static void 7static void
8_op_blend_p_dp_neon(DATA32 *s, DATA8 *m, DATA32 c, DATA32 *d, int l) { 8_op_blend_p_dp_neon(DATA32 *s, DATA8 *m EINA_UNUSED, DATA32 c, DATA32 *d, int l) {
9#ifdef BUILD_NEON_INTRINSICS 9#ifdef BUILD_NEON_INTRINSICS
10 uint16x8_t ad00_16x8; 10 uint16x8_t ad00_16x8;
11 uint16x8_t ad01_16x8; 11 uint16x8_t ad01_16x8;
@@ -364,7 +364,7 @@ _op_blend_p_dp_neon(DATA32 *s, DATA8 *m, DATA32 c, DATA32 *d, int l) {
364} 364}
365 365
366static void 366static void
367_op_blend_pas_dp_neon(DATA32 *s, DATA8 *m, DATA32 c, DATA32 *d, int l) { 367_op_blend_pas_dp_neon(DATA32 *s, DATA8 *m EINA_UNUSED, DATA32 c EINA_UNUSED, DATA32 *d, int l) {
368#ifdef BUILD_NEON_INTRINSICS 368#ifdef BUILD_NEON_INTRINSICS
369 uint16x8_t ad00_16x8; 369 uint16x8_t ad00_16x8;
370 uint16x8_t ad01_16x8; 370 uint16x8_t ad01_16x8;
@@ -712,7 +712,7 @@ init_blend_pixel_span_funcs_neon(void)
712 712
713#ifdef BUILD_NEON 713#ifdef BUILD_NEON
714static void 714static void
715_op_blend_pt_p_dp_neon(DATA32 s, DATA8 m, DATA32 c, DATA32 *d) { 715_op_blend_pt_p_dp_neon(DATA32 s, DATA8 m EINA_UNUSED, DATA32 c, DATA32 *d) {
716 c = 256 - (s >> 24); 716 c = 256 - (s >> 24);
717 *d = s + MUL_256(c, *d); 717 *d = s + MUL_256(c, *d);
718} 718}
@@ -744,7 +744,7 @@ init_blend_pixel_pt_funcs_neon(void)
744 744
745#ifdef BUILD_NEON 745#ifdef BUILD_NEON
746static void 746static void
747_op_blend_rel_p_dp_neon(DATA32 *s, DATA8 *m, DATA32 c, DATA32 *d, int l) { 747_op_blend_rel_p_dp_neon(DATA32 *s, DATA8 *m EINA_UNUSED, DATA32 c, DATA32 *d, int l) {
748 uint16x8_t cs0_16x8; 748 uint16x8_t cs0_16x8;
749 uint16x8_t cs1_16x8; 749 uint16x8_t cs1_16x8;
750 uint16x8_t ld0_16x8; 750 uint16x8_t ld0_16x8;
@@ -862,7 +862,7 @@ _op_blend_rel_p_dp_neon(DATA32 *s, DATA8 *m, DATA32 c, DATA32 *d, int l) {
862} 862}
863 863
864static void 864static void
865_op_blend_rel_pan_dp_neon(DATA32 *s, DATA8 *m, DATA32 c, DATA32 *d, int l) { 865_op_blend_rel_pan_dp_neon(DATA32 *s, DATA8 *m EINA_UNUSED, DATA32 c, DATA32 *d, int l) {
866 uint16x8_t cs0_16x8; 866 uint16x8_t cs0_16x8;
867 uint16x8_t cs1_16x8; 867 uint16x8_t cs1_16x8;
868 uint32x4_t c_32x4; 868 uint32x4_t c_32x4;
@@ -958,7 +958,7 @@ init_blend_rel_pixel_span_funcs_neon(void)
958 958
959#ifdef BUILD_NEON 959#ifdef BUILD_NEON
960static void 960static void
961_op_blend_rel_pt_p_dp_neon(DATA32 s, DATA8 m, DATA32 c, DATA32 *d) { 961_op_blend_rel_pt_p_dp_neon(DATA32 s, DATA8 m EINA_UNUSED, DATA32 c, DATA32 *d) {
962 c = 256 - (s >> 24); 962 c = 256 - (s >> 24);
963 *d = MUL_SYM(*d >> 24, s) + MUL_256(c, *d); 963 *d = MUL_SYM(*d >> 24, s) + MUL_256(c, *d);
964} 964}
diff --git a/src/lib/evas/common/evas_op_copy/op_copy_color_neon.c b/src/lib/evas/common/evas_op_copy/op_copy_color_neon.c
index 009bd750ea..007e70bba8 100644
--- a/src/lib/evas/common/evas_op_copy/op_copy_color_neon.c
+++ b/src/lib/evas/common/evas_op_copy/op_copy_color_neon.c
@@ -2,7 +2,7 @@
2 2
3#ifdef BUILD_NEON 3#ifdef BUILD_NEON
4static void 4static void
5_op_copy_c_dp_neon(DATA32 *s, DATA8 *m, DATA32 c, DATA32 *d, int l) { 5_op_copy_c_dp_neon(DATA32 *s EINA_UNUSED, DATA8 *m EINA_UNUSED, DATA32 c, DATA32 *d, int l) {
6#ifdef BUILD_NEON_INTRINSICS 6#ifdef BUILD_NEON_INTRINSICS
7 DATA32 *e; 7 DATA32 *e;
8 UNROLL8_PLD_WHILE(d, l, e, 8 UNROLL8_PLD_WHILE(d, l, e,
@@ -122,7 +122,7 @@ init_copy_color_span_funcs_neon(void)
122 122
123#ifdef BUILD_NEON 123#ifdef BUILD_NEON
124static void 124static void
125_op_copy_pt_c_dp_neon(DATA32 s, DATA8 m, DATA32 c, DATA32 *d) { 125_op_copy_pt_c_dp_neon(DATA32 s EINA_UNUSED, DATA8 m EINA_UNUSED, DATA32 c, DATA32 *d) {
126 *d = c; 126 *d = c;
127} 127}
128 128
@@ -156,7 +156,7 @@ init_copy_color_pt_funcs_neon(void)
156 156
157#ifdef BUILD_NEON 157#ifdef BUILD_NEON
158static void 158static void
159_op_copy_rel_c_dp_neon(DATA32 *s, DATA8 *m, DATA32 c, DATA32 *d, int l) { 159_op_copy_rel_c_dp_neon(DATA32 *s EINA_UNUSED, DATA8 *m EINA_UNUSED, DATA32 c, DATA32 *d, int l) {
160 // FIXME: neon-it 160 // FIXME: neon-it
161 DATA32 *e = d + l; 161 DATA32 *e = d + l;
162 for (; d < e; d++) { 162 for (; d < e; d++) {
@@ -190,7 +190,7 @@ init_copy_rel_color_span_funcs_neon(void)
190 190
191#ifdef BUILD_NEON 191#ifdef BUILD_NEON
192static void 192static void
193_op_copy_rel_pt_c_dp_neon(DATA32 s, DATA8 m, DATA32 c, DATA32 *d) { 193_op_copy_rel_pt_c_dp_neon(DATA32 s, DATA8 m EINA_UNUSED, DATA32 c, DATA32 *d) {
194 s = 1 + (*d >> 24); 194 s = 1 + (*d >> 24);
195 *d = MUL_256(s, c); 195 *d = MUL_256(s, c);
196} 196}
diff --git a/src/lib/evas/common/evas_op_copy/op_copy_mask_color_neon.c b/src/lib/evas/common/evas_op_copy/op_copy_mask_color_neon.c
index e5d6d57f9e..854c400d88 100644
--- a/src/lib/evas/common/evas_op_copy/op_copy_mask_color_neon.c
+++ b/src/lib/evas/common/evas_op_copy/op_copy_mask_color_neon.c
@@ -53,7 +53,7 @@ init_copy_mask_color_span_funcs_neon(void)
53 53
54#ifdef BUILD_NEON 54#ifdef BUILD_NEON
55static void 55static void
56_op_copy_pt_mas_c_dp_neon(DATA32 s, DATA8 m, DATA32 c, DATA32 *d) { 56_op_copy_pt_mas_c_dp_neon(DATA32 s EINA_UNUSED, DATA8 m, DATA32 c, DATA32 *d) {
57 *d = INTERP_256(m + 1, c, *d); 57 *d = INTERP_256(m + 1, c, *d);
58} 58}
59 59
diff --git a/src/lib/evas/common/evas_op_copy/op_copy_pixel_mask_neon.c b/src/lib/evas/common/evas_op_copy/op_copy_pixel_mask_neon.c
index 993e5af8ca..f6a9528a3c 100644
--- a/src/lib/evas/common/evas_op_copy/op_copy_pixel_mask_neon.c
+++ b/src/lib/evas/common/evas_op_copy/op_copy_pixel_mask_neon.c
@@ -47,7 +47,7 @@ init_copy_pixel_mask_span_funcs_neon(void)
47 47
48#ifdef BUILD_NEON 48#ifdef BUILD_NEON
49static void 49static void
50_op_copy_pt_p_mas_dp_neon(DATA32 s, DATA8 m, DATA32 c, DATA32 *d) { 50_op_copy_pt_p_mas_dp_neon(DATA32 s, DATA8 m, DATA32 c EINA_UNUSED, DATA32 *d) {
51 *d = INTERP_256(m + 1, s, *d); 51 *d = INTERP_256(m + 1, s, *d);
52} 52}
53 53
diff --git a/src/lib/evas/common/evas_op_copy/op_copy_pixel_neon.c b/src/lib/evas/common/evas_op_copy/op_copy_pixel_neon.c
index 244b585940..c2eb12dae2 100644
--- a/src/lib/evas/common/evas_op_copy/op_copy_pixel_neon.c
+++ b/src/lib/evas/common/evas_op_copy/op_copy_pixel_neon.c
@@ -98,7 +98,7 @@ init_copy_pixel_pt_funcs_neon(void)
98 98
99#ifdef BUILD_NEON 99#ifdef BUILD_NEON
100static void 100static void
101_op_copy_rel_p_dp_neon(DATA32 *s, DATA8 *m EINA_UNUSED, DATA32 c EINA_UNUSED, DATA32 *d, int l) { 101_op_copy_rel_p_dp_neon(DATA32 *s EINA_UNUSED, DATA8 *m EINA_UNUSED, DATA32 c EINA_UNUSED, DATA32 *d, int l) {
102 // FIXME: neon-it 102 // FIXME: neon-it
103 DATA32 *e; 103 DATA32 *e;
104 UNROLL8_PLD_WHILE(d, l, e, 104 UNROLL8_PLD_WHILE(d, l, e,