build - evas - sse3 optimized code - decouple from eo

This commit is contained in:
Carsten Haitzler 2018-11-12 16:10:08 +00:00
parent 32b79c7986
commit ae2d399dd6
3 changed files with 19 additions and 7 deletions

View File

@ -1,6 +1,13 @@
#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
static __m128i A_MASK_SSE3;

View File

@ -391,10 +391,7 @@ extern EAPI int _evas_log_dom_global;
#include "../file/evas_module.h"
typedef unsigned long long DATA64;
typedef unsigned int DATA32;
typedef unsigned short DATA16;
typedef unsigned char DATA8;
#include "evas_common_types.h"
typedef struct _Image_Entry Image_Entry;
typedef struct _Image_Entry_Flags Image_Entry_Flags;
@ -442,8 +439,6 @@ typedef int FPc;
// one fp unit
#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_Convert) (DATA32 *src, DATA8 *dst, int src_jump, int dst_jump, int w, int h, int dith_x, int dith_y, DATA8 *pal);

View File

@ -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