![]() |
MMALIB User Guide
|
File to hold buffer parameter related info for MMALIB.
Definition in file MMALIB_bufParams.h.
Go to the source code of this file.
Data Structures | |
| struct | MMALIB_bufParams1D_t |
| A structure for a 1 dimensional buffer descriptor. More... | |
| struct | MMALIB_bufParams2D_t |
| A structure for a 2 dimensional buffer descriptor. More... | |
| struct | MMALIB_bufParams3D_t |
| A structure for a 3 dimensional buffer descriptor. More... | |
| struct | MMALIB_bufParamsND_t |
| A structure for a N dimensional buffer descriptor. More... | |
Macros | |
| #define | MMALIB_ISSIGNED(type) ((type) < MMALIB_UINT8 || (type) > MMALIB_UINT128) |
| #define | MMALIB_SIGNEDNESS(type) (MMALIB_ISSIGNED((type)) ? "signed" : "unsigned") |
Enumerations | |
| enum | MMALIB_data_type_e { MMALIB_INT8 = 0 , MMALIB_INT16 = 1 , MMALIB_INT32 = 2 , MMALIB_INT64 = 3 , MMALIB_INT128 = 4 , MMALIB_UINT8 = 5 , MMALIB_UINT16 = 6 , MMALIB_UINT24 = 7 , MMALIB_UINT32 = 8 , MMALIB_UINT64 = 9 , MMALIB_UINT128 = 10 , MMALIB_FLOAT16 = 11 , MMALIB_FLOAT32 = 12 , MMALIB_FLOAT64 = 13 } |
| The enumeration of all data types. More... | |
| enum | MMALIB_dimension_e { MMALIB_2D = 0 , MMALIB_3D = 1 , MMALIB_4D = 2 , MMALIB_5D = 3 , MMALIB_6D = 4 } |
| The enumeration of multidimensional buffer types. More... | |
Functions | |
| static int32_t | MMALIB_sizeof (uint32_t type) |
| Inline function returns number of bytes per element given a type of MMALIB_data_type_e. More... | |
| #define MMALIB_ISSIGNED | ( | type | ) | ((type) < MMALIB_UINT8 || (type) > MMALIB_UINT128) |
Definition at line 69 of file MMALIB_bufParams.h.
| #define MMALIB_SIGNEDNESS | ( | type | ) | (MMALIB_ISSIGNED((type)) ? "signed" : "unsigned") |
Definition at line 70 of file MMALIB_bufParams.h.
| enum MMALIB_data_type_e |
The enumeration of all data types.
Definition at line 40 of file MMALIB_bufParams.h.
| enum MMALIB_dimension_e |
The enumeration of multidimensional buffer types.
| Enumerator | |
|---|---|
| MMALIB_2D | Two dimensional buffer |
| MMALIB_3D | Three dimensional buffer |
| MMALIB_4D | Four dimensional buffer |
| MMALIB_5D | Five dimensional buffer |
| MMALIB_6D | Six dimensional buffer |
Definition at line 73 of file MMALIB_bufParams.h.
|
inlinestatic |
Inline function returns number of bytes per element given a type of MMALIB_data_type_e.
Definition at line 145 of file MMALIB_bufParams.h.