My Project
mmal_connection.h File Reference

Go to the source code of this file.

Classes

struct  MMAL_CONNECTION_T
 

Macros

Connection flags

The following flags describe the properties of the connection.

#define MMAL_CONNECTION_FLAG_TUNNELLING   0x1
 
#define MMAL_CONNECTION_FLAG_ALLOCATION_ON_INPUT   0x2
 
#define MMAL_CONNECTION_FLAG_ALLOCATION_ON_OUTPUT   0x4
 
#define MMAL_CONNECTION_FLAG_KEEP_BUFFER_REQUIREMENTS   0x8
 
#define MMAL_CONNECTION_FLAG_DIRECT   0x10
 
#define MMAL_CONNECTION_FLAG_KEEP_PORT_FORMATS   0x20
 

Typedefs

typedef struct MMAL_CONNECTION_T MMAL_CONNECTION_T
 
typedef void(* MMAL_CONNECTION_CALLBACK_T) (MMAL_CONNECTION_T *connection)
 

Functions

MMAL_STATUS_T mmal_connection_create (MMAL_CONNECTION_T **connection, MMAL_PORT_T *out, MMAL_PORT_T *in, uint32_t flags)
 
void mmal_connection_acquire (MMAL_CONNECTION_T *connection)
 
MMAL_STATUS_T mmal_connection_release (MMAL_CONNECTION_T *connection)
 
MMAL_STATUS_T mmal_connection_destroy (MMAL_CONNECTION_T *connection)
 
MMAL_STATUS_T mmal_connection_enable (MMAL_CONNECTION_T *connection)
 
MMAL_STATUS_T mmal_connection_disable (MMAL_CONNECTION_T *connection)
 
MMAL_STATUS_T mmal_connection_event_format_changed (MMAL_CONNECTION_T *connection, MMAL_BUFFER_HEADER_T *buffer)