Go to the documentation of this file.
67 #define spa_meta_first(m) ((m)->data)
68 #define spa_meta_end(m) SPA_PTROFF((m)->data,(m)->size,void)
69 #define spa_meta_check(p,m) (SPA_PTROFF(p,sizeof(*p),void) <= spa_meta_end(m))
76 #define SPA_META_HEADER_FLAG_DISCONT (1 << 0)
77 #define SPA_META_HEADER_FLAG_CORRUPTED (1 << 1)
78 #define SPA_META_HEADER_FLAG_MARKER (1 << 2)
79 #define SPA_META_HEADER_FLAG_HEADER (1 << 3)
80 #define SPA_META_HEADER_FLAG_GAP (1 << 4)
81 #define SPA_META_HEADER_FLAG_DELTA_UNIT (1 << 5)
95 #define spa_meta_region_is_valid(m) ((m)->region.size.width != 0 && (m)->region.size.height != 0)
98 #define spa_meta_for_each(pos,meta) \
99 for (pos = (__typeof(pos))spa_meta_first(meta); \
100 spa_meta_check(pos, meta); \
103 #define spa_meta_bitmap_is_valid(m) ((m)->format != 0)
124 #define spa_meta_cursor_is_valid(m) ((m)->id != 0)
138 uint32_t bitmap_offset;
@ SPA_META_Cursor
struct spa_meta_cursor
Definition: meta.h:46
@ SPA_META_Invalid
Definition: meta.h:41
@ SPA_META_VideoCrop
struct spa_meta_region with cropping data
Definition: meta.h:43
@ SPA_META_VideoDamage
array of struct spa_meta_region with damage
Definition: meta.h:44
@ SPA_META_Busy
don't write to buffer when count > 0
Definition: meta.h:49
@ _SPA_META_LAST
not part of ABI/API
Definition: meta.h:51
@ SPA_META_Bitmap
struct spa_meta_bitmap
Definition: meta.h:45
a sequence of timed controls
Definition: pod/pod.h:233
spa_meta_type
Definition: meta.h:40
@ SPA_META_Header
struct spa_meta_header
Definition: meta.h:42
@ SPA_META_Control
metadata contains a spa_meta_control associated with the data
Definition: meta.h:47