MMAL_3-15-2015
mmal_worker_buffer_from_host Struct Reference

#include <mmal_vc_msgs.h>

Public Attributes

mmal_worker_msg_header header
 
struct MMAL_DRIVER_BUFFER_T drvbuf
 
struct MMAL_DRIVER_BUFFER_T drvbuf_ref
 
MMAL_BUFFER_HEADER_T buffer_header
 
MMAL_BUFFER_HEADER_TYPE_SPECIFIC_T buffer_header_type_specific
 
MMAL_BOOL_T is_zero_copy
 
MMAL_BOOL_T has_reference
 
uint32_t payload_in_message
 
uint8_t short_data [MMAL_VC_SHORT_DATA]
 

Detailed Description

Receive a buffer from the host.

See also
mmal_port_send_buffer()

Member Data Documentation

MMAL_BUFFER_HEADER_T mmal_worker_buffer_from_host::buffer_header

the buffer header itself

struct MMAL_DRIVER_BUFFER_T mmal_worker_buffer_from_host::drvbuf

Our control data, copied from the buffer header "driver area"

See also
mmal_buffer_header_driver_data().
struct MMAL_DRIVER_BUFFER_T mmal_worker_buffer_from_host::drvbuf_ref

Referenced buffer control data. This is set if the buffer is referencing another buffer as is the case with passthrough ports where buffers on the output port reference buffers on the input port.

uint32_t mmal_worker_buffer_from_host::payload_in_message

If the data is short enough, then send it in the control message rather than using a separate VCHIQ bulk transfer.


The documentation for this struct was generated from the following file: