My Project
MMAL_VC_CLIENT_BUFFER_CONTEXT_T Struct Reference

#include <mmal_vc_client_priv.h>

Public Attributes

uint32_t magic
 
void(* callback )(struct mmal_worker_buffer_from_host *)
 
void(* callback_event )(MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *event)
 
MMAL_PORT_Tport
 
MMAL_BUFFER_HEADER_Tbuffer
 
struct mmal_worker_buffer_from_host msg
 

Detailed Description

Hold the context required when sending a buffer to the copro.

Definition at line 43 of file mmal_vc_client_priv.h.

Member Data Documentation

◆ buffer

MMAL_BUFFER_HEADER_T* MMAL_VC_CLIENT_BUFFER_CONTEXT_T::buffer

The original buffer from the host.

Definition at line 57 of file mmal_vc_client_priv.h.

◆ callback

void(* MMAL_VC_CLIENT_BUFFER_CONTEXT_T::callback) (struct mmal_worker_buffer_from_host *)

Called when VC is done with the buffer

Definition at line 48 of file mmal_vc_client_priv.h.

◆ callback_event

void(* MMAL_VC_CLIENT_BUFFER_CONTEXT_T::callback_event) (MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *event)

Called when VC sends an event

Definition at line 51 of file mmal_vc_client_priv.h.

◆ magic

uint32_t MMAL_VC_CLIENT_BUFFER_CONTEXT_T::magic

Definition at line 45 of file mmal_vc_client_priv.h.

◆ msg

struct mmal_worker_buffer_from_host MMAL_VC_CLIENT_BUFFER_CONTEXT_T::msg

The actual message sent to the host

Definition at line 60 of file mmal_vc_client_priv.h.

◆ port

MMAL_PORT_T* MMAL_VC_CLIENT_BUFFER_CONTEXT_T::port

The port this buffer was sent to

Definition at line 54 of file mmal_vc_client_priv.h.


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