61 #define MMAL_PORT_CAPABILITY_PASSTHROUGH 0x01 64 #define MMAL_PORT_CAPABILITY_ALLOCATION 0x02 68 #define MMAL_PORT_CAPABILITY_SUPPORTS_EVENT_FORMAT_CHANGE 0x04
void(* MMAL_PORT_BH_CB_T)(MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buffer)
struct MMAL_PORT_USERDATA_T * userdata
uint32_t buffer_num_recommended
MMAL_STATUS_T mmal_port_disconnect(MMAL_PORT_T *port)
MMAL_STATUS_T mmal_port_flush(MMAL_PORT_T *port)
MMAL_STATUS_T mmal_port_connect(MMAL_PORT_T *port, MMAL_PORT_T *other_port)
MMAL_ES_FORMAT_T * format
uint32_t buffer_size_recommended
uint8_t * mmal_port_payload_alloc(MMAL_PORT_T *port, uint32_t payload_size)
MMAL_STATUS_T mmal_port_enable(MMAL_PORT_T *port, MMAL_PORT_BH_CB_T cb)
MMAL_STATUS_T mmal_port_disable(MMAL_PORT_T *port)
MMAL_STATUS_T mmal_port_parameter_set(MMAL_PORT_T *port, const MMAL_PARAMETER_HEADER_T *param)
uint32_t buffer_alignment_min
struct MMAL_PORT_PRIVATE_T * priv
struct MMAL_COMPONENT_T * component
MMAL_STATUS_T mmal_port_parameter_get(MMAL_PORT_T *port, MMAL_PARAMETER_HEADER_T *param)
MMAL_STATUS_T mmal_port_event_get(MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T **buffer, uint32_t event)
MMAL_STATUS_T mmal_port_send_buffer(MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buffer)
MMAL_STATUS_T mmal_port_format_commit(MMAL_PORT_T *port)
struct MMAL_PORT_T MMAL_PORT_T
void mmal_port_payload_free(MMAL_PORT_T *port, uint8_t *payload)