MMALIB User Guide
MMALIB_bufParams.h File Reference

Introduction

File to hold buffer parameter related info for MMALIB.

Version
0.1 - Jan 2018 : Initial Version with as a template [PKS]

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...