17 #define SPA_API_META SPA_API_IMPL 19 #define SPA_API_META static inline 64 #define spa_meta_check(p,m) (SPA_PTROFF(p,sizeof(*(p)),void) <= spa_meta_end(m)) 71 #define SPA_META_HEADER_FLAG_DISCONT (1 << 0) 72 #define SPA_META_HEADER_FLAG_CORRUPTED (1 << 1) 73 #define SPA_META_HEADER_FLAG_MARKER (1 << 2) 74 #define SPA_META_HEADER_FLAG_HEADER (1 << 3) 75 #define SPA_META_HEADER_FLAG_GAP (1 << 4) 76 #define SPA_META_HEADER_FLAG_DELTA_UNIT (1 << 5) 95 #define spa_meta_for_each(pos,meta) \ 96 for ((pos) = (__typeof(pos))spa_meta_first(meta); \ 97 spa_meta_check(pos, meta); \ 135 uint32_t bitmap_offset;
187 #define SPA_META_SYNC_TIMELINE_UNSCHEDULED_RELEASE (1<<0) 192 uint64_t acquire_point;
194 uint64_t release_point;
struct spa_meta_cursor
Definition: meta.h:41
spa_meta_videotransform_value
Definition: meta.h:169
struct spa_meta_sync_timeline
Definition: meta.h:46
struct spa_meta_transform
Definition: meta.h:45
SPA_API_META void * spa_meta_first(const struct spa_meta *m)
Definition: meta.h:64
uint32_t height
Definition: defs.h:118
SPA_API_META bool spa_meta_bitmap_is_valid(const struct spa_meta_bitmap *m)
Definition: meta.h:132
struct spa_meta_header
Definition: meta.h:37
metadata contains a spa_meta_control associated with the data
Definition: meta.h:42
no transform
Definition: meta.h:170
SPA_API_META bool spa_meta_cursor_is_valid(const struct spa_meta_cursor *m)
Definition: meta.h:154
90 degree counter-clockwise
Definition: meta.h:171
flip then rotate around 180 degree counter-clockwise
Definition: meta.h:178
array of struct spa_meta_region with damage, where an invalid entry or end-of-array marks the end...
Definition: meta.h:39
struct spa_meta_region with cropping data
Definition: meta.h:38
180 degree flipped around the vertical axis.
Definition: meta.h:174
flip then rotate around 90 degree counter-clockwise
Definition: meta.h:177
struct spa_rectangle size
Definition: defs.h:132
flip then rotate around 270 degree counter-clockwise
Definition: meta.h:179
not part of ABI/API
Definition: meta.h:48
uint32_t width
Definition: defs.h:117
struct spa_meta_bitmap
Definition: meta.h:40
don't write to buffer when count > 0
Definition: meta.h:44
SPA_API_META bool spa_meta_region_is_valid(const struct spa_meta_region *m)
Definition: meta.h:103
270 degree counter-clockwise
Definition: meta.h:173
#define SPA_PTROFF(ptr_, offset_, type_)
Return the address (buffer + offset) as pointer of type.
Definition: defs.h:222
spa_meta_type
Definition: meta.h:35
SPA_API_META void * spa_meta_end(const struct spa_meta *m)
Definition: meta.h:68
uint32_t id
Definition: core.h:432
180 degree counter-clockwise
Definition: meta.h:172
a sequence of timed controls
Definition: pod.h:252