Some Definitions¶
-
typedef unsigned int local_addr_t
-
typedef unsigned long long system_addr_t
-
typedef unsigned long long global_addr_t
-
typedef char s8x4[4]
-
typedef unsigned char u8x4[4]
-
typedef short s16x2[2]
-
typedef unsigned short u16x2[2]
-
union x16
-
short s16
-
unsigned short u16
-
short s16
-
union x8
-
char s8
-
unsigned char u8
-
char s8
-
class dim4
-
int n
-
int c
-
int h
-
int w
-
int n
-
class dim2
-
int h
-
int w
-
int h
-
enum op_type_t
Operation type of the fixed point binary operation.
-
enumerator S8_OP_S8_TO_S8 = 31
Value of int8 operates value of int8 to value of int8.
-
enumerator S8_OP_S8_TO_S16 = 23
Value of int8 operates value of int8 to value of int16.
-
enumerator S8_OP_U8_TO_S8 = 27
Value of int8 operates value of uint8 to value of int8.
-
enumerator S8_OP_U8_TO_S16 = 19
Value of int8 operates value of uint8 to value of int16.
-
enumerator U8_OP_S8_TO_S8 = 29
Value of uint8 operates value of int8 to value of int8.
-
enumerator U8_OP_S8_TO_S16 = 21
Value of uint8 operates value of int8 to value of int16.
-
enumerator U8_OP_U8_TO_S8 = 25
Value of uint8 operate value of uint8 to value of int8.
-
enumerator U8_OP_U8_TO_S16 = 17
Value of uint8 operates value of uint8 to value of int16.
-
enumerator U8_OP_U8_TO_U8 = 9
Value of uint8 operates value of uint8 to value of uint8.
-
enumerator U8_OP_U8_TO_U16 = 1
Value of uint8 operates value of uint8 to value of uint16.
-
enumerator S16_OP_S16_TO_S8 = 30
Value of int16 operates value of int16 to value of int8.
-
enumerator S16_OP_S16_TO_S16 = 22
Value of int16 operates value of int16 to value of int16.
-
enumerator S16_OP_U16_TO_S8 = 26
Value of int16 operates value of uint16 to value of int8.
-
enumerator S16_OP_U16_TO_S16 = 18
Value of int16 operates value of uint16 to value of int16.
-
enumerator U16_OP_S16_TO_S8 = 28
Value of uint16 operates value of int16 to value of int8.
-
enumerator U16_OP_S16_TO_S16 = 20
Value of int16 operates value of int16 to value of int16.
-
enumerator U16_OP_U16_TO_S8 = 24
Value of uint16 operates value of uint16 to value of int8.
-
enumerator U16_OP_U16_TO_S16 = 16
Value of uint16 operates value of uint16 to value of int16.
-
enumerator U16_OP_U16_TO_U8 = 8
Value of uint16 operates value of uint16 to value of uint8.
-
enumerator U16_OP_U16_TO_U16 = 0
Value of uint16 operates value of uint16 to value of uint16.
-
enum mul_type_t
Type of the fixed point multiplication.
-
enumerator S16_MUL_S8_TO_S16 = 7
Value of int16 multiplies by value of int8 to value of int16.
-
enumerator U16_MUL_S8_TO_S16 = 6
Value of uint16 multiplies by value of int8 to value of int16.
-
enumerator U16_MUL_U8_TO_U16 = 0
Value of uint16 multiplies by value of uint8 to value of uint16.
-
enumerator S16_MUL_U8_TO_S16 = 5
Value of int16 multiplies by value of uint8 to value of int16.
-
DIV_UP
DIV_UP(a, b) (((a) - 1) / (b) + 1)
-
ALIGN
ALIGN(a, b)
DIV_UP
(a, b) * (b)