28 #ifndef MMAL_CONNECTION_H 29 #define MMAL_CONNECTION_H 92 #define MMAL_CONNECTION_FLAG_TUNNELLING 0x1 94 #define MMAL_CONNECTION_FLAG_ALLOCATION_ON_INPUT 0x2 96 #define MMAL_CONNECTION_FLAG_ALLOCATION_ON_OUTPUT 0x4 98 #define MMAL_CONNECTION_FLAG_KEEP_BUFFER_REQUIREMENTS 0x8 102 #define MMAL_CONNECTION_FLAG_DIRECT 0x10 104 #define MMAL_CONNECTION_FLAG_KEEP_PORT_FORMATS 0x20
MMAL_STATUS_T mmal_connection_create(MMAL_CONNECTION_T **connection, MMAL_PORT_T *out, MMAL_PORT_T *in, uint32_t flags)
MMAL_STATUS_T mmal_connection_destroy(MMAL_CONNECTION_T *connection)
void(* MMAL_CONNECTION_CALLBACK_T)(MMAL_CONNECTION_T *connection)
void mmal_connection_acquire(MMAL_CONNECTION_T *connection)
MMAL_STATUS_T mmal_connection_release(MMAL_CONNECTION_T *connection)
struct MMAL_QUEUE_T MMAL_QUEUE_T
MMAL_STATUS_T mmal_connection_event_format_changed(MMAL_CONNECTION_T *connection, MMAL_BUFFER_HEADER_T *buffer)
MMAL_STATUS_T mmal_connection_enable(MMAL_CONNECTION_T *connection)
MMAL_STATUS_T mmal_connection_disable(MMAL_CONNECTION_T *connection)
MMAL_CONNECTION_CALLBACK_T callback