70 #define spa_meta_first spa_meta_first
74 #define spa_meta_end spa_meta_end
75 #define spa_meta_check(p,m) (SPA_PTROFF(p,sizeof(*(p)),void) <= spa_meta_end(m))
82 #define SPA_META_HEADER_FLAG_DISCONT (1 << 0)
83 #define SPA_META_HEADER_FLAG_CORRUPTED (1 << 1)
84 #define SPA_META_HEADER_FLAG_MARKER (1 << 2)
85 #define SPA_META_HEADER_FLAG_HEADER (1 << 3)
86 #define SPA_META_HEADER_FLAG_GAP (1 << 4)
87 #define SPA_META_HEADER_FLAG_DELTA_UNIT (1 << 5)
104 #define spa_meta_region_is_valid spa_meta_region_is_valid
107 #define spa_meta_for_each(pos,meta) \
108 for ((pos) = (__typeof(pos))spa_meta_first(meta); \
109 spa_meta_check(pos, meta); \
112 #define spa_meta_bitmap_is_valid(m) ((m)->format != 0)
133 #define spa_meta_cursor_is_valid(m) ((m)->id != 0)
#define spa_meta_region_is_valid
Definition: meta.h:115
#define spa_meta_end
Definition: meta.h:79
#define spa_meta_first
Definition: meta.h:75
spa_meta_type
Definition: meta.h:45
@ SPA_META_VideoDamage
array of struct spa_meta_region with damage, where an invalid entry or end-of-array marks the end.
Definition: meta.h:49
@ SPA_META_Bitmap
struct spa_meta_bitmap
Definition: meta.h:50
@ SPA_META_Cursor
struct spa_meta_cursor
Definition: meta.h:51
@ SPA_META_Busy
don't write to buffer when count > 0
Definition: meta.h:54
@ SPA_META_VideoCrop
struct spa_meta_region with cropping data
Definition: meta.h:48
@ SPA_META_Header
struct spa_meta_header
Definition: meta.h:47
@ SPA_META_Control
metadata contains a spa_meta_control associated with the data
Definition: meta.h:52
@ SPA_META_Invalid
Definition: meta.h:46
@ _SPA_META_LAST
not part of ABI/API
Definition: meta.h:56
#define SPA_PTROFF(ptr_, offset_, type_)
Return the address (buffer + offset) as pointer of type.
Definition: defs.h:210
a sequence of timed controls
Definition: pod.h:268
uint32_t width
Definition: defs.h:119
uint32_t height
Definition: defs.h:120
struct spa_rectangle size
Definition: defs.h:134