summaryrefslogtreecommitdiff
path: root/src/bin/evas/evas_cserve2_utils.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-06-27 16:18:40 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-07-02 16:58:10 +0900
commit48d97f7a9022d53ae82b9fff34108508cd7be7e5 (patch)
tree5c9a7b42b76b13804af4027261216fac80d08730 /src/bin/evas/evas_cserve2_utils.c
parentc39b714868be6e82daa48a04b9e223af471b86b0 (diff)
evas/cserve2: use Evas loaders from slave
Use common loaders with evas, and ignore specific modules. Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Diffstat (limited to 'src/bin/evas/evas_cserve2_utils.c')
-rw-r--r--src/bin/evas/evas_cserve2_utils.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/bin/evas/evas_cserve2_utils.c b/src/bin/evas/evas_cserve2_utils.c
index 68fa216e19..f606974f3a 100644
--- a/src/bin/evas/evas_cserve2_utils.c
+++ b/src/bin/evas/evas_cserve2_utils.c
@@ -22,6 +22,15 @@ evas_cserve2_convert_argb_premul(unsigned int *data, unsigned int len)
22 return nas; 22 return nas;
23} 23}
24 24
25Eina_Bool
26evas_cserve2_image_premul_data(unsigned int *data, unsigned int len)
27{
28 unsigned int nas;
29
30 nas = evas_cserve2_convert_argb_premul(data, len);
31 return ((ALPHA_SPARSE_INV_FRACTION * nas) >= len);
32}
33
25EAPI void 34EAPI void
26evas_cserve2_image_premul(Evas_Img_Load_Params *ilp) 35evas_cserve2_image_premul(Evas_Img_Load_Params *ilp)
27{ 36{