forked from enlightenment/efl
fix some warnings reported by llvm (see http://local.profusion.mobi:8081/~lfelipe/output-efl/)
* mainly unused parameters * in src/lib/imaging/evas_imaging.c, set font to NULL * in src/lib/canvas/evas_object_gradient.c, add unititialized member there are a *lot* of reported warnings by llvm, i'll fix them later there are also *lots* of unused parameters (compile evas with -W). I'll fix them later too SVN revision: 39172
This commit is contained in:
parent
0af29b19d6
commit
f344743dae
|
@ -468,7 +468,7 @@ evas_font_dir_available_list_free(Eina_List *available)
|
||||||
|
|
||||||
/* private stuff */
|
/* private stuff */
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
font_cache_dir_free(const Eina_Hash *hash, const void *key, void *data, void *fdata)
|
font_cache_dir_free(const Eina_Hash *hash __UNUSED__, const void *key, void *data, void *fdata __UNUSED__)
|
||||||
{
|
{
|
||||||
object_text_font_cache_dir_del((char *) key, data);
|
object_text_font_cache_dir_del((char *) key, data);
|
||||||
return 1;
|
return 1;
|
||||||
|
@ -747,7 +747,7 @@ object_text_font_cache_dir_add(char *dir)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
object_text_font_cache_dir_del(char *dir, Evas_Font_Dir *fd)
|
object_text_font_cache_dir_del(char *dir __UNUSED__, Evas_Font_Dir *fd)
|
||||||
{
|
{
|
||||||
if (fd->lookup) eina_hash_free(fd->lookup);
|
if (fd->lookup) eina_hash_free(fd->lookup);
|
||||||
while (fd->fonts)
|
while (fd->fonts)
|
||||||
|
|
|
@ -101,14 +101,14 @@ _evas_object_box_accessor_free(Evas_Object_Box_Accessor *it)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_on_child_resize(void *data, Evas *evas, Evas_Object *o, void *einfo)
|
_on_child_resize(void *data, Evas *evas __UNUSED__, Evas_Object *o __UNUSED__, void *einfo __UNUSED__)
|
||||||
{
|
{
|
||||||
Evas_Object *box = data;
|
Evas_Object *box = data;
|
||||||
evas_object_smart_changed(box);
|
evas_object_smart_changed(box);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_on_child_del(void *data, Evas *evas, Evas_Object *o, void *einfo)
|
_on_child_del(void *data, Evas *evas __UNUSED__, Evas_Object *o, void *einfo __UNUSED__)
|
||||||
{
|
{
|
||||||
const Evas_Object_Box_Api *api;
|
const Evas_Object_Box_Api *api;
|
||||||
Evas_Object *box = data;
|
Evas_Object *box = data;
|
||||||
|
@ -127,7 +127,7 @@ _on_child_del(void *data, Evas *evas, Evas_Object *o, void *einfo)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_on_child_hints_changed(void *data, Evas *evas, Evas_Object *o, void *einfo)
|
_on_child_hints_changed(void *data, Evas *evas __UNUSED__, Evas_Object *o __UNUSED__, void *einfo __UNUSED__)
|
||||||
{
|
{
|
||||||
Evas_Object *box = data;
|
Evas_Object *box = data;
|
||||||
evas_object_smart_changed(box);
|
evas_object_smart_changed(box);
|
||||||
|
@ -193,7 +193,7 @@ _evas_object_box_option_callbacks_register(Evas_Object *o, Evas_Object_Box_Data
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object_Box_Option *
|
static Evas_Object_Box_Option *
|
||||||
_evas_object_box_option_new_default(Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child)
|
_evas_object_box_option_new_default(Evas_Object *o __UNUSED__, Evas_Object_Box_Data *priv __UNUSED__, Evas_Object *child)
|
||||||
{
|
{
|
||||||
Evas_Object_Box_Option *opt;
|
Evas_Object_Box_Option *opt;
|
||||||
|
|
||||||
|
@ -207,7 +207,7 @@ _evas_object_box_option_new_default(Evas_Object *o, Evas_Object_Box_Data *priv,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_evas_object_box_option_free_default(Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object_Box_Option *opt)
|
_evas_object_box_option_free_default(Evas_Object *o __UNUSED__, Evas_Object_Box_Data *priv __UNUSED__, Evas_Object_Box_Option *opt)
|
||||||
{
|
{
|
||||||
free(opt);
|
free(opt);
|
||||||
}
|
}
|
||||||
|
@ -734,7 +734,7 @@ _evas_object_box_layout_horizontal_weight_apply(Evas_Object_Box_Data *priv, Evas
|
||||||
* @todo consider aspect hint and respect it.
|
* @todo consider aspect hint and respect it.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
evas_object_box_layout_horizontal(Evas_Object *o, Evas_Object_Box_Data *priv, void *data)
|
evas_object_box_layout_horizontal(Evas_Object *o, Evas_Object_Box_Data *priv, void *data __UNUSED__)
|
||||||
{
|
{
|
||||||
int pad_inc = 0, sub_pixel = 0;
|
int pad_inc = 0, sub_pixel = 0;
|
||||||
int req_w, global_pad, remaining, top_h = 0;
|
int req_w, global_pad, remaining, top_h = 0;
|
||||||
|
@ -897,7 +897,7 @@ _evas_object_box_layout_vertical_weight_apply(Evas_Object_Box_Data *priv, Evas_O
|
||||||
* @todo consider aspect hint and respect it.
|
* @todo consider aspect hint and respect it.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
evas_object_box_layout_vertical(Evas_Object *o, Evas_Object_Box_Data *priv, void *data)
|
evas_object_box_layout_vertical(Evas_Object *o, Evas_Object_Box_Data *priv, void *data __UNUSED__)
|
||||||
{
|
{
|
||||||
int pad_inc = 0, sub_pixel = 0;
|
int pad_inc = 0, sub_pixel = 0;
|
||||||
int req_h, global_pad, remaining, top_w = 0;
|
int req_h, global_pad, remaining, top_w = 0;
|
||||||
|
@ -1031,7 +1031,7 @@ evas_object_box_layout_vertical(Evas_Object *o, Evas_Object_Box_Data *priv, void
|
||||||
* @todo consider aspect hint and respect it.
|
* @todo consider aspect hint and respect it.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
evas_object_box_layout_homogeneous_horizontal(Evas_Object *o, Evas_Object_Box_Data *priv, void *data)
|
evas_object_box_layout_homogeneous_horizontal(Evas_Object *o, Evas_Object_Box_Data *priv, void *data __UNUSED__)
|
||||||
{
|
{
|
||||||
int cell_sz, share, inc;
|
int cell_sz, share, inc;
|
||||||
int sub_pixel = 0;
|
int sub_pixel = 0;
|
||||||
|
@ -1100,7 +1100,7 @@ evas_object_box_layout_homogeneous_horizontal(Evas_Object *o, Evas_Object_Box_Da
|
||||||
* @todo consider aspect hint and respect it.
|
* @todo consider aspect hint and respect it.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
evas_object_box_layout_homogeneous_vertical(Evas_Object *o, Evas_Object_Box_Data *priv, void *data)
|
evas_object_box_layout_homogeneous_vertical(Evas_Object *o, Evas_Object_Box_Data *priv, void *data __UNUSED__)
|
||||||
{
|
{
|
||||||
int cell_sz, share, inc;
|
int cell_sz, share, inc;
|
||||||
int sub_pixel = 0;
|
int sub_pixel = 0;
|
||||||
|
@ -1201,7 +1201,7 @@ evas_object_box_layout_homogeneous_vertical(Evas_Object *o, Evas_Object_Box_Data
|
||||||
* @todo consider aspect hint and respect it.
|
* @todo consider aspect hint and respect it.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
evas_object_box_layout_homogeneous_max_size_horizontal(Evas_Object *o, Evas_Object_Box_Data *priv, void *data)
|
evas_object_box_layout_homogeneous_max_size_horizontal(Evas_Object *o, Evas_Object_Box_Data *priv, void *data __UNUSED__)
|
||||||
{
|
{
|
||||||
int remaining, global_pad, pad_inc = 0, sub_pixel = 0;
|
int remaining, global_pad, pad_inc = 0, sub_pixel = 0;
|
||||||
int cell_sz = 0;
|
int cell_sz = 0;
|
||||||
|
@ -1294,7 +1294,7 @@ evas_object_box_layout_homogeneous_max_size_horizontal(Evas_Object *o, Evas_Obje
|
||||||
* @todo consider aspect hint and respect it.
|
* @todo consider aspect hint and respect it.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
evas_object_box_layout_homogeneous_max_size_vertical(Evas_Object *o, Evas_Object_Box_Data *priv, void *data)
|
evas_object_box_layout_homogeneous_max_size_vertical(Evas_Object *o, Evas_Object_Box_Data *priv, void *data __UNUSED__)
|
||||||
{
|
{
|
||||||
int remaining, global_pad, pad_inc = 0, sub_pixel = 0;
|
int remaining, global_pad, pad_inc = 0, sub_pixel = 0;
|
||||||
int cell_sz = 0;
|
int cell_sz = 0;
|
||||||
|
@ -1376,7 +1376,7 @@ evas_object_box_layout_homogeneous_max_size_vertical(Evas_Object *o, Evas_Object
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_evas_object_box_layout_flow_horizontal_row_info_collect(Evas_Object_Box_Data *priv, int box_w, int n_children, int *row_count, int *row_max_h, int *row_break, int *row_width, int *off_y_ret, int *max_h_ret)
|
_evas_object_box_layout_flow_horizontal_row_info_collect(Evas_Object_Box_Data *priv, int box_w, int n_children __UNUSED__, int *row_count, int *row_max_h, int *row_break, int *row_width, int *off_y_ret, int *max_h_ret)
|
||||||
{
|
{
|
||||||
int i, remain_w = box_w, start_i = 0;
|
int i, remain_w = box_w, start_i = 0;
|
||||||
int off_y = 0, max_h = 0, n_rows = 0;
|
int off_y = 0, max_h = 0, n_rows = 0;
|
||||||
|
@ -1479,7 +1479,7 @@ _evas_object_box_layout_flow_horizontal_row_info_collect(Evas_Object_Box_Data *p
|
||||||
* @todo consider aspect hint and respect it.
|
* @todo consider aspect hint and respect it.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
evas_object_box_layout_flow_horizontal(Evas_Object *o, Evas_Object_Box_Data *priv, void *data)
|
evas_object_box_layout_flow_horizontal(Evas_Object *o, Evas_Object_Box_Data *priv, void *data __UNUSED__)
|
||||||
{
|
{
|
||||||
int n_children, v_justify;
|
int n_children, v_justify;
|
||||||
int r, row_count = 0;
|
int r, row_count = 0;
|
||||||
|
@ -1577,7 +1577,7 @@ evas_object_box_layout_flow_horizontal(Evas_Object *o, Evas_Object_Box_Data *pri
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_evas_object_box_layout_flow_vertical_col_info_collect(Evas_Object_Box_Data *priv, int box_h, int n_children, int *col_count, int *col_max_w, int *col_break, int *col_height, int *off_x_ret, int *max_w_ret)
|
_evas_object_box_layout_flow_vertical_col_info_collect(Evas_Object_Box_Data *priv, int box_h, int n_children __UNUSED__, int *col_count, int *col_max_w, int *col_break, int *col_height, int *off_x_ret, int *max_w_ret)
|
||||||
{
|
{
|
||||||
int i, remain_h = box_h, start_i = 0;
|
int i, remain_h = box_h, start_i = 0;
|
||||||
int off_x = 0, max_w = 0, n_cols = 0;
|
int off_x = 0, max_w = 0, n_cols = 0;
|
||||||
|
@ -1654,7 +1654,7 @@ _evas_object_box_layout_flow_vertical_col_info_collect(Evas_Object_Box_Data *pri
|
||||||
* @todo consider aspect hint and respect it.
|
* @todo consider aspect hint and respect it.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
evas_object_box_layout_flow_vertical(Evas_Object *o, Evas_Object_Box_Data *priv, void *data)
|
evas_object_box_layout_flow_vertical(Evas_Object *o, Evas_Object_Box_Data *priv, void *data __UNUSED__)
|
||||||
{
|
{
|
||||||
int n_children, h_justify;
|
int n_children, h_justify;
|
||||||
int c, col_count;
|
int c, col_count;
|
||||||
|
@ -1775,7 +1775,7 @@ evas_object_box_layout_flow_vertical(Evas_Object *o, Evas_Object_Box_Data *priv,
|
||||||
* @todo consider aspect hint and respect it.
|
* @todo consider aspect hint and respect it.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
evas_object_box_layout_stack(Evas_Object *o, Evas_Object_Box_Data *priv, void *data)
|
evas_object_box_layout_stack(Evas_Object *o, Evas_Object_Box_Data *priv, void *data __UNUSED__)
|
||||||
{
|
{
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
Evas_Coord ox, oy, ow, oh;
|
Evas_Coord ox, oy, ow, oh;
|
||||||
|
|
|
@ -77,6 +77,7 @@ static const Evas_Object_Func object_func =
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -2758,9 +2758,10 @@ evas_object_image_data_convert_internal(Evas_Object_Image *o, void *data, Evas_C
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
evas_object_image_filled_resize_listener(void *data, Evas *e, Evas_Object *obj, void *einfo)
|
evas_object_image_filled_resize_listener(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *einfo __UNUSED__)
|
||||||
{
|
{
|
||||||
Evas_Coord w, h;
|
Evas_Coord w, h;
|
||||||
|
|
||||||
evas_object_geometry_get(obj, NULL, NULL, &w, &h);
|
evas_object_geometry_get(obj, NULL, NULL, &w, &h);
|
||||||
evas_object_image_fill_set(obj, 0, 0, w, h);
|
evas_object_image_fill_set(obj, 0, 0, w, h);
|
||||||
}
|
}
|
||||||
|
|
|
@ -468,7 +468,7 @@ evas_object_line_was_opaque(Evas_Object *obj)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
evas_object_line_is_inside(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
|
evas_object_line_is_inside(Evas_Object *obj, Evas_Coord x __UNUSED__, Evas_Coord y __UNUSED__)
|
||||||
{
|
{
|
||||||
Evas_Object_Line *o;
|
Evas_Object_Line *o;
|
||||||
|
|
||||||
|
@ -477,12 +477,10 @@ evas_object_line_is_inside(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
|
||||||
/* and other complex objects it might be */
|
/* and other complex objects it might be */
|
||||||
o = (Evas_Object_Line *)(obj->object_data);
|
o = (Evas_Object_Line *)(obj->object_data);
|
||||||
return 1;
|
return 1;
|
||||||
x = 0;
|
|
||||||
y = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
evas_object_line_was_inside(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
|
evas_object_line_was_inside(Evas_Object *obj, Evas_Coord x __UNUSED__, Evas_Coord y __UNUSED__)
|
||||||
{
|
{
|
||||||
Evas_Object_Line *o;
|
Evas_Object_Line *o;
|
||||||
|
|
||||||
|
@ -491,8 +489,6 @@ evas_object_line_was_inside(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
|
||||||
/* and other complex objects it might be */
|
/* and other complex objects it might be */
|
||||||
o = (Evas_Object_Line *)(obj->object_data);
|
o = (Evas_Object_Line *)(obj->object_data);
|
||||||
return 1;
|
return 1;
|
||||||
x = 0;
|
|
||||||
y = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -470,7 +470,7 @@ evas_object_polygon_was_opaque(Evas_Object *obj)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
evas_object_polygon_is_inside(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
|
evas_object_polygon_is_inside(Evas_Object *obj, Evas_Coord x __UNUSED__, Evas_Coord y __UNUSED__)
|
||||||
{
|
{
|
||||||
Evas_Object_Polygon *o;
|
Evas_Object_Polygon *o;
|
||||||
|
|
||||||
|
@ -479,12 +479,10 @@ evas_object_polygon_is_inside(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
|
||||||
/* and other complex objects it might be */
|
/* and other complex objects it might be */
|
||||||
o = (Evas_Object_Polygon *)(obj->object_data);
|
o = (Evas_Object_Polygon *)(obj->object_data);
|
||||||
return 1;
|
return 1;
|
||||||
x = 0;
|
|
||||||
y = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
evas_object_polygon_was_inside(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
|
evas_object_polygon_was_inside(Evas_Object *obj, Evas_Coord x __UNUSED__, Evas_Coord y __UNUSED__)
|
||||||
{
|
{
|
||||||
Evas_Object_Polygon *o;
|
Evas_Object_Polygon *o;
|
||||||
|
|
||||||
|
@ -493,6 +491,4 @@ evas_object_polygon_was_inside(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
|
||||||
/* and other complex objects it might be */
|
/* and other complex objects it might be */
|
||||||
o = (Evas_Object_Polygon *)(obj->object_data);
|
o = (Evas_Object_Polygon *)(obj->object_data);
|
||||||
return 1;
|
return 1;
|
||||||
x = 0;
|
|
||||||
y = 0;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -777,11 +777,9 @@ evas_object_smart_free(Evas_Object *obj)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
evas_object_smart_render(Evas_Object *obj, void *output, void *context, void *surface, int x, int y)
|
evas_object_smart_render(Evas_Object *obj __UNUSED__, void *output __UNUSED__, void *context __UNUSED__, void *surface __UNUSED__, int x __UNUSED__, int y __UNUSED__)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
obj = output = context = surface = NULL;
|
|
||||||
x = y = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -236,14 +236,14 @@ _evas_object_table_option_del(Evas_Object *o)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_on_child_del(void *data, Evas *evas, Evas_Object *child, void *einfo)
|
_on_child_del(void *data, Evas *evas __UNUSED__, Evas_Object *child, void *einfo __UNUSED__)
|
||||||
{
|
{
|
||||||
Evas_Object *table = data;
|
Evas_Object *table = data;
|
||||||
evas_object_table_unpack(table, child);
|
evas_object_table_unpack(table, child);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_on_child_hints_changed(void *data, Evas *evas, Evas_Object *child, void *einfo)
|
_on_child_hints_changed(void *data, Evas *evas __UNUSED__, Evas_Object *child __UNUSED__, void *einfo __UNUSED__)
|
||||||
{
|
{
|
||||||
Evas_Object *table = data;
|
Evas_Object *table = data;
|
||||||
EVAS_OBJECT_TABLE_DATA_GET_OR_RETURN(table, priv);
|
EVAS_OBJECT_TABLE_DATA_GET_OR_RETURN(table, priv);
|
||||||
|
|
|
@ -1522,7 +1522,7 @@ _layout_line_advance(Ctxt *c, Evas_Object_Textblock_Format *fmt)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object_Textblock_Item *
|
static Evas_Object_Textblock_Item *
|
||||||
_layout_item_new(Ctxt *c, Evas_Object_Textblock_Format *fmt, char *str)
|
_layout_item_new(Ctxt *c __UNUSED__, Evas_Object_Textblock_Format *fmt, char *str)
|
||||||
{
|
{
|
||||||
Evas_Object_Textblock_Item *it;
|
Evas_Object_Textblock_Item *it;
|
||||||
|
|
||||||
|
@ -1551,7 +1551,7 @@ _layout_text_cutoff_get(Ctxt *c, Evas_Object_Textblock_Format *fmt, Evas_Object_
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_layout_item_text_cutoff(Ctxt *c, Evas_Object_Textblock_Item *it, int cut)
|
_layout_item_text_cutoff(Ctxt *c __UNUSED__, Evas_Object_Textblock_Item *it, int cut)
|
||||||
{
|
{
|
||||||
char *ts;
|
char *ts;
|
||||||
|
|
||||||
|
@ -1605,7 +1605,7 @@ _layout_ends_with_space(char *str)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_layout_strip_trailing_whitespace(Ctxt *c, Evas_Object_Textblock_Format *fmt, Evas_Object_Textblock_Item *it)
|
_layout_strip_trailing_whitespace(Ctxt *c, Evas_Object_Textblock_Format *fmt __UNUSED__, Evas_Object_Textblock_Item *it)
|
||||||
{
|
{
|
||||||
int p, tp, chr, adv, tw, th;
|
int p, tp, chr, adv, tw, th;
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#ifdef BUILD_CONVERT_24_RGB_888
|
#ifdef BUILD_CONVERT_24_RGB_888
|
||||||
void
|
void
|
||||||
evas_common_convert_rgba_to_24bpp_rgb_888(DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal)
|
evas_common_convert_rgba_to_24bpp_rgb_888(DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x __UNUSED__, int dith_y __UNUSED__, DATA8 *pal __UNUSED__)
|
||||||
{
|
{
|
||||||
DATA32 *src_ptr;
|
DATA32 *src_ptr;
|
||||||
DATA8 *dst_ptr;
|
DATA8 *dst_ptr;
|
||||||
|
@ -30,14 +30,11 @@ evas_common_convert_rgba_to_24bpp_rgb_888(DATA32 *src, DATA8 *dst, int src_jump,
|
||||||
dst_ptr += (dst_jump * 3);
|
dst_ptr += (dst_jump * 3);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
pal = 0;
|
|
||||||
dith_x = 0;
|
|
||||||
dith_y = 0;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef BUILD_CONVERT_24_BGR_888
|
#ifdef BUILD_CONVERT_24_BGR_888
|
||||||
void
|
void
|
||||||
evas_common_convert_rgba_to_24bpp_bgr_888(DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal)
|
evas_common_convert_rgba_to_24bpp_bgr_888(DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x __UNUSED__, int dith_y __UNUSED__, DATA8 *pal __UNUSED__)
|
||||||
{
|
{
|
||||||
DATA32 *src_ptr;
|
DATA32 *src_ptr;
|
||||||
DATA8 *dst_ptr;
|
DATA8 *dst_ptr;
|
||||||
|
@ -60,8 +57,5 @@ evas_common_convert_rgba_to_24bpp_bgr_888(DATA32 *src, DATA8 *dst, int src_jump,
|
||||||
dst_ptr += (dst_jump * 3);
|
dst_ptr += (dst_jump * 3);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
pal = 0;
|
|
||||||
dith_x = 0;
|
|
||||||
dith_y = 0;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#ifdef BUILD_CONVERT_32_RGB_8888
|
#ifdef BUILD_CONVERT_32_RGB_8888
|
||||||
#ifdef BUILD_CONVERT_32_RGB_ROT0
|
#ifdef BUILD_CONVERT_32_RGB_ROT0
|
||||||
void
|
void
|
||||||
evas_common_convert_rgba_to_32bpp_rgb_8888 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal)
|
evas_common_convert_rgba_to_32bpp_rgb_8888 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x __UNUSED__, int dith_y __UNUSED__, DATA8 *pal __UNUSED__)
|
||||||
{
|
{
|
||||||
DATA32 *src_ptr;
|
DATA32 *src_ptr;
|
||||||
DATA32 *dst_ptr;
|
DATA32 *dst_ptr;
|
||||||
|
@ -27,9 +27,6 @@ evas_common_convert_rgba_to_32bpp_rgb_8888 (DATA32 *src, DATA8 *dst, int src_jum
|
||||||
dst_ptr += w + dst_jump;
|
dst_ptr += w + dst_jump;
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
pal = 0;
|
|
||||||
dith_x = 0;
|
|
||||||
dith_y = 0;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -37,7 +34,7 @@ evas_common_convert_rgba_to_32bpp_rgb_8888 (DATA32 *src, DATA8 *dst, int src_jum
|
||||||
#ifdef BUILD_CONVERT_32_RGB_8888
|
#ifdef BUILD_CONVERT_32_RGB_8888
|
||||||
#ifdef BUILD_CONVERT_32_RGB_ROT180
|
#ifdef BUILD_CONVERT_32_RGB_ROT180
|
||||||
void
|
void
|
||||||
evas_common_convert_rgba_to_32bpp_rgb_8888_rot_180 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal)
|
evas_common_convert_rgba_to_32bpp_rgb_8888_rot_180 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x __UNUSED__, int dith_y __UNUSED__, DATA8 *pal __UNUSED__)
|
||||||
{
|
{
|
||||||
DATA32 *src_ptr;
|
DATA32 *src_ptr;
|
||||||
DATA32 *dst_ptr;
|
DATA32 *dst_ptr;
|
||||||
|
@ -51,9 +48,6 @@ evas_common_convert_rgba_to_32bpp_rgb_8888_rot_180 (DATA32 *src, DATA8 *dst, int
|
||||||
|
|
||||||
CONVERT_LOOP_END_ROT_180();
|
CONVERT_LOOP_END_ROT_180();
|
||||||
return;
|
return;
|
||||||
pal = 0;
|
|
||||||
dith_x = 0;
|
|
||||||
dith_y = 0;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -61,7 +55,7 @@ evas_common_convert_rgba_to_32bpp_rgb_8888_rot_180 (DATA32 *src, DATA8 *dst, int
|
||||||
#ifdef BUILD_CONVERT_32_RGB_8888
|
#ifdef BUILD_CONVERT_32_RGB_8888
|
||||||
#ifdef BUILD_CONVERT_32_RGB_ROT270
|
#ifdef BUILD_CONVERT_32_RGB_ROT270
|
||||||
void
|
void
|
||||||
evas_common_convert_rgba_to_32bpp_rgb_8888_rot_270 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal)
|
evas_common_convert_rgba_to_32bpp_rgb_8888_rot_270 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x __UNUSED__, int dith_y __UNUSED__, DATA8 *pal __UNUSED__)
|
||||||
{
|
{
|
||||||
DATA32 *src_ptr;
|
DATA32 *src_ptr;
|
||||||
DATA32 *dst_ptr;
|
DATA32 *dst_ptr;
|
||||||
|
@ -75,9 +69,6 @@ evas_common_convert_rgba_to_32bpp_rgb_8888_rot_270 (DATA32 *src, DATA8 *dst, int
|
||||||
|
|
||||||
CONVERT_LOOP_END_ROT_270();
|
CONVERT_LOOP_END_ROT_270();
|
||||||
return;
|
return;
|
||||||
pal = 0;
|
|
||||||
dith_x = 0;
|
|
||||||
dith_y = 0;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -85,7 +76,7 @@ evas_common_convert_rgba_to_32bpp_rgb_8888_rot_270 (DATA32 *src, DATA8 *dst, int
|
||||||
#ifdef BUILD_CONVERT_32_RGB_8888
|
#ifdef BUILD_CONVERT_32_RGB_8888
|
||||||
#ifdef BUILD_CONVERT_32_RGB_ROT90
|
#ifdef BUILD_CONVERT_32_RGB_ROT90
|
||||||
void
|
void
|
||||||
evas_common_convert_rgba_to_32bpp_rgb_8888_rot_90 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal)
|
evas_common_convert_rgba_to_32bpp_rgb_8888_rot_90 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x __UNUSED__, int dith_y __UNUSED__, DATA8 *pal __UNUSED__)
|
||||||
{
|
{
|
||||||
DATA32 *src_ptr;
|
DATA32 *src_ptr;
|
||||||
DATA32 *dst_ptr;
|
DATA32 *dst_ptr;
|
||||||
|
@ -99,9 +90,6 @@ evas_common_convert_rgba_to_32bpp_rgb_8888_rot_90 (DATA32 *src, DATA8 *dst, int
|
||||||
|
|
||||||
CONVERT_LOOP_END_ROT_90();
|
CONVERT_LOOP_END_ROT_90();
|
||||||
return;
|
return;
|
||||||
pal = 0;
|
|
||||||
dith_x = 0;
|
|
||||||
dith_y = 0;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -109,7 +97,7 @@ evas_common_convert_rgba_to_32bpp_rgb_8888_rot_90 (DATA32 *src, DATA8 *dst, int
|
||||||
#ifdef BUILD_CONVERT_32_RGBX_8888
|
#ifdef BUILD_CONVERT_32_RGBX_8888
|
||||||
#ifdef BUILD_CONVERT_32_RGB_ROT0
|
#ifdef BUILD_CONVERT_32_RGB_ROT0
|
||||||
void
|
void
|
||||||
evas_common_convert_rgba_to_32bpp_rgbx_8888 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal)
|
evas_common_convert_rgba_to_32bpp_rgbx_8888 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x __UNUSED__, int dith_y __UNUSED__, DATA8 *pal __UNUSED__)
|
||||||
{
|
{
|
||||||
DATA32 *src_ptr;
|
DATA32 *src_ptr;
|
||||||
DATA32 *dst_ptr;
|
DATA32 *dst_ptr;
|
||||||
|
@ -124,9 +112,6 @@ evas_common_convert_rgba_to_32bpp_rgbx_8888 (DATA32 *src, DATA8 *dst, int src_ju
|
||||||
|
|
||||||
CONVERT_LOOP_END_ROT_0();
|
CONVERT_LOOP_END_ROT_0();
|
||||||
return;
|
return;
|
||||||
pal = 0;
|
|
||||||
dith_x = 0;
|
|
||||||
dith_y = 0;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -134,7 +119,7 @@ evas_common_convert_rgba_to_32bpp_rgbx_8888 (DATA32 *src, DATA8 *dst, int src_ju
|
||||||
#ifdef BUILD_CONVERT_32_RGBX_8888
|
#ifdef BUILD_CONVERT_32_RGBX_8888
|
||||||
#ifdef BUILD_CONVERT_32_RGB_ROT180
|
#ifdef BUILD_CONVERT_32_RGB_ROT180
|
||||||
void
|
void
|
||||||
evas_common_convert_rgba_to_32bpp_rgbx_8888_rot_180 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal)
|
evas_common_convert_rgba_to_32bpp_rgbx_8888_rot_180 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x __UNUSED__, int dith_y __UNUSED__, DATA8 *pal __UNUSED__)
|
||||||
{
|
{
|
||||||
DATA32 *src_ptr;
|
DATA32 *src_ptr;
|
||||||
DATA32 *dst_ptr;
|
DATA32 *dst_ptr;
|
||||||
|
@ -149,9 +134,6 @@ evas_common_convert_rgba_to_32bpp_rgbx_8888_rot_180 (DATA32 *src, DATA8 *dst, in
|
||||||
|
|
||||||
CONVERT_LOOP_END_ROT_180();
|
CONVERT_LOOP_END_ROT_180();
|
||||||
return;
|
return;
|
||||||
pal = 0;
|
|
||||||
dith_x = 0;
|
|
||||||
dith_y = 0;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -159,7 +141,7 @@ evas_common_convert_rgba_to_32bpp_rgbx_8888_rot_180 (DATA32 *src, DATA8 *dst, in
|
||||||
#ifdef BUILD_CONVERT_32_RGBX_8888
|
#ifdef BUILD_CONVERT_32_RGBX_8888
|
||||||
#ifdef BUILD_CONVERT_32_RGB_ROT270
|
#ifdef BUILD_CONVERT_32_RGB_ROT270
|
||||||
void
|
void
|
||||||
evas_common_convert_rgba_to_32bpp_rgbx_8888_rot_270 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal)
|
evas_common_convert_rgba_to_32bpp_rgbx_8888_rot_270 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x __UNUSED__, int dith_y __UNUSED__, DATA8 *pal __UNUSED__)
|
||||||
{
|
{
|
||||||
DATA32 *src_ptr;
|
DATA32 *src_ptr;
|
||||||
DATA32 *dst_ptr;
|
DATA32 *dst_ptr;
|
||||||
|
@ -174,9 +156,6 @@ evas_common_convert_rgba_to_32bpp_rgbx_8888_rot_270 (DATA32 *src, DATA8 *dst, in
|
||||||
|
|
||||||
CONVERT_LOOP_END_ROT_270();
|
CONVERT_LOOP_END_ROT_270();
|
||||||
return;
|
return;
|
||||||
pal = 0;
|
|
||||||
dith_x = 0;
|
|
||||||
dith_y = 0;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -184,7 +163,7 @@ evas_common_convert_rgba_to_32bpp_rgbx_8888_rot_270 (DATA32 *src, DATA8 *dst, in
|
||||||
#ifdef BUILD_CONVERT_32_RGBX_8888
|
#ifdef BUILD_CONVERT_32_RGBX_8888
|
||||||
#ifdef BUILD_CONVERT_32_RGB_ROT90
|
#ifdef BUILD_CONVERT_32_RGB_ROT90
|
||||||
void
|
void
|
||||||
evas_common_convert_rgba_to_32bpp_rgbx_8888_rot_90 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal)
|
evas_common_convert_rgba_to_32bpp_rgbx_8888_rot_90 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x __UNUSED__, int dith_y __UNUSED__, DATA8 *pal __UNUSED__)
|
||||||
{
|
{
|
||||||
DATA32 *src_ptr;
|
DATA32 *src_ptr;
|
||||||
DATA32 *dst_ptr;
|
DATA32 *dst_ptr;
|
||||||
|
@ -199,9 +178,6 @@ evas_common_convert_rgba_to_32bpp_rgbx_8888_rot_90 (DATA32 *src, DATA8 *dst, int
|
||||||
|
|
||||||
CONVERT_LOOP_END_ROT_90();
|
CONVERT_LOOP_END_ROT_90();
|
||||||
return;
|
return;
|
||||||
pal = 0;
|
|
||||||
dith_x = 0;
|
|
||||||
dith_y = 0;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -209,7 +185,7 @@ evas_common_convert_rgba_to_32bpp_rgbx_8888_rot_90 (DATA32 *src, DATA8 *dst, int
|
||||||
#ifdef BUILD_CONVERT_32_BGR_8888
|
#ifdef BUILD_CONVERT_32_BGR_8888
|
||||||
#ifdef BUILD_CONVERT_32_RGB_ROT0
|
#ifdef BUILD_CONVERT_32_RGB_ROT0
|
||||||
void
|
void
|
||||||
evas_common_convert_rgba_to_32bpp_bgr_8888 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal)
|
evas_common_convert_rgba_to_32bpp_bgr_8888 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x __UNUSED__, int dith_y __UNUSED__, DATA8 *pal __UNUSED__)
|
||||||
{
|
{
|
||||||
DATA32 *src_ptr;
|
DATA32 *src_ptr;
|
||||||
DATA32 *dst_ptr;
|
DATA32 *dst_ptr;
|
||||||
|
@ -223,9 +199,6 @@ evas_common_convert_rgba_to_32bpp_bgr_8888 (DATA32 *src, DATA8 *dst, int src_jum
|
||||||
|
|
||||||
CONVERT_LOOP_END_ROT_0();
|
CONVERT_LOOP_END_ROT_0();
|
||||||
return;
|
return;
|
||||||
pal = 0;
|
|
||||||
dith_x = 0;
|
|
||||||
dith_y = 0;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -233,7 +206,7 @@ evas_common_convert_rgba_to_32bpp_bgr_8888 (DATA32 *src, DATA8 *dst, int src_jum
|
||||||
#ifdef BUILD_CONVERT_32_BGR_8888
|
#ifdef BUILD_CONVERT_32_BGR_8888
|
||||||
#ifdef BUILD_CONVERT_32_RGB_ROT180
|
#ifdef BUILD_CONVERT_32_RGB_ROT180
|
||||||
void
|
void
|
||||||
evas_common_convert_rgba_to_32bpp_bgr_8888_rot_180 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal)
|
evas_common_convert_rgba_to_32bpp_bgr_8888_rot_180 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x __UNUSED__, int dith_y __UNUSED__, DATA8 *pal __UNUSED__)
|
||||||
{
|
{
|
||||||
DATA32 *src_ptr;
|
DATA32 *src_ptr;
|
||||||
DATA32 *dst_ptr;
|
DATA32 *dst_ptr;
|
||||||
|
@ -247,9 +220,6 @@ evas_common_convert_rgba_to_32bpp_bgr_8888_rot_180 (DATA32 *src, DATA8 *dst, int
|
||||||
|
|
||||||
CONVERT_LOOP_END_ROT_180();
|
CONVERT_LOOP_END_ROT_180();
|
||||||
return;
|
return;
|
||||||
pal = 0;
|
|
||||||
dith_x = 0;
|
|
||||||
dith_y = 0;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -257,7 +227,7 @@ evas_common_convert_rgba_to_32bpp_bgr_8888_rot_180 (DATA32 *src, DATA8 *dst, int
|
||||||
#ifdef BUILD_CONVERT_32_BGR_8888
|
#ifdef BUILD_CONVERT_32_BGR_8888
|
||||||
#ifdef BUILD_CONVERT_32_RGB_ROT270
|
#ifdef BUILD_CONVERT_32_RGB_ROT270
|
||||||
void
|
void
|
||||||
evas_common_convert_rgba_to_32bpp_bgr_8888_rot_270 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal)
|
evas_common_convert_rgba_to_32bpp_bgr_8888_rot_270 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x __UNUSED__, int dith_y __UNUSED__, DATA8 *pal __UNUSED__)
|
||||||
{
|
{
|
||||||
DATA32 *src_ptr;
|
DATA32 *src_ptr;
|
||||||
DATA32 *dst_ptr;
|
DATA32 *dst_ptr;
|
||||||
|
@ -271,9 +241,6 @@ evas_common_convert_rgba_to_32bpp_bgr_8888_rot_270 (DATA32 *src, DATA8 *dst, int
|
||||||
|
|
||||||
CONVERT_LOOP_END_ROT_270();
|
CONVERT_LOOP_END_ROT_270();
|
||||||
return;
|
return;
|
||||||
pal = 0;
|
|
||||||
dith_x = 0;
|
|
||||||
dith_y = 0;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -281,7 +248,7 @@ evas_common_convert_rgba_to_32bpp_bgr_8888_rot_270 (DATA32 *src, DATA8 *dst, int
|
||||||
#ifdef BUILD_CONVERT_32_BGR_8888
|
#ifdef BUILD_CONVERT_32_BGR_8888
|
||||||
#ifdef BUILD_CONVERT_32_RGB_ROT90
|
#ifdef BUILD_CONVERT_32_RGB_ROT90
|
||||||
void
|
void
|
||||||
evas_common_convert_rgba_to_32bpp_bgr_8888_rot_90 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal)
|
evas_common_convert_rgba_to_32bpp_bgr_8888_rot_90 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x __UNUSED__, int dith_y __UNUSED__, DATA8 *pal __UNUSED__)
|
||||||
{
|
{
|
||||||
DATA32 *src_ptr;
|
DATA32 *src_ptr;
|
||||||
DATA32 *dst_ptr;
|
DATA32 *dst_ptr;
|
||||||
|
@ -295,9 +262,6 @@ evas_common_convert_rgba_to_32bpp_bgr_8888_rot_90 (DATA32 *src, DATA8 *dst, int
|
||||||
|
|
||||||
CONVERT_LOOP_END_ROT_90();
|
CONVERT_LOOP_END_ROT_90();
|
||||||
return;
|
return;
|
||||||
pal = 0;
|
|
||||||
dith_x = 0;
|
|
||||||
dith_y = 0;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -305,7 +269,7 @@ evas_common_convert_rgba_to_32bpp_bgr_8888_rot_90 (DATA32 *src, DATA8 *dst, int
|
||||||
#ifdef BUILD_CONVERT_32_BGRX_8888
|
#ifdef BUILD_CONVERT_32_BGRX_8888
|
||||||
#ifdef BUILD_CONVERT_32_RGB_ROT0
|
#ifdef BUILD_CONVERT_32_RGB_ROT0
|
||||||
void
|
void
|
||||||
evas_common_convert_rgba_to_32bpp_bgrx_8888 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal)
|
evas_common_convert_rgba_to_32bpp_bgrx_8888 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x __UNUSED__, int dith_y __UNUSED__, DATA8 *pal __UNUSED__)
|
||||||
{
|
{
|
||||||
DATA32 *src_ptr;
|
DATA32 *src_ptr;
|
||||||
DATA32 *dst_ptr;
|
DATA32 *dst_ptr;
|
||||||
|
@ -319,9 +283,6 @@ evas_common_convert_rgba_to_32bpp_bgrx_8888 (DATA32 *src, DATA8 *dst, int src_ju
|
||||||
|
|
||||||
CONVERT_LOOP_END_ROT_0();
|
CONVERT_LOOP_END_ROT_0();
|
||||||
return;
|
return;
|
||||||
pal = 0;
|
|
||||||
dith_x = 0;
|
|
||||||
dith_y = 0;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -329,7 +290,7 @@ evas_common_convert_rgba_to_32bpp_bgrx_8888 (DATA32 *src, DATA8 *dst, int src_ju
|
||||||
#ifdef BUILD_CONVERT_32_BGRX_8888
|
#ifdef BUILD_CONVERT_32_BGRX_8888
|
||||||
#ifdef BUILD_CONVERT_32_RGB_ROT180
|
#ifdef BUILD_CONVERT_32_RGB_ROT180
|
||||||
void
|
void
|
||||||
evas_common_convert_rgba_to_32bpp_bgrx_8888_rot_180 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal)
|
evas_common_convert_rgba_to_32bpp_bgrx_8888_rot_180 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x __UNUSED__, int dith_y __UNUSED__, DATA8 *pal __UNUSED__)
|
||||||
{
|
{
|
||||||
DATA32 *src_ptr;
|
DATA32 *src_ptr;
|
||||||
DATA32 *dst_ptr;
|
DATA32 *dst_ptr;
|
||||||
|
@ -343,9 +304,6 @@ evas_common_convert_rgba_to_32bpp_bgrx_8888_rot_180 (DATA32 *src, DATA8 *dst, in
|
||||||
|
|
||||||
CONVERT_LOOP_END_ROT_180();
|
CONVERT_LOOP_END_ROT_180();
|
||||||
return;
|
return;
|
||||||
pal = 0;
|
|
||||||
dith_x = 0;
|
|
||||||
dith_y = 0;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -353,7 +311,7 @@ evas_common_convert_rgba_to_32bpp_bgrx_8888_rot_180 (DATA32 *src, DATA8 *dst, in
|
||||||
#ifdef BUILD_CONVERT_32_BGRX_8888
|
#ifdef BUILD_CONVERT_32_BGRX_8888
|
||||||
#ifdef BUILD_CONVERT_32_RGB_ROT270
|
#ifdef BUILD_CONVERT_32_RGB_ROT270
|
||||||
void
|
void
|
||||||
evas_common_convert_rgba_to_32bpp_bgrx_8888_rot_270 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal)
|
evas_common_convert_rgba_to_32bpp_bgrx_8888_rot_270 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x __UNUSED__, int dith_y __UNUSED__, DATA8 *pal __UNUSED__)
|
||||||
{
|
{
|
||||||
DATA32 *src_ptr;
|
DATA32 *src_ptr;
|
||||||
DATA32 *dst_ptr;
|
DATA32 *dst_ptr;
|
||||||
|
@ -367,9 +325,6 @@ evas_common_convert_rgba_to_32bpp_bgrx_8888_rot_270 (DATA32 *src, DATA8 *dst, in
|
||||||
|
|
||||||
CONVERT_LOOP_END_ROT_270();
|
CONVERT_LOOP_END_ROT_270();
|
||||||
return;
|
return;
|
||||||
pal = 0;
|
|
||||||
dith_x = 0;
|
|
||||||
dith_y = 0;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -377,7 +332,7 @@ evas_common_convert_rgba_to_32bpp_bgrx_8888_rot_270 (DATA32 *src, DATA8 *dst, in
|
||||||
#ifdef BUILD_CONVERT_32_BGRX_8888
|
#ifdef BUILD_CONVERT_32_BGRX_8888
|
||||||
#ifdef BUILD_CONVERT_32_RGB_ROT90
|
#ifdef BUILD_CONVERT_32_RGB_ROT90
|
||||||
void
|
void
|
||||||
evas_common_convert_rgba_to_32bpp_bgrx_8888_rot_90 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal)
|
evas_common_convert_rgba_to_32bpp_bgrx_8888_rot_90 (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x __UNUSED__, int dith_y __UNUSED__, DATA8 *pal __UNUSED__)
|
||||||
{
|
{
|
||||||
DATA32 *src_ptr;
|
DATA32 *src_ptr;
|
||||||
DATA32 *dst_ptr;
|
DATA32 *dst_ptr;
|
||||||
|
@ -391,9 +346,6 @@ evas_common_convert_rgba_to_32bpp_bgrx_8888_rot_90 (DATA32 *src, DATA8 *dst, int
|
||||||
|
|
||||||
CONVERT_LOOP_END_ROT_90();
|
CONVERT_LOOP_END_ROT_90();
|
||||||
return;
|
return;
|
||||||
pal = 0;
|
|
||||||
dith_x = 0;
|
|
||||||
dith_y = 0;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -22,13 +22,13 @@ static void evas_common_cpu_catch_ill(int sig);
|
||||||
static void evas_common_cpu_catch_segv(int sig);
|
static void evas_common_cpu_catch_segv(int sig);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
evas_common_cpu_catch_ill(int sig)
|
evas_common_cpu_catch_ill(int sig __UNUSED__)
|
||||||
{
|
{
|
||||||
siglongjmp(detect_buf, 1);
|
siglongjmp(detect_buf, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
evas_common_cpu_catch_segv(int sig)
|
evas_common_cpu_catch_segv(int sig __UNUSED__)
|
||||||
{
|
{
|
||||||
siglongjmp(detect_buf, 1);
|
siglongjmp(detect_buf, 1);
|
||||||
}
|
}
|
||||||
|
|
|
@ -139,13 +139,13 @@ evas_common_font_size_use(RGBA_Font *fn)
|
||||||
}
|
}
|
||||||
|
|
||||||
static unsigned int
|
static unsigned int
|
||||||
_evas_common_font_int_length(const void *key)
|
_evas_common_font_int_length(const void *key __UNUSED__)
|
||||||
{
|
{
|
||||||
return sizeof (int);
|
return sizeof (int);
|
||||||
}
|
}
|
||||||
|
|
||||||
static unsigned int
|
static unsigned int
|
||||||
_evas_common_font_double_int_length(const void *key)
|
_evas_common_font_double_int_length(const void *key __UNUSED__)
|
||||||
{
|
{
|
||||||
return sizeof (int) * 2;
|
return sizeof (int) * 2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,7 +68,7 @@ evas_common_rgba_image_from_copied_data(Image_Entry* ie_dst, int w, int h, DATA3
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
evas_common_rgba_image_size_set(Image_Entry *ie_dst, const Image_Entry *ie_im, int w, int h)
|
evas_common_rgba_image_size_set(Image_Entry *ie_dst, const Image_Entry *ie_im, int w, int h __UNUSED__)
|
||||||
{
|
{
|
||||||
RGBA_Image *dst = (RGBA_Image *) ie_dst;
|
RGBA_Image *dst = (RGBA_Image *) ie_dst;
|
||||||
RGBA_Image *im = (RGBA_Image *) ie_im;
|
RGBA_Image *im = (RGBA_Image *) ie_im;
|
||||||
|
|
|
@ -203,12 +203,12 @@ _evas_common_rgba_image_surface_delete(Image_Entry *ie)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_evas_common_rgba_image_unload(Image_Entry* im)
|
_evas_common_rgba_image_unload(Image_Entry* im __UNUSED__)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_evas_common_rgba_image_dirty_region(Image_Entry* ie, int x, int y, int w, int h)
|
_evas_common_rgba_image_dirty_region(Image_Entry* ie, int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__)
|
||||||
{
|
{
|
||||||
RGBA_Image *im = (RGBA_Image *) ie;
|
RGBA_Image *im = (RGBA_Image *) ie;
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#include "evas_scale_span.h"
|
#include "evas_scale_span.h"
|
||||||
|
|
||||||
static void
|
static void
|
||||||
evas_common_scale_rgba_span_(DATA32 *src, DATA8 *mask, int src_len, DATA32 mul_col, DATA32 *dst, int dst_len, int dir)
|
evas_common_scale_rgba_span_(DATA32 *src, DATA8 *mask __UNUSED__, int src_len, DATA32 mul_col, DATA32 *dst, int dst_len, int dir)
|
||||||
{
|
{
|
||||||
int mul = 0, step = 1;
|
int mul = 0, step = 1;
|
||||||
DATA32 *pdst = dst;
|
DATA32 *pdst = dst;
|
||||||
|
@ -238,7 +238,7 @@ evas_common_scale_rgba_a8_span_(DATA32 *src, DATA8 *mask, int src_len, DATA32 mu
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
evas_common_scale_a8_span_(DATA32 *src, DATA8 *mask, int src_len, DATA32 mul_col, DATA32 *dst, int dst_len, int dir)
|
evas_common_scale_a8_span_(DATA32 *src __UNUSED__, DATA8 *mask, int src_len, DATA32 mul_col, DATA32 *dst, int dst_len, int dir)
|
||||||
{
|
{
|
||||||
int step = 1;
|
int step = 1;
|
||||||
DATA32 *pdst = dst;
|
DATA32 *pdst = dst;
|
||||||
|
@ -313,7 +313,7 @@ evas_common_scale_a8_span_(DATA32 *src, DATA8 *mask, int src_len, DATA32 mul_col
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
evas_common_scale_clip_a8_span_(DATA32 *src, DATA8 *mask, int src_len, DATA32 mul_col, DATA32 *dst, int dst_len, int dir)
|
evas_common_scale_clip_a8_span_(DATA32 *src __UNUSED__, DATA8 *mask, int src_len, DATA32 mul_col, DATA32 *dst, int dst_len, int dir)
|
||||||
{
|
{
|
||||||
int mul = 0, step = 1;
|
int mul = 0, step = 1;
|
||||||
DATA32 *pdst = dst;
|
DATA32 *pdst = dst;
|
||||||
|
@ -480,7 +480,7 @@ evas_common_scale_clip_a8_span(DATA32 *src, DATA8 *mask, int src_len, DATA32 mul
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
evas_common_scale_hsva_span(DATA32 *src, DATA8 *mask, int src_len, DATA32 mul_col, DATA32 *dst, int dst_len, int dir)
|
evas_common_scale_hsva_span(DATA32 *src, DATA8 *mask __UNUSED__, int src_len, DATA32 mul_col, DATA32 *dst, int dst_len, int dir)
|
||||||
{
|
{
|
||||||
int mul = 0, step = 1;
|
int mul = 0, step = 1;
|
||||||
DATA32 *pdst = dst;
|
DATA32 *pdst = dst;
|
||||||
|
|
|
@ -1053,7 +1053,7 @@ evas_common_tilebuf_del_redraw(Tilebuf *tb, int x, int y, int w, int h)
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI int
|
EAPI int
|
||||||
evas_common_tilebuf_add_motion_vector(Tilebuf *tb, int x, int y, int w, int h, int dx, int dy, int alpha)
|
evas_common_tilebuf_add_motion_vector(Tilebuf *tb, int x, int y, int w, int h, int dx, int dy, int alpha __UNUSED__)
|
||||||
{
|
{
|
||||||
#ifdef EVAS_RECT_SPLIT
|
#ifdef EVAS_RECT_SPLIT
|
||||||
list_t lr = list_zeroed;
|
list_t lr = list_zeroed;
|
||||||
|
|
|
@ -91,7 +91,7 @@ EAPI Evas_Imaging_Font *
|
||||||
evas_imaging_font_load(const char *file, const char *key, int size)
|
evas_imaging_font_load(const char *file, const char *key, int size)
|
||||||
{
|
{
|
||||||
Evas_Imaging_Font *fn;
|
Evas_Imaging_Font *fn;
|
||||||
RGBA_Font *font;
|
RGBA_Font *font = NULL;
|
||||||
|
|
||||||
evas_common_cpu_init();
|
evas_common_cpu_init();
|
||||||
evas_common_font_init();
|
evas_common_font_init();
|
||||||
|
|
Loading…
Reference in New Issue