JeVoisBase  1.5
JeVois Smart Embedded Machine Vision Toolkit Base Modules
Share this page:
env_types.h File Reference
Include dependency graph for env_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  env_rgb_pixel
 RGB pixel class. More...
 
struct  env_dims
 A simple struct to hold a pair of width/height dimensions. More...
 

Macros

#define INTG32_MAX   ((ENV_INTG32_TYPE)(((unsigned ENV_INTG32_TYPE)(-1)) >> 1))
 
#define INTG32_MIN   ((ENV_INTG32_TYPE)((((unsigned ENV_INTG32_TYPE)(-1)) >> 1) + 1))
 
#define ENV_MAX(a, b)   ( (a) > (b) ? (a) : (b) )
 
#define ENV_MIN(a, b)   ( (a) < (b) ? (a) : (b) )
 
#define ENV_ABS(a)   ( (a) > 0 ? (a) : -(a) )
 

Typedefs

typedef unsigned char byte
 8-bit unsigned integer More...
 
typedef short intg16
 16-bit signed integer More...
 
typedef char env_intg16_must_be_16_bits[sizeof(intg16)==2 ? 1 :-1]
 
typedef ENV_INTG32_TYPE intg32
 32-bit signed integer More...
 
typedef char env_intg32_must_be_32_bits[sizeof(intg32)==4 ? 1 :-1]
 
typedef long env_ssize_t
 
typedef unsigned long env_size_t
 

Enumerations

enum  env_maxnorm_type { ENV_VCXNORM_NONE = 0, ENV_VCXNORM_MAXNORM = 1 }
 Types of normalization. More...
 

Macro Definition Documentation

◆ ENV_ABS

#define ENV_ABS (   a)    ( (a) > 0 ? (a) : -(a) )

Definition at line 95 of file env_types.h.

◆ ENV_MAX

#define ENV_MAX (   a,
 
)    ( (a) > (b) ? (a) : (b) )

Definition at line 93 of file env_types.h.

Referenced by env_chan_process_pyr().

◆ ENV_MIN

#define ENV_MIN (   a,
 
)    ( (a) < (b) ? (a) : (b) )

Definition at line 94 of file env_types.h.

◆ INTG32_MAX

#define INTG32_MAX   ((ENV_INTG32_TYPE)(((unsigned ENV_INTG32_TYPE)(-1)) >> 1))

Definition at line 54 of file env_types.h.

Referenced by env_c_inplace_normalize().

◆ INTG32_MIN

#define INTG32_MIN   ((ENV_INTG32_TYPE)((((unsigned ENV_INTG32_TYPE)(-1)) >> 1) + 1))

Definition at line 55 of file env_types.h.

Typedef Documentation

◆ byte

typedef unsigned char byte

8-bit unsigned integer

Definition at line 43 of file env_types.h.

◆ env_intg16_must_be_16_bits

typedef char env_intg16_must_be_16_bits[sizeof(intg16)==2 ? 1 :-1]

Definition at line 49 of file env_types.h.

◆ env_intg32_must_be_32_bits

typedef char env_intg32_must_be_32_bits[sizeof(intg32)==4 ? 1 :-1]

Definition at line 58 of file env_types.h.

◆ env_size_t

typedef unsigned long env_size_t

Definition at line 71 of file env_types.h.

◆ env_ssize_t

typedef long env_ssize_t

Definition at line 70 of file env_types.h.

◆ intg16

typedef short intg16

16-bit signed integer

Definition at line 46 of file env_types.h.

◆ intg32

32-bit signed integer

Definition at line 52 of file env_types.h.

Enumeration Type Documentation

◆ env_maxnorm_type

Types of normalization.

Enumerator
ENV_VCXNORM_NONE 

no max-normalization, but may change range

ENV_VCXNORM_MAXNORM 

non-iterative maxnorm

Definition at line 87 of file env_types.h.