forked from enlightenment/efl
build - evas - sse3 optimized code - decouple from eo
This commit is contained in:
parent
32b79c7986
commit
ae2d399dd6
|
@ -1,6 +1,13 @@
|
||||||
#define NEED_SSE3 1
|
#define NEED_SSE3 1
|
||||||
|
|
||||||
#include "evas_common_private.h"
|
#include "Eina.h"
|
||||||
|
|
||||||
|
#include "evas_common_types.h"
|
||||||
|
|
||||||
|
EAPI void evas_common_cpu_end_opt(void);
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
#include "evas_blend_ops.h"
|
||||||
|
|
||||||
#ifdef BUILD_SSE3
|
#ifdef BUILD_SSE3
|
||||||
static __m128i A_MASK_SSE3;
|
static __m128i A_MASK_SSE3;
|
||||||
|
|
|
@ -391,10 +391,7 @@ extern EAPI int _evas_log_dom_global;
|
||||||
|
|
||||||
#include "../file/evas_module.h"
|
#include "../file/evas_module.h"
|
||||||
|
|
||||||
typedef unsigned long long DATA64;
|
#include "evas_common_types.h"
|
||||||
typedef unsigned int DATA32;
|
|
||||||
typedef unsigned short DATA16;
|
|
||||||
typedef unsigned char DATA8;
|
|
||||||
|
|
||||||
typedef struct _Image_Entry Image_Entry;
|
typedef struct _Image_Entry Image_Entry;
|
||||||
typedef struct _Image_Entry_Flags Image_Entry_Flags;
|
typedef struct _Image_Entry_Flags Image_Entry_Flags;
|
||||||
|
@ -442,8 +439,6 @@ typedef int FPc;
|
||||||
// one fp unit
|
// one fp unit
|
||||||
#define FP1 (1 << (FP))
|
#define FP1 (1 << (FP))
|
||||||
|
|
||||||
typedef void (*RGBA_Gfx_Func) (DATA32 *src, DATA8 *mask, DATA32 col, DATA32 *dst, int len);
|
|
||||||
typedef void (*RGBA_Gfx_Pt_Func) (DATA32 src, DATA8 mask, DATA32 col, DATA32 *dst);
|
|
||||||
typedef void (*Gfx_Func_Copy) (DATA32 *src, DATA32 *dst, int len);
|
typedef void (*Gfx_Func_Copy) (DATA32 *src, DATA32 *dst, int len);
|
||||||
|
|
||||||
typedef void (*Gfx_Func_Convert) (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal);
|
typedef void (*Gfx_Func_Convert) (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal);
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
#ifndef EVAS_COMMON_TYPES_H
|
||||||
|
# define EVAS_COMMON_TYPES_H 1
|
||||||
|
typedef unsigned long long DATA64;
|
||||||
|
typedef unsigned int DATA32;
|
||||||
|
typedef unsigned short DATA16;
|
||||||
|
typedef unsigned char DATA8;
|
||||||
|
|
||||||
|
typedef void (*RGBA_Gfx_Func) (DATA32 *src, DATA8 *mask, DATA32 col, DATA32 *dst, int len);
|
||||||
|
typedef void (*RGBA_Gfx_Pt_Func) (DATA32 src, DATA8 mask, DATA32 col, DATA32 *dst);
|
||||||
|
#endif
|
Loading…
Reference in New Issue