evas common - convert - rotate tiled - fix const ptr warnings
This commit is contained in:
parent
f43c19ac32
commit
eaf78210e8
|
@ -56,10 +56,10 @@ evas_common_convert_rgba_to_32bpp_rgb_8888_rot_180 (DATA32 *src, DATA8 *dst, int
|
|||
for (y = 0; y < h; y++) { \
|
||||
const pix_type *s = &(src[h - y - 1]); \
|
||||
pix_type *d = &(dst[dst_stride * y]); \
|
||||
pix_type *ptr1 = s; \
|
||||
pix_type *ptr2 = ptr1 + src_stride; \
|
||||
pix_type *ptr3 = ptr2 + src_stride; \
|
||||
pix_type *ptr4 = ptr3 + src_stride; \
|
||||
const pix_type *ptr1 = s; \
|
||||
const pix_type *ptr2 = ptr1 + src_stride; \
|
||||
const pix_type *ptr3 = ptr2 + src_stride; \
|
||||
const pix_type *ptr4 = ptr3 + src_stride; \
|
||||
for(x = 0; x < w; x += 4) { \
|
||||
pix_type s_array[4] = { *ptr1, *ptr2, *ptr3, *ptr4 }; \
|
||||
vst1q_s32(d, vld1q_s32(s_array)); \
|
||||
|
@ -90,10 +90,10 @@ evas_common_convert_rgba_to_32bpp_rgb_8888_rot_180 (DATA32 *src, DATA8 *dst, int
|
|||
for (y = 0; y < h; y++) { \
|
||||
const pix_type *s = &(src[(src_stride * (w - 1)) + y]); \
|
||||
pix_type *d = &(dst[dst_stride * y]); \
|
||||
pix_type *ptr1 = s; \
|
||||
pix_type *ptr2 = ptr1 + src_stride; \
|
||||
pix_type *ptr3 = ptr2 + src_stride; \
|
||||
pix_type *ptr4 = ptr3 + src_stride; \
|
||||
const pix_type *ptr1 = s; \
|
||||
const pix_type *ptr2 = ptr1 + src_stride; \
|
||||
const pix_type *ptr3 = ptr2 + src_stride; \
|
||||
const pix_type *ptr4 = ptr3 + src_stride; \
|
||||
for(x = 0; x < w; x+=4) { \
|
||||
pix_type s_array[4] = { *ptr1, *ptr2, *ptr3, *ptr4 }; \
|
||||
vst1q_s32(d, vld1q_s32(s_array)); \
|
||||
|
|
Loading…
Reference in New Issue