LLIPS
rev33
Light Library for Image ProcesS
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
llips
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
{
35
CPU_INT16U
signature
;
36
CPU_INT16U
depth
;
37
CPU_INT32U
wi
;
38
CPU_INT32U
he
;
39
CPU_INT08U
**
Blue
;
40
CPU_INT08U
**
Green
;
41
CPU_INT08U
**
Red
;
42
43
CPU_INT08U
FileHeader
[
MAX_HEADER_size
];
44
CPU_INT08U
FileHeader_size
;
45
46
}
t_img
;
47
48
typedef
struct
s_pixel
49
{
50
CPU_INT16U
x
;
51
CPU_INT16U
y
;
52
}
t_pixel
;
53
54
typedef
struct
s_vect
55
{
56
CPU_INT16S
x
;
57
CPU_INT16S
y
;
58
}
t_vect
;
59
60
typedef
struct
s_area
61
{
62
t_pixel
BotLeft
;
63
t_pixel
BotRight
;
64
t_pixel
TopLeft
;
65
t_pixel
TopRight
;
66
}
t_area
;
67
68
69
#endif
CPU_INT08S
signed char CPU_INT08S
Definition:
llips_type.h:24
t_pixel
struct s_pixel t_pixel
s_pixel::y
CPU_INT16U y
Definition:
llips_type.h:51
CPU_VOID
void CPU_VOID
Definition:
llips_type.h:20
s_img::signature
CPU_INT16U signature
Definition:
llips_type.h:35
CPU_FP32
float CPU_FP32
Definition:
llips_type.h:29
s_img::FileHeader_size
CPU_INT08U FileHeader_size
Definition:
llips_type.h:44
s_area::BotRight
t_pixel BotRight
Definition:
llips_type.h:63
s_area::BotLeft
t_pixel BotLeft
Definition:
llips_type.h:62
s_vect::y
CPU_INT16S y
Definition:
llips_type.h:57
MAX_HEADER_size
#define MAX_HEADER_size
Definition:
llips_cfg.h:16
CPU_FP64
double CPU_FP64
Definition:
llips_type.h:30
s_img::depth
CPU_INT16U depth
Definition:
llips_type.h:36
s_vect
Definition:
llips_type.h:54
s_area::TopLeft
t_pixel TopLeft
Definition:
llips_type.h:64
s_area
Definition:
llips_type.h:60
s_img::wi
CPU_INT32U wi
Definition:
llips_type.h:37
s_pixel
Definition:
llips_type.h:48
t_area
struct s_area t_area
CPU_CHAR
unsigned char CPU_CHAR
Definition:
llips_type.h:21
CPU_BOOLEAN
unsigned char CPU_BOOLEAN
Definition:
llips_type.h:22
s_img::Red
CPU_INT08U ** Red
Definition:
llips_type.h:41
s_img
Definition:
llips_type.h:33
CPU_INT16S
signed short CPU_INT16S
Definition:
llips_type.h:26
CPU_INT32U
unsigned long CPU_INT32U
Definition:
llips_type.h:27
s_img::FileHeader
CPU_INT08U FileHeader[MAX_HEADER_size]
Definition:
llips_type.h:43
s_pixel::x
CPU_INT16U x
Definition:
llips_type.h:50
s_area::TopRight
t_pixel TopRight
Definition:
llips_type.h:65
s_img::Blue
CPU_INT08U ** Blue
Definition:
llips_type.h:39
t_img
struct s_img t_img
CPU_INT16U
unsigned short CPU_INT16U
Definition:
llips_type.h:25
s_img::Green
CPU_INT08U ** Green
Definition:
llips_type.h:40
s_vect::x
CPU_INT16S x
Definition:
llips_type.h:56
CPU_INT08U
unsigned char CPU_INT08U
Definition:
llips_type.h:23
CPU_INT32S
signed long CPU_INT32S
Definition:
llips_type.h:28
s_img::he
CPU_INT32U he
Definition:
llips_type.h:38
t_vect
struct s_vect t_vect
Generated on Thu Sep 25 2014 14:08:52 for LLIPS by
1.8.8