PipeWire  0.3.33
iter.h File Reference

Go to the source code of this file.

Data Structures

struct  spa_pod_frame
 

Macros

#define SPA_POD_ARRAY_BODY_FOREACH(body, _size, iter)
 
#define SPA_POD_ARRAY_FOREACH(obj, iter)    SPA_POD_ARRAY_BODY_FOREACH(&(obj)->body, SPA_POD_BODY_SIZE(obj), iter)
 
#define SPA_POD_CHOICE_BODY_FOREACH(body, _size, iter)
 
#define SPA_POD_CHOICE_FOREACH(obj, iter)    SPA_POD_CHOICE_BODY_FOREACH(&(obj)->body, SPA_POD_BODY_SIZE(obj), iter)
 
#define SPA_POD_FOREACH(pod, size, iter)
 
#define SPA_POD_STRUCT_FOREACH(obj, iter)    SPA_POD_FOREACH(SPA_POD_BODY(obj), SPA_POD_BODY_SIZE(obj), iter)
 
#define SPA_POD_OBJECT_BODY_FOREACH(body, size, iter)
 
#define SPA_POD_OBJECT_FOREACH(obj, iter)    SPA_POD_OBJECT_BODY_FOREACH(&(obj)->body, SPA_POD_BODY_SIZE(obj), iter)
 
#define SPA_POD_SEQUENCE_BODY_FOREACH(body, size, iter)
 
#define SPA_POD_SEQUENCE_FOREACH(seq, iter)    SPA_POD_SEQUENCE_BODY_FOREACH(&(seq)->body, SPA_POD_BODY_SIZE(seq), iter)
 

Functions

bool spa_pod_is_inside (const void *pod, uint32_t size, const void *iter)
 
void * spa_pod_next (const void *iter)
 
struct spa_pod_propspa_pod_prop_first (const struct spa_pod_object_body *body)
 
bool spa_pod_prop_is_inside (const struct spa_pod_object_body *body, uint32_t size, const struct spa_pod_prop *iter)
 
struct spa_pod_propspa_pod_prop_next (const struct spa_pod_prop *iter)
 
struct spa_pod_controlspa_pod_control_first (const struct spa_pod_sequence_body *body)
 
bool spa_pod_control_is_inside (const struct spa_pod_sequence_body *body, uint32_t size, const struct spa_pod_control *iter)
 
struct spa_pod_controlspa_pod_control_next (const struct spa_pod_control *iter)
 
void * spa_pod_from_data (void *data, size_t maxsize, off_t offset, size_t size)
 
int spa_pod_is_none (const struct spa_pod *pod)
 
int spa_pod_is_bool (const struct spa_pod *pod)
 
int spa_pod_get_bool (const struct spa_pod *pod, bool *value)
 
int spa_pod_is_id (const struct spa_pod *pod)
 
int spa_pod_get_id (const struct spa_pod *pod, uint32_t *value)
 
int spa_pod_is_int (const struct spa_pod *pod)
 
int spa_pod_get_int (const struct spa_pod *pod, int32_t *value)
 
int spa_pod_is_long (const struct spa_pod *pod)
 
int spa_pod_get_long (const struct spa_pod *pod, int64_t *value)
 
int spa_pod_is_float (const struct spa_pod *pod)
 
int spa_pod_get_float (const struct spa_pod *pod, float *value)
 
int spa_pod_is_double (const struct spa_pod *pod)
 
int spa_pod_get_double (const struct spa_pod *pod, double *value)
 
int spa_pod_is_string (const struct spa_pod *pod)
 
int spa_pod_get_string (const struct spa_pod *pod, const char **value)
 
int spa_pod_copy_string (const struct spa_pod *pod, size_t maxlen, char *dest)
 
int spa_pod_is_bytes (const struct spa_pod *pod)
 
int spa_pod_get_bytes (const struct spa_pod *pod, const void **value, uint32_t *len)
 
int spa_pod_is_pointer (const struct spa_pod *pod)
 
int spa_pod_get_pointer (const struct spa_pod *pod, uint32_t *type, const void **value)
 
int spa_pod_is_fd (const struct spa_pod *pod)
 
int spa_pod_get_fd (const struct spa_pod *pod, int64_t *value)
 
int spa_pod_is_rectangle (const struct spa_pod *pod)
 
int spa_pod_get_rectangle (const struct spa_pod *pod, struct spa_rectangle *value)
 
int spa_pod_is_fraction (const struct spa_pod *pod)
 
int spa_pod_get_fraction (const struct spa_pod *pod, struct spa_fraction *value)
 
int spa_pod_is_bitmap (const struct spa_pod *pod)
 
int spa_pod_is_array (const struct spa_pod *pod)
 
void * spa_pod_get_array (const struct spa_pod *pod, uint32_t *n_values)
 
uint32_t spa_pod_copy_array (const struct spa_pod *pod, uint32_t type, void *values, uint32_t max_values)
 
int spa_pod_is_choice (const struct spa_pod *pod)
 
struct spa_podspa_pod_get_values (const struct spa_pod *pod, uint32_t *n_vals, uint32_t *choice)
 
int spa_pod_is_struct (const struct spa_pod *pod)
 
int spa_pod_is_object (const struct spa_pod *pod)
 
bool spa_pod_is_object_type (const struct spa_pod *pod, uint32_t type)
 
bool spa_pod_is_object_id (const struct spa_pod *pod, uint32_t id)
 
int spa_pod_is_sequence (const struct spa_pod *pod)
 
const struct spa_pod_propspa_pod_object_find_prop (const struct spa_pod_object *pod, const struct spa_pod_prop *start, uint32_t key)
 
const struct spa_pod_propspa_pod_find_prop (const struct spa_pod *pod, const struct spa_pod_prop *start, uint32_t key)
 
int spa_pod_object_fixate (struct spa_pod_object *pod)
 
int spa_pod_fixate (struct spa_pod *pod)