diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/evas/src/lib/engines/common/evas_convert_grypal_6.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/libraries/evas/src/lib/engines/common/evas_convert_grypal_6.c b/libraries/evas/src/lib/engines/common/evas_convert_grypal_6.c deleted file mode 100644 index 2351fda..0000000 --- a/libraries/evas/src/lib/engines/common/evas_convert_grypal_6.c +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | #include "evas_common.h" | ||
2 | #include "evas_convert_grypal_6.h" | ||
3 | |||
4 | #ifdef BUILD_CONVERT_8_GRAYSCALE_64 | ||
5 | void evas_common_convert_rgba_to_8bpp_pal_gray64(DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x __UNUSED__, int dith_y __UNUSED__, DATA8 *pal) | ||
6 | { | ||
7 | DATA32 *src_ptr; | ||
8 | DATA8 *dst_ptr; | ||
9 | int x, y; | ||
10 | DATA8 Y; | ||
11 | |||
12 | dst_ptr = dst; | ||
13 | CONVERT_LOOP_START_ROT_0(); | ||
14 | |||
15 | /* RGB -> YUV conversion */ | ||
16 | Y = ((R_VAL(src_ptr) * 76) + | ||
17 | (G_VAL(src_ptr) * 151) + | ||
18 | (B_VAL(src_ptr) * 29)) >> 10; | ||
19 | *dst_ptr = pal[Y]; | ||
20 | |||
21 | CONVERT_LOOP_END_ROT_0(); | ||
22 | } | ||
23 | #endif | ||