MMAL_3-15-2015
mmal_common.h File Reference
#include <stdlib.h>
#include <string.h>
#include <stddef.h>
#include <assert.h>
#include <interface/vcos/vcos.h>

Go to the source code of this file.

Classes

struct  MMAL_CORE_STATISTICS_T
 
struct  MMAL_CORE_PORT_STATISTICS_T
 

Macros

#define INT64_C(value)   value##LL
 
#define UINT64_C(value)   value##ULL
 
#define MMAL_TSRING(s)   #s
 
#define MMAL_TO_STRING(s)   MMAL_TSRING(s)
 
#define MMAL_COUNTOF(x)   (sizeof((x))/sizeof((x)[0]))
 
#define MMAL_MIN(a, b)   ((a)<(b)?(a):(b))
 
#define MMAL_MAX(a, b)   ((a)<(b)?(b):(a))
 
#define MMAL_FOURCC(a, b, c, d)   ((a) | (b << 8) | (c << 16) | (d << 24))
 
#define MMAL_PARAM_UNUSED(a)   (void)(a)
 
#define MMAL_MAGIC   MMAL_FOURCC('m','m','a','l')
 
#define MMAL_FALSE   0
 
#define MMAL_TRUE   1
 

Typedefs

typedef int32_t MMAL_BOOL_T
 
typedef struct MMAL_CORE_STATISTICS_T MMAL_CORE_STATISTICS_T
 
typedef struct MMAL_CORE_PORT_STATISTICS_T MMAL_CORE_PORT_STATISTICS_T
 
typedef uint32_t MMAL_FIXED_16_16_T
 

Detailed Description

Multi-Media Abstraction Layer - Common definitions

Typedef Documentation

Statistics collected by the core on all ports, if enabled in the build.

typedef uint32_t MMAL_FIXED_16_16_T

Unsigned 16.16 fixed point value, also known as Q16.16