|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
Element base class. More...
#include <mpipe_element.h>
Data Fields | |
| struct mpipe_object | object |
| Base object. | |
| const char * | name |
| Name of the element, set to its type by the element's init function and overridable per instance with mpipe_element_set_name. | |
| sys_dlist_t | src_pads |
| List of source pads. | |
| sys_dlist_t | sink_pads |
| List of sink pads. | |
| enum mpipe_state | current_state |
| Current state of the element. | |
| int(* | set_state )(struct mpipe_element *element, enum mpipe_state state) |
| Set state function, 0 on success, negative errno otherwise. | |
| int(* | change_state )(struct mpipe_element *element, enum mpipe_state_change transition) |
| Change state function, 0 on success, negative errno otherwise. | |
Element base class.
The base class for all elements. Elements are the basic building blocks of a multimedia pipeline. They can have source pads (outputs) and sink pads (inputs) and can be linked together to form processing chains.
| int(* mpipe_element::change_state) (struct mpipe_element *element, enum mpipe_state_change transition) |
Change state function, 0 on success, negative errno otherwise.
| enum mpipe_state mpipe_element::current_state |
Current state of the element.
| const char* mpipe_element::name |
Name of the element, set to its type by the element's init function and overridable per instance with mpipe_element_set_name.
Debugging only.
CONFIG_MPIPE_DUMP.
| struct mpipe_object mpipe_element::object |
Base object.
| int(* mpipe_element::set_state) (struct mpipe_element *element, enum mpipe_state state) |
Set state function, 0 on success, negative errno otherwise.
| sys_dlist_t mpipe_element::sink_pads |
List of sink pads.
| sys_dlist_t mpipe_element::src_pads |
List of source pads.