Data Type Utilities
[Utilities]
Detailed Description
- See im_util.h
Defines | |
#define | IM_BYTECROP(_v) (_v < 0? 0: _v > 255? 255: _v) |
#define | IM_CROPMAX(_v, _max) (_v < 0? 0: _v > _max? _max: _v) |
Typedefs | |
typedef unsigned char | imbyte |
typedef unsigned short | imushort |
Functions | |
int | imDataTypeSize (int data_type) |
const char * | imDataTypeName (int data_type) |
unsigned long | imDataTypeIntMax (int data_type) |
long | imDataTypeIntMin (int data_type) |
Function Documentation
|
Returns the size in bytes of a specified numeric data type. |
|
Returns the numeric data type name given its identifier. |
|
Returns the maximum value of an integer data type. For floating point returns 0. |
|
Returns the minimum value of an integer data type. For floating point returns 0. |