parent
261189e2e2
commit
193c21da9e
|
@ -322,4 +322,3 @@ evas_common_gfx_func_composite_pixel_mask_pt_get(Image_Entry_Flags src_flags, RG
|
|||
return func;
|
||||
return _composite_pt_nothing;
|
||||
}
|
||||
|
||||
|
|
|
@ -122,7 +122,7 @@ evas_common_copy_rev_pixels_c(DATA32 *src, DATA32 *dst, int len)
|
|||
|
||||
src += len - 1;
|
||||
while (dst < dst_end)
|
||||
*dst++ = *src--;
|
||||
*dst++ = *src--;
|
||||
}
|
||||
|
||||
#ifdef BUILD_C
|
||||
|
@ -132,7 +132,7 @@ evas_common_copy_pixels_c(DATA32 *src, DATA32 *dst, int len)
|
|||
DATA32 *dst_end = dst + len;
|
||||
|
||||
while (dst < dst_end)
|
||||
*dst++ = *src++;
|
||||
*dst++ = *src++;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -163,7 +163,7 @@ evas_common_convert_func_get(DATA8 *dest, int w, int h, int depth, DATA32 rmask,
|
|||
{
|
||||
if ((rmask == 0) && (gmask == 0) && (bmask == 0))
|
||||
{
|
||||
if (depth == 8)
|
||||
if (depth == 8)
|
||||
{
|
||||
#ifdef BUILD_CONVERT_8_RGB_332
|
||||
if (pal_mode == PAL_MODE_RGB332)
|
||||
|
@ -194,10 +194,10 @@ evas_common_convert_func_get(DATA8 *dest, int w, int h, int depth, DATA32 rmask,
|
|||
return evas_common_convert_rgba_to_8bpp_rgb_111_dith;
|
||||
#endif
|
||||
}
|
||||
if (depth == 1)
|
||||
if (depth == 1)
|
||||
{
|
||||
}
|
||||
if (depth == 4)
|
||||
if (depth == 4)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
@ -296,7 +296,7 @@ evas_common_convert_func_get(DATA8 *dest, int w, int h, int depth, DATA32 rmask,
|
|||
if ((!(w & 0x1)) && (!((intptr_t)dest & 0x3)))
|
||||
return evas_common_convert_rgba2_to_16bpp_rgb_555_dith;
|
||||
else
|
||||
return evas_common_convert_rgba_to_16bpp_rgb_555_dith;
|
||||
return evas_common_convert_rgba_to_16bpp_rgb_555_dith;
|
||||
}
|
||||
#endif
|
||||
#ifdef BUILD_CONVERT_16_RGB_ROT180
|
||||
|
@ -454,7 +454,7 @@ evas_common_convert_func_get(DATA8 *dest, int w, int h, int depth, DATA32 rmask,
|
|||
}
|
||||
#endif
|
||||
}
|
||||
if (depth == 32)
|
||||
if (depth == 32)
|
||||
{
|
||||
#ifdef BUILD_CONVERT_32_RGB_8888
|
||||
if ((rmask == 0x00ff0000) && (gmask == 0x0000ff00) && (bmask == 0x000000ff))
|
||||
|
@ -541,7 +541,7 @@ evas_common_convert_func_get(DATA8 *dest, int w, int h, int depth, DATA32 rmask,
|
|||
}
|
||||
#endif
|
||||
}
|
||||
if (depth == 24)
|
||||
if (depth == 24)
|
||||
{
|
||||
#ifdef BUILD_CONVERT_24_RGB_888
|
||||
if ((rmask == 0x00ff0000) && (gmask == 0x0000ff00) && (bmask == 0x000000ff))
|
||||
|
@ -559,7 +559,7 @@ evas_common_convert_func_get(DATA8 *dest, int w, int h, int depth, DATA32 rmask,
|
|||
#endif
|
||||
}
|
||||
printf("depth = %i mode = %i\n", depth, pal_mode);
|
||||
if (depth == 8)
|
||||
if (depth == 8)
|
||||
{
|
||||
#ifdef BUILD_CONVERT_8_RGB_332
|
||||
if (pal_mode == PAL_MODE_RGB332)
|
||||
|
@ -590,10 +590,10 @@ evas_common_convert_func_get(DATA8 *dest, int w, int h, int depth, DATA32 rmask,
|
|||
return evas_common_convert_rgba_to_8bpp_rgb_111_dith;
|
||||
#endif
|
||||
}
|
||||
if (depth == 1)
|
||||
if (depth == 1)
|
||||
{
|
||||
}
|
||||
if (depth == 4)
|
||||
if (depth == 4)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,14 +42,14 @@ evas_common_load_rgba_image_module_from_file(Image_Entry *ie)
|
|||
dot = strrchr (ie->file, '.');
|
||||
if (dot)
|
||||
{
|
||||
for (i = 0, ++dot; i < (sizeof (loaders) / sizeof (struct ext_loader_s)); ++i)
|
||||
{
|
||||
if (!strcasecmp (dot, loaders[i].extention))
|
||||
{
|
||||
loader = loaders[i].loader;
|
||||
break;
|
||||
}
|
||||
}
|
||||
for (i = 0, ++dot; i < (sizeof (loaders) / sizeof (struct ext_loader_s)); ++i)
|
||||
{
|
||||
if (!strcasecmp (dot, loaders[i].extention))
|
||||
{
|
||||
loader = loaders[i].loader;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (loader)
|
||||
|
|
|
@ -320,8 +320,8 @@ evas_common_image_surface_alpha_tiles_calc(RGBA_Surface *is, int tsize)
|
|||
/* { */
|
||||
/* if ((is->data) && (!is->no_free)) */
|
||||
/* { */
|
||||
/* free(is->data); */
|
||||
/* is->data = NULL; */
|
||||
/* free(is->data); */
|
||||
/* is->data = NULL; */
|
||||
/* } */
|
||||
/* } */
|
||||
|
||||
|
|
|
@ -611,9 +611,9 @@ _evas_draw_line_aa(RGBA_Image *dst, RGBA_Draw_Context *dc, int x0, int y0, int x
|
|||
if ((unsigned)(px) < clw)
|
||||
{
|
||||
aa = ((yy - (y << 16)) >> 8);
|
||||
if ((unsigned)(py) < clh)
|
||||
if ((unsigned)(py) < clh)
|
||||
pfunc(0, 255 - aa, color, p);
|
||||
if ((unsigned)(py + 1) < clh)
|
||||
if ((unsigned)(py + 1) < clh)
|
||||
pfunc(0, aa, color, p + dstw);
|
||||
}
|
||||
yy += dyy;
|
||||
|
|
Loading…
Reference in New Issue