LLIPS  rev33
Light Library for Image ProcesS
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
llips_type.h
Go to the documentation of this file.
1 /********************************************/
7 #ifndef __LLIPS_TYPE_H
8 #define __LLIPS_TYPE_H
9 
10 /* ***************************************************************/
11 /* * Define */
12 /* ***************************************************************/
13 #define DEF_ENABLED 1
14 #define DEF_DISABLED 0
15 
16 /* ***************************************************************/
17 /* * Typedef */
18 /* ***************************************************************/
19 /* Custom type used for portability */
20 typedef void CPU_VOID;
21 typedef unsigned char CPU_CHAR; /* 8-bit character */
22 typedef unsigned char CPU_BOOLEAN; /* 8-bit boolean or logical */
23 typedef unsigned char CPU_INT08U; /* 8-bit unsigned integer */
24 typedef signed char CPU_INT08S; /* 8-bit signed integer */
25 typedef unsigned short CPU_INT16U; /* 16-bit unsigned integer */
26 typedef signed short CPU_INT16S; /* 16-bit signed integer */
27 typedef unsigned long CPU_INT32U; /* 32-bit unsigned integer */
28 typedef signed long CPU_INT32S; /* 32-bit signed integer */
29 typedef float CPU_FP32; /* 32-bit floating point */
30 typedef double CPU_FP64; /* 64-bit floating point */
31 
32 /* typedef for image treatment */
33 typedef struct s_img
34 {
42 
45 
46 }t_img;
47 
48 typedef struct s_pixel
49 {
52 }t_pixel;
53 
54 typedef struct s_vect
55 {
58 }t_vect;
59 
60 typedef struct s_area
61 {
66 }t_area;
67 
68 
69 #endif
signed char CPU_INT08S
Definition: llips_type.h:24
struct s_pixel t_pixel
CPU_INT16U y
Definition: llips_type.h:51
void CPU_VOID
Definition: llips_type.h:20
CPU_INT16U signature
Definition: llips_type.h:35
float CPU_FP32
Definition: llips_type.h:29
CPU_INT08U FileHeader_size
Definition: llips_type.h:44
t_pixel BotRight
Definition: llips_type.h:63
t_pixel BotLeft
Definition: llips_type.h:62
CPU_INT16S y
Definition: llips_type.h:57
#define MAX_HEADER_size
Definition: llips_cfg.h:16
double CPU_FP64
Definition: llips_type.h:30
CPU_INT16U depth
Definition: llips_type.h:36
t_pixel TopLeft
Definition: llips_type.h:64
CPU_INT32U wi
Definition: llips_type.h:37
struct s_area t_area
unsigned char CPU_CHAR
Definition: llips_type.h:21
unsigned char CPU_BOOLEAN
Definition: llips_type.h:22
CPU_INT08U ** Red
Definition: llips_type.h:41
signed short CPU_INT16S
Definition: llips_type.h:26
unsigned long CPU_INT32U
Definition: llips_type.h:27
CPU_INT08U FileHeader[MAX_HEADER_size]
Definition: llips_type.h:43
CPU_INT16U x
Definition: llips_type.h:50
t_pixel TopRight
Definition: llips_type.h:65
CPU_INT08U ** Blue
Definition: llips_type.h:39
struct s_img t_img
unsigned short CPU_INT16U
Definition: llips_type.h:25
CPU_INT08U ** Green
Definition: llips_type.h:40
CPU_INT16S x
Definition: llips_type.h:56
unsigned char CPU_INT08U
Definition: llips_type.h:23
signed long CPU_INT32S
Definition: llips_type.h:28
CPU_INT32U he
Definition: llips_type.h:38
struct s_vect t_vect