PipeWire: spa/pod/body.h File Reference

PipeWire 1.6.6

Loading...
Searching...
No Matches
body.h File Reference
SPA » POD

spa/pod/body.h More...

Go to the source code of this file.

## Data Structures
struct | spa_pod_frame

## Macros
#define | SPA_API_POD_BODY static inline
#define | SPA_POD_BODY_LOAD_ONCE(a, b)
#define | SPA_POD_BODY_LOAD_FIELD_ONCE(a, b, field)

## Functions
SPA_API_POD_BODY uint32_t | spa_pod_type_size (uint32_t type)
SPA_API_POD_BODY int | spa_pod_choice_n_values (uint32_t choice_type, uint32_t *min, uint32_t *max)
SPA_API_POD_BODY int | spa_pod_body_from_data (void *data, size_t maxsize, off_t offset, size_t size, struct spa_pod *pod, const void **body)
SPA_API_POD_BODY int | spa_pod_is_none (const struct spa_pod *pod)
SPA_API_POD_BODY int | spa_pod_is_bool (const struct spa_pod *pod)
SPA_API_POD_BODY int | spa_pod_body_get_bool (const struct spa_pod *pod, const void *body, bool *value)
SPA_API_POD_BODY int | spa_pod_is_id (const struct spa_pod *pod)
SPA_API_POD_BODY int | spa_pod_body_get_id (const struct spa_pod *pod, const void *body, uint32_t *value)
SPA_API_POD_BODY int | spa_pod_is_int (const struct spa_pod *pod)
SPA_API_POD_BODY int | spa_pod_body_get_int (const struct spa_pod *pod, const void *body, int32_t *value)
SPA_API_POD_BODY int | spa_pod_is_long (const struct spa_pod *pod)
SPA_API_POD_BODY int | spa_pod_body_get_long (const struct spa_pod *pod, const void *body, int64_t *value)
SPA_API_POD_BODY int | spa_pod_is_float (const struct spa_pod *pod)
SPA_API_POD_BODY int | spa_pod_body_get_float (const struct spa_pod *pod, const void *body, float *value)
SPA_API_POD_BODY int | spa_pod_is_double (const struct spa_pod *pod)
SPA_API_POD_BODY int | spa_pod_body_get_double (const struct spa_pod *pod, const void *body, double *value)
SPA_API_POD_BODY int | spa_pod_is_string (const struct spa_pod *pod)
SPA_API_POD_BODY int | spa_pod_body_get_string (const struct spa_pod *pod, const void *body, const char **value)
SPA_API_POD_BODY int | spa_pod_body_copy_string (const struct spa_pod *pod, const void *body, char *dest, size_t maxlen)
SPA_API_POD_BODY int | spa_pod_is_bytes (const struct spa_pod *pod)
SPA_API_POD_BODY int | spa_pod_body_get_bytes (const struct spa_pod *pod, const void *body, const void **value, uint32_t *len)
SPA_API_POD_BODY int | spa_pod_is_pointer (const struct spa_pod *pod)
SPA_API_POD_BODY int | spa_pod_body_get_pointer (const struct spa_pod *pod, const void *body, uint32_t *type, const void **value)
SPA_API_POD_BODY int | spa_pod_is_fd (const struct spa_pod *pod)
SPA_API_POD_BODY int | spa_pod_body_get_fd (const struct spa_pod *pod, const void *body, int64_t *value)
SPA_API_POD_BODY int | spa_pod_is_rectangle (const struct spa_pod *pod)
SPA_API_POD_BODY int | spa_pod_body_get_rectangle (const struct spa_pod *pod, const void *body, struct spa_rectangle *value)
SPA_API_POD_BODY int | spa_pod_is_fraction (const struct spa_pod *pod)
SPA_API_POD_BODY int | spa_pod_body_get_fraction (const struct spa_pod *pod, const void *body, struct spa_fraction *value)
SPA_API_POD_BODY int | spa_pod_is_bitmap (const struct spa_pod *pod)
SPA_API_POD_BODY int | spa_pod_body_get_bitmap (const struct spa_pod *pod, const void *body, const uint8_t **value)
SPA_API_POD_BODY int | spa_pod_is_array (const struct spa_pod *pod)
SPA_API_POD_BODY int | spa_pod_body_get_array (const struct spa_pod *pod, const void *body, struct spa_pod_array *arr, const void **arr_body)
SPA_API_POD_BODY const void * | spa_pod_array_body_get_values (const struct spa_pod_array *arr, const void *body, uint32_t *n_values, uint32_t *val_size, uint32_t *val_type)
SPA_API_POD_BODY const void * | spa_pod_body_get_array_values (const struct spa_pod *pod, const void *body, uint32_t *n_values, uint32_t *val_size, uint32_t *val_type)
SPA_API_POD_BODY int | spa_pod_is_choice (const struct spa_pod *pod)
SPA_API_POD_BODY int | spa_pod_body_get_choice (const struct spa_pod *pod, const void *body, struct spa_pod_choice *choice, const void **choice_body)
SPA_API_POD_BODY const void * | spa_pod_choice_body_get_values (const struct spa_pod_choice *pod, const void *body, uint32_t *n_values, uint32_t *choice, uint32_t *val_size, uint32_t *val_type)
SPA_API_POD_BODY int | spa_pod_is_struct (const struct spa_pod *pod)
SPA_API_POD_BODY int | spa_pod_is_object (const struct spa_pod *pod)
SPA_API_POD_BODY int | spa_pod_body_get_object (const struct spa_pod *pod, const void *body, struct spa_pod_object *object, const void **object_body)
SPA_API_POD_BODY int | spa_pod_is_sequence (const struct spa_pod *pod)
SPA_API_POD_BODY int | spa_pod_body_get_sequence (const struct spa_pod *pod, const void *body, struct spa_pod_sequence *seq, const void **seq_body)

## Detailed Description

spa/pod/body.h

## Macro Definition Documentation

## ◆ SPA_API_POD_BODY

#define SPA_API_POD_BODY static inline