|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
Fixed-size container holding the fields of one capability. More...
#include <mpipe_structure.h>
Data Fields | |
| uint8_t | media_type_id |
| Media type of the structure, see mpipe_media_type. | |
| uint8_t | flags |
| Structure flags, see MPIPE_STRUCTURE_FLAG_ANY. | |
| uint8_t | num_fields |
| Number of slots in use at the front of ids and values. | |
| uint8_t | ids [CONFIG_MPIPE_STRUCTURE_MAX_FIELDS] |
| Field identifier held by each slot, see mpipe_caps_field. | |
| struct mpipe_value | values [CONFIG_MPIPE_STRUCTURE_MAX_FIELDS] |
| Value held by each slot. | |
Fixed-size container holding the fields of one capability.
Fields occupy the first num_fields slots of ids and values, which are parallel: ids[i] names the field that values[i] holds. A slot index carries no meaning of its own, so the number of identifiers that exist costs nothing here; only how many fields one structure holds at once does, bounded by CONFIG_MPIPE_STRUCTURE_MAX_FIELDS.
| uint8_t mpipe_structure::flags |
Structure flags, see MPIPE_STRUCTURE_FLAG_ANY.
| uint8_t mpipe_structure::ids[CONFIG_MPIPE_STRUCTURE_MAX_FIELDS] |
Field identifier held by each slot, see mpipe_caps_field.
| uint8_t mpipe_structure::media_type_id |
Media type of the structure, see mpipe_media_type.
| struct mpipe_value mpipe_structure::values[CONFIG_MPIPE_STRUCTURE_MAX_FIELDS] |
Value held by each slot.