summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-04-12 12:56:40 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-04-12 12:56:40 +0100
commitae77e5836634d59ab576878fb3e2577e4e5c3e78 (patch)
treec2114682965c3e417ab97935ea964b723f367e60
parentebf2ca3c5b398dc70f63e52c12105368b36e6d0e (diff)
evas - fix crash/junk pixel content but with tiled rotate at 270 + neon
@fix
-rw-r--r--src/lib/evas/common/evas_convert_rgb_32.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/evas/common/evas_convert_rgb_32.c b/src/lib/evas/common/evas_convert_rgb_32.c
index 28acdfb364..68d3a95b22 100644
--- a/src/lib/evas/common/evas_convert_rgb_32.c
+++ b/src/lib/evas/common/evas_convert_rgb_32.c
@@ -91,17 +91,17 @@ evas_common_convert_rgba_to_32bpp_rgb_8888_rot_180 (DATA32 *src, DATA8 *dst, int
91 const pix_type *s = &(src[(src_stride * (w - 1)) + y]); \ 91 const pix_type *s = &(src[(src_stride * (w - 1)) + y]); \
92 pix_type *d = &(dst[dst_stride * y]); \ 92 pix_type *d = &(dst[dst_stride * y]); \
93 const pix_type *ptr1 = s; \ 93 const pix_type *ptr1 = s; \
94 const pix_type *ptr2 = ptr1 + src_stride; \ 94 const pix_type *ptr2 = ptr1 - src_stride; \
95 const pix_type *ptr3 = ptr2 + src_stride; \ 95 const pix_type *ptr3 = ptr2 - src_stride; \
96 const pix_type *ptr4 = ptr3 + src_stride; \ 96 const pix_type *ptr4 = ptr3 - src_stride; \
97 for(x = 0; x < w; x+=4) { \ 97 for(x = 0; x < w; x += 4) { \
98 pix_type s_array[4] = { *ptr1, *ptr2, *ptr3, *ptr4 }; \ 98 pix_type s_array[4] = { *ptr1, *ptr2, *ptr3, *ptr4 }; \
99 vst1q_u32(d, vld1q_u32(s_array)); \ 99 vst1q_u32(d, vld1q_u32(s_array)); \
100 d += 4; \ 100 d += 4; \
101 ptr1 += klght; \ 101 ptr1 -= klght; \
102 ptr2 += klght; \ 102 ptr2 -= klght; \
103 ptr3 += klght; \ 103 ptr3 -= klght; \
104 ptr4 += klght; \ 104 ptr4 -= klght; \
105 } \ 105 } \
106 } \ 106 } \
107 } \ 107 } \
@@ -111,7 +111,7 @@ evas_common_convert_rgba_to_32bpp_rgb_8888_rot_180 (DATA32 *src, DATA8 *dst, int
111 pix_type *d = &(dst[dst_stride * y]); \ 111 pix_type *d = &(dst[dst_stride * y]); \
112 for (x = 0; x < w; x++) { \ 112 for (x = 0; x < w; x++) { \
113 *d++ = *s; \ 113 *d++ = *s; \
114 s += src_stride; \ 114 s -= src_stride; \
115 } \ 115 } \
116 } \ 116 } \
117 } \ 117 } \