move around - flatter.
[profile/ivi/evas.git] / src / lib / engines / common / evas_convert_color.h
1 /*
2  * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3  */
4
5 #ifndef _EVAS_CONVERT_COLOR_H
6 #define _EVAS_CONVERT_COLOR_H
7
8
9 EAPI void evas_common_convert_argb_premul                          (DATA32 *src, unsigned int len);
10 EAPI void evas_common_convert_argb_unpremul                        (DATA32 *src, unsigned int len);
11 EAPI void evas_common_convert_color_argb_premul                    (int a, int *r, int *g, int *b);
12 EAPI void evas_common_convert_color_argb_unpremul                  (int a, int *r, int *g, int *b);
13
14 EAPI void evas_common_convert_color_hsv_to_rgb                     (float h, float s, float v, int *r, int *g, int *b);
15 EAPI void evas_common_convert_color_rgb_to_hsv                     (int r, int g, int b, float *h, float *s, float *v);
16 EAPI void evas_common_convert_color_hsv_to_rgb_int                 (int h, int s, int v, int *r, int *g, int *b);
17 EAPI void evas_common_convert_color_rgb_to_hsv_int                 (int r, int g, int b, int *h, int *s, int *v);
18
19
20 #endif /* _EVAS_CONVERT_COLOR_H */