My Project
MMAL_GRAPH_T Struct Reference

#include <mmal_graph.h>

Public Attributes

struct MMAL_GRAPH_USERDATA_T * userdata
 
void(* pf_destroy )(struct MMAL_GRAPH_T *)
 
MMAL_STATUS_T(* pf_parameter_set )(struct MMAL_GRAPH_T *, MMAL_PORT_T *port, const MMAL_PARAMETER_HEADER_T *param)
 
MMAL_STATUS_T(* pf_parameter_get )(struct MMAL_GRAPH_T *, MMAL_PORT_T *port, MMAL_PARAMETER_HEADER_T *param)
 
MMAL_STATUS_T(* pf_format_commit )(struct MMAL_GRAPH_T *, MMAL_PORT_T *port)
 
MMAL_STATUS_T(* pf_send_buffer )(struct MMAL_GRAPH_T *, MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buffer)
 
MMAL_STATUS_T(* pf_return_buffer )(struct MMAL_GRAPH_T *, MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buffer)
 
MMAL_STATUS_T(* pf_payload_alloc )(struct MMAL_GRAPH_T *, MMAL_PORT_T *port, uint32_t payload_size, uint8_t **)
 
MMAL_STATUS_T(* pf_payload_free )(struct MMAL_GRAPH_T *, MMAL_PORT_T *port, uint8_t *payload)
 
MMAL_STATUS_T(* pf_flush )(struct MMAL_GRAPH_T *, MMAL_PORT_T *port)
 
MMAL_STATUS_T(* pf_enable )(struct MMAL_GRAPH_T *, MMAL_PORT_T *port)
 
MMAL_STATUS_T(* pf_disable )(struct MMAL_GRAPH_T *, MMAL_PORT_T *port)
 
MMAL_STATUS_T(* pf_control_callback )(struct MMAL_GRAPH_T *, MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buffer)
 
MMAL_STATUS_T(* pf_graph_enable )(struct MMAL_GRAPH_T *, MMAL_BOOL_T enable)
 
MMAL_STATUS_T(* pf_connection_buffer )(struct MMAL_GRAPH_T *, MMAL_CONNECTION_T *connection, MMAL_BUFFER_HEADER_T *buffer)
 

Detailed Description

Structure describing a graph

Definition at line 55 of file mmal_graph.h.

Member Data Documentation

◆ pf_connection_buffer

MMAL_STATUS_T(* MMAL_GRAPH_T::pf_connection_buffer) (struct MMAL_GRAPH_T *, MMAL_CONNECTION_T *connection, MMAL_BUFFER_HEADER_T *buffer)

Optional callback that the client can set to intercept buffers going through internal connections. This will only be triggered if the connection is not tunnelled

Definition at line 90 of file mmal_graph.h.

◆ pf_control_callback

MMAL_STATUS_T(* MMAL_GRAPH_T::pf_control_callback) (struct MMAL_GRAPH_T *, MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buffer)

Optional callback that the client can set to control callbacks from the internal components of the graph

Definition at line 85 of file mmal_graph.h.

◆ pf_destroy

void(* MMAL_GRAPH_T::pf_destroy) (struct MMAL_GRAPH_T *)

Optional callback that the client can set to get notified when the graph is going to be destroyed

Definition at line 61 of file mmal_graph.h.

◆ pf_disable

MMAL_STATUS_T(* MMAL_GRAPH_T::pf_disable) (struct MMAL_GRAPH_T *, MMAL_PORT_T *port)

Optional callback that the client can set to intercept disable calls on ports exposed by the graph

Definition at line 83 of file mmal_graph.h.

◆ pf_enable

MMAL_STATUS_T(* MMAL_GRAPH_T::pf_enable) (struct MMAL_GRAPH_T *, MMAL_PORT_T *port)

Optional callback that the client can set to control callbacks from the internal components of the graph Optional callback that the client can set to intercept enable calls on ports exposed by the graph

Definition at line 81 of file mmal_graph.h.

◆ pf_flush

MMAL_STATUS_T(* MMAL_GRAPH_T::pf_flush) (struct MMAL_GRAPH_T *, MMAL_PORT_T *port)

Optional callback that the client can set to intercept flush calls on ports exposed by the graph

Definition at line 78 of file mmal_graph.h.

◆ pf_format_commit

MMAL_STATUS_T(* MMAL_GRAPH_T::pf_format_commit) (struct MMAL_GRAPH_T *, MMAL_PORT_T *port)

Optional callback that the client can set to intercept format commit calls on ports exposed by the graph

Definition at line 68 of file mmal_graph.h.

◆ pf_graph_enable

MMAL_STATUS_T(* MMAL_GRAPH_T::pf_graph_enable) (struct MMAL_GRAPH_T *, MMAL_BOOL_T enable)

Optional callback that the client can set to intercept component_enable/disable calls made to the graph

Definition at line 87 of file mmal_graph.h.

◆ pf_parameter_get

MMAL_STATUS_T(* MMAL_GRAPH_T::pf_parameter_get) (struct MMAL_GRAPH_T *, MMAL_PORT_T *port, MMAL_PARAMETER_HEADER_T *param)

Optional callback that the client can set to intercept parameter requests on ports exposed by the graph

Definition at line 66 of file mmal_graph.h.

◆ pf_parameter_set

MMAL_STATUS_T(* MMAL_GRAPH_T::pf_parameter_set) (struct MMAL_GRAPH_T *, MMAL_PORT_T *port, const MMAL_PARAMETER_HEADER_T *param)

Optional callback that the client can set to intercept parameter requests on ports exposed by the graph

Definition at line 64 of file mmal_graph.h.

◆ pf_payload_alloc

MMAL_STATUS_T(* MMAL_GRAPH_T::pf_payload_alloc) (struct MMAL_GRAPH_T *, MMAL_PORT_T *port, uint32_t payload_size, uint8_t **)

Optional callback that the client can set to intercept payload alloc calls on ports exposed by the graph

Definition at line 74 of file mmal_graph.h.

◆ pf_payload_free

MMAL_STATUS_T(* MMAL_GRAPH_T::pf_payload_free) (struct MMAL_GRAPH_T *, MMAL_PORT_T *port, uint8_t *payload)

Optional callback that the client can set to intercept payload free calls on ports exposed by the graph

Definition at line 76 of file mmal_graph.h.

◆ pf_return_buffer

MMAL_STATUS_T(* MMAL_GRAPH_T::pf_return_buffer) (struct MMAL_GRAPH_T *, MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buffer)

Optional callback that the client can set to intercept buffer callbacks on ports exposed by the graph

Definition at line 72 of file mmal_graph.h.

◆ pf_send_buffer

MMAL_STATUS_T(* MMAL_GRAPH_T::pf_send_buffer) (struct MMAL_GRAPH_T *, MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buffer)

Optional callback that the client can set to intercept send buffer calls on ports exposed by the graph

Definition at line 70 of file mmal_graph.h.

◆ userdata

struct MMAL_GRAPH_USERDATA_T* MMAL_GRAPH_T::userdata

Pointer to private data of the client

Definition at line 58 of file mmal_graph.h.


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