13#ifndef ZEPHYR_INCLUDE_MPIPE_MPIPE_SINK_H_
14#define ZEPHYR_INCLUDE_MPIPE_MPIPE_SINK_H_
mpipe_state_change
enum mpipe_state_change
Definition mpipe_element.h:141
int mpipe_sink_change_state(struct mpipe_element *self, enum mpipe_state_change transition)
Change state function for the base sink element.
mpipe_prop_sink
Properties for a sink element.
Definition mpipe_sink.h:47
int mpipe_sink_init(struct mpipe_sink *sink, uint8_t id)
Initialize a sink element.
@ MPIPE_PROP_SINK_LAST
Last sink property marker (for validation/iteration).
Definition mpipe_sink.h:49
Buffer and buffer pool APIs.
Element: the unit a pipeline is built from.
Pad: the point where two elements meet.
Structure: one media capability, held by value.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
A query or an event traveling a pad link.
Definition mpipe_dispatch.h:77
Element base class.
Definition mpipe_element.h:165
Pad structure.
Definition mpipe_pad.h:128
Sink Element Structure.
Definition mpipe_sink.h:58
int(* set_caps)(struct mpipe_sink *sink, const struct mpipe_structure *caps)
Set a given caps to the element.
Definition mpipe_sink.h:69
struct mpipe_pad sink_pad
Input pad for receiving data.
Definition mpipe_sink.h:62
int(* propose_buffer_pool)(struct mpipe_sink *self, struct mpipe_dispatch *query)
Propose a buffer pool to the upstream peer.
Definition mpipe_sink.h:76
struct mpipe_element element
Base element structure.
Definition mpipe_sink.h:60
Fixed-size container holding the fields of one capability.
Definition mpipe_structure.h:179