My Project
mmal_graph.h File Reference

Go to the source code of this file.

Classes

struct  MMAL_GRAPH_T
 

Typedefs

typedef struct MMAL_GRAPH_T MMAL_GRAPH_T
 
typedef void(* MMAL_GRAPH_EVENT_CB) (MMAL_GRAPH_T *graph, MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buffer, void *cb_data)
 

Enumerations

enum  MMAL_GRAPH_TOPOLOGY_T { MMAL_GRAPH_TOPOLOGY_ALL = 0, MMAL_GRAPH_TOPOLOGY_STRAIGHT, MMAL_GRAPH_TOPOLOGY_CUSTOM, MMAL_GRAPH_TOPOLOGY_MAX }
 

Functions

MMAL_STATUS_T mmal_graph_create (MMAL_GRAPH_T **graph, unsigned int userdata_size)
 
MMAL_STATUS_T mmal_graph_add_component (MMAL_GRAPH_T *graph, MMAL_COMPONENT_T *component)
 
MMAL_STATUS_T mmal_graph_component_topology (MMAL_GRAPH_T *graph, MMAL_COMPONENT_T *component, MMAL_GRAPH_TOPOLOGY_T topology, int8_t *input, unsigned int input_num, int8_t *output, unsigned int output_num)
 
MMAL_STATUS_T mmal_graph_add_port (MMAL_GRAPH_T *graph, MMAL_PORT_T *port)
 
MMAL_STATUS_T mmal_graph_add_connection (MMAL_GRAPH_T *graph, MMAL_CONNECTION_T *connection)
 
MMAL_STATUS_T mmal_graph_new_component (MMAL_GRAPH_T *graph, const char *name, MMAL_COMPONENT_T **component)
 
MMAL_STATUS_T mmal_graph_new_connection (MMAL_GRAPH_T *graph, MMAL_PORT_T *out, MMAL_PORT_T *in, uint32_t flags, MMAL_CONNECTION_T **connection)
 
MMAL_STATUS_T mmal_graph_enable (MMAL_GRAPH_T *graph, MMAL_GRAPH_EVENT_CB cb, void *cb_data)
 
MMAL_STATUS_T mmal_graph_disable (MMAL_GRAPH_T *graph)
 
MMAL_PORT_Tmmal_graph_find_port (MMAL_GRAPH_T *graph, const char *name, MMAL_PORT_TYPE_T type, unsigned index)
 
MMAL_STATUS_T mmal_graph_build (MMAL_GRAPH_T *ctx, const char *name, MMAL_COMPONENT_T **component)
 
MMAL_STATUS_T mmal_graph_component_constructor (const char *name, MMAL_COMPONENT_T *component)
 
MMAL_STATUS_T mmal_graph_destroy (MMAL_GRAPH_T *ctx)