My Project
|
#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 |
Multi-Media Abstraction Layer - Common definitions
Definition in file mmal_common.h.
#define INT64_C | ( | value | ) | value##LL |
Definition at line 44 of file mmal_common.h.
#define MMAL_COUNTOF | ( | x | ) | (sizeof((x))/sizeof((x)[0])) |
Definition at line 51 of file mmal_common.h.
#define MMAL_FALSE 0 |
Definition at line 61 of file mmal_common.h.
#define MMAL_FOURCC | ( | a, | |
b, | |||
c, | |||
d | |||
) | ((a) | (b << 8) | (c << 16) | (d << 24)) |
Definition at line 56 of file mmal_common.h.
#define MMAL_MAGIC MMAL_FOURCC('m','m','a','l') |
Definition at line 58 of file mmal_common.h.
#define MMAL_MAX | ( | a, | |
b | |||
) | ((a)<(b)?(b):(a)) |
Definition at line 53 of file mmal_common.h.
#define MMAL_MIN | ( | a, | |
b | |||
) | ((a)<(b)?(a):(b)) |
Definition at line 52 of file mmal_common.h.
#define MMAL_PARAM_UNUSED | ( | a | ) | (void)(a) |
Definition at line 57 of file mmal_common.h.
#define MMAL_TO_STRING | ( | s | ) | MMAL_TSRING(s) |
Definition at line 49 of file mmal_common.h.
#define MMAL_TRUE 1 |
Definition at line 62 of file mmal_common.h.
#define MMAL_TSRING | ( | s | ) | #s |
Definition at line 48 of file mmal_common.h.
#define UINT64_C | ( | value | ) | value##ULL |
Definition at line 45 of file mmal_common.h.
typedef int32_t MMAL_BOOL_T |
Definition at line 60 of file mmal_common.h.
typedef struct MMAL_CORE_PORT_STATISTICS_T MMAL_CORE_PORT_STATISTICS_T |
Statistics collected by the core on all ports, if enabled in the build.
typedef struct MMAL_CORE_STATISTICS_T MMAL_CORE_STATISTICS_T |
typedef uint32_t MMAL_FIXED_16_16_T |
Unsigned 16.16 fixed point value, also known as Q16.16
Definition at line 81 of file mmal_common.h.