My Project
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()

Definition at line 368 of file mmal_vc_msgs.h.

Member Data Documentation

◆ buffer_header

MMAL_BUFFER_HEADER_T mmal_worker_buffer_from_host::buffer_header

the buffer header itself

Definition at line 385 of file mmal_vc_msgs.h.

◆ buffer_header_type_specific

MMAL_BUFFER_HEADER_TYPE_SPECIFIC_T mmal_worker_buffer_from_host::buffer_header_type_specific

Definition at line 386 of file mmal_vc_msgs.h.

◆ drvbuf

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().

Definition at line 375 of file mmal_vc_msgs.h.

◆ drvbuf_ref

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.

Definition at line 382 of file mmal_vc_msgs.h.

◆ has_reference

MMAL_BOOL_T mmal_worker_buffer_from_host::has_reference

Definition at line 389 of file mmal_vc_msgs.h.

◆ header

mmal_worker_msg_header mmal_worker_buffer_from_host::header

Definition at line 370 of file mmal_vc_msgs.h.

◆ is_zero_copy

MMAL_BOOL_T mmal_worker_buffer_from_host::is_zero_copy

Definition at line 388 of file mmal_vc_msgs.h.

◆ payload_in_message

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.

Definition at line 394 of file mmal_vc_msgs.h.

◆ short_data

uint8_t mmal_worker_buffer_from_host::short_data[MMAL_VC_SHORT_DATA]

Definition at line 395 of file mmal_vc_msgs.h.


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