39 #include "mmal_types.h"
40 #include "mmal_format.h"
41 #include "mmal_buffer.h"
42 #include "mmal_parameters.h"
61 #define MMAL_PORT_CAPABILITY_PASSTHROUGH 0x01
64 #define MMAL_PORT_CAPABILITY_ALLOCATION 0x02
68 #define MMAL_PORT_CAPABILITY_SUPPORTS_EVENT_FORMAT_CHANGE 0x04
Definition: mmal_port_private.h:40
void(* MMAL_PORT_BH_CB_T)(MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buffer)
Definition: mmal_port.h:132
const char * name
Definition: mmal_port.h:82
struct MMAL_PORT_USERDATA_T * userdata
Definition: mmal_port.h:110
uint32_t buffer_num_recommended
Definition: mmal_port.h:98
Definition: mmal_format.h:125
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)
Definition: mmal_port.h:51
Definition: mmal_port.h:79
MMAL_PORT_TYPE_T
Definition: mmal_port.h:45
Definition: mmal_port.h:50
MMAL_ES_FORMAT_T * format
Definition: mmal_port.h:89
uint32_t buffer_size_recommended
Definition: mmal_port.h:101
uint16_t index
Definition: mmal_port.h:85
MMAL_PORT_TYPE_T type
Definition: mmal_port.h:84
uint8_t * mmal_port_payload_alloc(MMAL_PORT_T *port, uint32_t payload_size)
Definition: mmal_component.h:48
MMAL_STATUS_T mmal_port_enable(MMAL_PORT_T *port, MMAL_PORT_BH_CB_T cb)
Definition: mmal_port.h:48
MMAL_STATUS_T mmal_port_disable(MMAL_PORT_T *port)
uint16_t index_all
Definition: mmal_port.h:86
MMAL_STATUS_T mmal_port_parameter_set(MMAL_PORT_T *port, const MMAL_PARAMETER_HEADER_T *param)
uint32_t capabilities
Definition: mmal_port.h:112
uint32_t buffer_num_min
Definition: mmal_port.h:91
uint32_t buffer_alignment_min
Definition: mmal_port.h:95
struct MMAL_PORT_PRIVATE_T * priv
Definition: mmal_port.h:81
Definition: mmal_parameters_common.h:86
struct MMAL_COMPONENT_T * component
Definition: mmal_port.h:109
uint32_t buffer_num
Definition: mmal_port.h:104
MMAL_STATUS_T mmal_port_parameter_get(MMAL_PORT_T *port, MMAL_PARAMETER_HEADER_T *param)
Definition: mmal_port.h:47
MMAL_STATUS_T mmal_port_event_get(MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T **buffer, uint32_t event)
Definition: mmal_buffer.h:69
Definition: mmal_port.h:49
MMAL_STATUS_T mmal_port_send_buffer(MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buffer)
Definition: mmal_port.h:52
MMAL_STATUS_T mmal_port_format_commit(MMAL_PORT_T *port)
uint32_t is_enabled
Definition: mmal_port.h:88
MMAL_STATUS_T
Definition: mmal_types.h:46
uint32_t buffer_size_min
Definition: mmal_port.h:93
struct MMAL_PORT_T MMAL_PORT_T
uint32_t buffer_size
Definition: mmal_port.h:106
void mmal_port_payload_free(MMAL_PORT_T *port, uint8_t *payload)