16#ifndef ZEPHYR_INCLUDE_MPIPE_MPIPE_PARSER_H_
17#define ZEPHYR_INCLUDE_MPIPE_MPIPE_PARSER_H_
mpipe_state_change
enum mpipe_state_change
Definition mpipe_element.h:141
mpipe_pad_direction
The direction of a pad.
Definition mpipe_pad.h:87
int mpipe_parser_init(struct mpipe_parser *parser, uint8_t id)
Initialize a parser element.
int mpipe_parser_change_state(struct mpipe_element *self, enum mpipe_state_change transition)
Change state function for the base parser element.
Buffer and buffer pool APIs.
Element: the unit a pipeline is built from.
Pad: the point where two elements meet.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Buffer pool structure.
Definition mpipe_buffer.h:75
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
Base parser element structure.
Definition mpipe_parser.h:52
struct mpipe_element element
Base element.
Definition mpipe_parser.h:54
int(* propose_buffer_pool)(struct mpipe_parser *parser, struct mpipe_dispatch *query)
Propose a buffer pool to upstream.
Definition mpipe_parser.h:81
int(* set_caps)(struct mpipe_parser *parser, enum mpipe_pad_direction direction, const struct mpipe_structure *caps)
Set a capability on a pad.
Definition mpipe_parser.h:71
struct mpipe_pad sink_pad
Sink pad to receive data.
Definition mpipe_parser.h:56
struct mpipe_buffer_pool * out_pool
Pointer to the output buffer pool.
Definition mpipe_parser.h:60
struct mpipe_pad src_pad
Source pad to send data.
Definition mpipe_parser.h:58
int(* decide_buffer_pool)(struct mpipe_parser *parser, struct mpipe_dispatch *query)
Decide the buffer pool for downstream.
Definition mpipe_parser.h:95
Fixed-size container holding the fields of one capability.
Definition mpipe_structure.h:179