My Project
|
Go to the source code of this file.
Classes | |
struct | MMAL_BUFFER_HEADER_PRIVATE_T |
Macros | |
#define | MMAL_DRIVER_BUFFER_SIZE 32 |
Typedefs | |
typedef struct MMAL_DRIVER_BUFFER_T | MMAL_DRIVER_BUFFER_T |
typedef struct MMAL_BUFFER_HEADER_PRIVATE_T | MMAL_BUFFER_HEADER_PRIVATE_T |
Functions | |
unsigned int | mmal_buffer_header_size (MMAL_BUFFER_HEADER_T *header) |
MMAL_BUFFER_HEADER_T * | mmal_buffer_header_initialise (void *mem, unsigned int length) |
MMAL_DRIVER_BUFFER_T * | mmal_buffer_header_driver_data (MMAL_BUFFER_HEADER_T *) |
MMAL_BUFFER_HEADER_T * | mmal_buffer_header_reference (MMAL_BUFFER_HEADER_T *header) |
#define MMAL_DRIVER_BUFFER_SIZE 32 |
Size of the private area the framework reserves for the driver / communication layer
Definition at line 35 of file mmal_buffer_private.h.
typedef struct MMAL_BUFFER_HEADER_PRIVATE_T MMAL_BUFFER_HEADER_PRIVATE_T |
Typedef for the framework's private area in the buffer header
typedef struct MMAL_DRIVER_BUFFER_T MMAL_DRIVER_BUFFER_T |
Typedef for the private area the framework reserves for the driver / communication layer
Definition at line 32 of file mmal_buffer_private.h.
MMAL_DRIVER_BUFFER_T* mmal_buffer_header_driver_data | ( | MMAL_BUFFER_HEADER_T * | ) |
Return a pointer to the area reserved for the driver.
MMAL_BUFFER_HEADER_T* mmal_buffer_header_initialise | ( | void * | mem, |
unsigned int | length | ||
) |
Initialise a MMAL_BUFFER_HEADER_T
MMAL_BUFFER_HEADER_T* mmal_buffer_header_reference | ( | MMAL_BUFFER_HEADER_T * | header | ) |
Return a pointer to a referenced buffer header. It is the caller's responsibility to ensure that the reference is still valid when using it.
unsigned int mmal_buffer_header_size | ( | MMAL_BUFFER_HEADER_T * | header | ) |
Get the size in bytes of a fully initialised MMAL_BUFFER_HEADER_T