28 #ifndef MMAL_PORT_PRIVATE_H 29 #define MMAL_PORT_PRIVATE_H 43 struct MMAL_PORT_PRIVATE_CORE_T *
core;
47 struct MMAL_PORT_CLOCK_T *
clock;
58 uint8_t *(*pf_payload_alloc)(
MMAL_PORT_T *port, uint32_t payload_size);
78 unsigned int extra_size);
MMAL_BOOL_T mmal_port_is_connected(MMAL_PORT_T *port)
struct MMAL_PORT_MODULE_T * module
MMAL_PORT_T * mmal_port_alloc(MMAL_COMPONENT_T *, MMAL_PORT_TYPE_T type, unsigned int extra_size)
MMAL_PORT_T ** mmal_ports_alloc(MMAL_COMPONENT_T *, unsigned int ports_num, MMAL_PORT_TYPE_T type, unsigned int extra_size)
MMAL_STATUS_T mmal_port_clock_discont_threshold_set(MMAL_PORT_T *port, const MMAL_CLOCK_DISCONT_THRESHOLD_T *threshold)
void(* MMAL_PORT_BH_CB_T)(MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buffer)
MMAL_STATUS_T mmal_port_release(MMAL_PORT_T *port)
void mmal_ports_clock_free(MMAL_PORT_T **ports, unsigned int ports_num)
void mmal_port_clock_free(MMAL_PORT_T *port)
void mmal_port_acquire(MMAL_PORT_T *port)
MMAL_STATUS_T mmal_port_clock_media_time_set(MMAL_PORT_T *port, int64_t media_time)
MMAL_STATUS_T(* pf_disable)(MMAL_PORT_T *port)
MMAL_STATUS_T(* pf_flush)(MMAL_PORT_T *port)
MMAL_BOOL_T mmal_port_clock_active_get(MMAL_PORT_T *port)
MMAL_STATUS_T mmal_port_pause(MMAL_PORT_T *port, MMAL_BOOL_T pause)
MMAL_STATUS_T(* pf_set_format)(MMAL_PORT_T *port)
MMAL_STATUS_T mmal_port_clock_request_flush(MMAL_PORT_T *port)
MMAL_RATIONAL_T mmal_port_clock_scale_get(MMAL_PORT_T *port)
MMAL_BOOL_T mmal_port_clock_reference_get(MMAL_PORT_T *port)
int64_t mmal_port_clock_media_time_get(MMAL_PORT_T *port)
MMAL_STATUS_T(* pf_connect)(MMAL_PORT_T *port, MMAL_PORT_T *other_port)
MMAL_STATUS_T mmal_port_clock_update_threshold_set(MMAL_PORT_T *port, const MMAL_CLOCK_UPDATE_THRESHOLD_T *threshold)
MMAL_STATUS_T(* pf_send)(MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *)
MMAL_STATUS_T mmal_port_clock_request_threshold_get(MMAL_PORT_T *port, MMAL_CLOCK_REQUEST_THRESHOLD_T *threshold)
void mmal_port_event_send(MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buffer)
void mmal_port_clock_input_buffer_info(MMAL_PORT_T *port, const MMAL_CLOCK_BUFFER_INFO_T *info)
MMAL_STATUS_T(* pf_enable)(MMAL_PORT_T *port, MMAL_PORT_BH_CB_T)
void(* MMAL_PORT_CLOCK_REQUEST_CB)(MMAL_PORT_T *port, int64_t media_time, void *cb_data)
MMAL_PORT_T ** mmal_ports_clock_alloc(MMAL_COMPONENT_T *component, unsigned int ports_num, unsigned int extra_size, MMAL_PORT_CLOCK_EVENT_CB event_cb)
MMAL_STATUS_T mmal_port_clock_discont_threshold_get(MMAL_PORT_T *port, MMAL_CLOCK_DISCONT_THRESHOLD_T *threshold)
MMAL_PORT_T * mmal_port_clock_alloc(MMAL_COMPONENT_T *component, unsigned int extra_size, MMAL_PORT_CLOCK_EVENT_CB event_cb)
MMAL_STATUS_T mmal_port_clock_request_threshold_set(MMAL_PORT_T *port, const MMAL_CLOCK_REQUEST_THRESHOLD_T *threshold)
MMAL_STATUS_T mmal_port_clock_update_threshold_get(MMAL_PORT_T *port, MMAL_CLOCK_UPDATE_THRESHOLD_T *threshold)
struct MMAL_PORT_PRIVATE_T MMAL_PORT_PRIVATE_T
void mmal_port_clock_output_buffer_info(MMAL_PORT_T *port, const MMAL_CLOCK_BUFFER_INFO_T *info)
MMAL_STATUS_T mmal_port_clock_request_add(MMAL_PORT_T *port, int64_t media_time, MMAL_PORT_CLOCK_REQUEST_CB cb, void *cb_data)
MMAL_STATUS_T(* pf_parameter_get)(MMAL_PORT_T *port, MMAL_PARAMETER_HEADER_T *param)
struct MMAL_PORT_PRIVATE_CORE_T * core
void mmal_port_free(MMAL_PORT_T *port)
MMAL_STATUS_T mmal_port_clock_scale_set(MMAL_PORT_T *port, MMAL_RATIONAL_T scale)
void mmal_port_buffer_header_callback(MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buffer)
MMAL_STATUS_T mmal_port_clock_reference_set(MMAL_PORT_T *port, MMAL_BOOL_T reference)
MMAL_STATUS_T(* pf_parameter_set)(MMAL_PORT_T *port, const MMAL_PARAMETER_HEADER_T *param)
void mmal_ports_free(MMAL_PORT_T **ports, unsigned int ports_num)
MMAL_STATUS_T mmal_port_clock_active_set(MMAL_PORT_T *port, MMAL_BOOL_T active)
struct MMAL_PORT_CLOCK_T * clock
void(* MMAL_PORT_CLOCK_EVENT_CB)(MMAL_PORT_T *port, const MMAL_CLOCK_EVENT_T *event)
void(* pf_payload_free)(MMAL_PORT_T *port, uint8_t *payload)