MMAL_3-15-2015
|
#include <mmal_buffer.h>
Public Attributes | |
struct MMAL_BUFFER_HEADER_T * | next |
struct MMAL_BUFFER_HEADER_PRIVATE_T * | priv |
uint32_t | cmd |
uint8_t * | data |
uint32_t | alloc_size |
uint32_t | length |
uint32_t | offset |
uint32_t | flags |
int64_t | pts |
int64_t | dts |
MMAL_BUFFER_HEADER_TYPE_SPECIFIC_T * | type |
void * | user_data |
Definition of the buffer header structure. A buffer header does not directly carry the data to be passed to a component but instead it references the actual data using a pointer (and an associated length). It also contains an internal area which can be used to store command or metadata to be associated with the external data.
uint32_t MMAL_BUFFER_HEADER_T::alloc_size |
Allocated size in bytes of payload buffer
uint32_t MMAL_BUFFER_HEADER_T::cmd |
Defines what the buffer header contains. This is a FourCC with 0 as a special value meaning stream data
uint8_t* MMAL_BUFFER_HEADER_T::data |
Pointer to the start of the payload buffer (should not be changed by component)
int64_t MMAL_BUFFER_HEADER_T::dts |
Decode timestamp in microseconds (dts = pts, except in the case of video streams with B frames). MMAL_TIME_UNKNOWN is used when the dts is unknown.
uint32_t MMAL_BUFFER_HEADER_T::flags |
Flags describing properties of a buffer header (see Buffer header flags)
uint32_t MMAL_BUFFER_HEADER_T::length |
Number of bytes currently used in the payload buffer (starting from offset)
struct MMAL_BUFFER_HEADER_T* MMAL_BUFFER_HEADER_T::next |
Used to link several buffer headers together
uint32_t MMAL_BUFFER_HEADER_T::offset |
Offset in bytes to the start of valid data in the payload buffer
struct MMAL_BUFFER_HEADER_PRIVATE_T* MMAL_BUFFER_HEADER_T::priv |
Data private to the framework
int64_t MMAL_BUFFER_HEADER_T::pts |
Presentation timestamp in microseconds. MMAL_TIME_UNKNOWN is used when the pts is unknown.
MMAL_BUFFER_HEADER_TYPE_SPECIFIC_T* MMAL_BUFFER_HEADER_T::type |
Type specific data that's associated with a payload buffer
void* MMAL_BUFFER_HEADER_T::user_data |
Field reserved for use by the client