My Project
Public Attributes
MMAL_BUFFER_HEADER_T Struct Reference

#include <mmal_buffer.h>

List of all members.

Public Attributes

struct MMAL_BUFFER_HEADER_Tnext
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_Ttype
void * user_data

Detailed Description

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.


Member Data Documentation

Allocated size in bytes of payload buffer

Defines what the buffer header contains. This is a FourCC with 0 as a special value meaning stream data

Pointer to the start of the payload buffer (should not be changed by component)

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.

Flags describing properties of a buffer header (see Buffer header flags)

Number of bytes currently used in the payload buffer (starting from offset)

Used to link several buffer headers together

Offset in bytes to the start of valid data in the payload buffer

Data private to the framework

Presentation timestamp in microseconds. MMAL_TIME_UNKNOWN is used when the pts is unknown.

Type specific data that's associated with a payload buffer

Field reserved for use by the client


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines