51 #define spa_meta_first spa_meta_first
55 #define spa_meta_end spa_meta_end
56 #define spa_meta_check(p,m) (SPA_PTROFF(p,sizeof(*(p)),void) <= spa_meta_end(m))
63 #define SPA_META_HEADER_FLAG_DISCONT (1 << 0)
64 #define SPA_META_HEADER_FLAG_CORRUPTED (1 << 1)
65 #define SPA_META_HEADER_FLAG_MARKER (1 << 2)
66 #define SPA_META_HEADER_FLAG_HEADER (1 << 3)
67 #define SPA_META_HEADER_FLAG_GAP (1 << 4)
68 #define SPA_META_HEADER_FLAG_DELTA_UNIT (1 << 5)
85 #define spa_meta_region_is_valid spa_meta_region_is_valid
88 #define spa_meta_for_each(pos,meta) \
89 for ((pos) = (__typeof(pos))spa_meta_first(meta); \
90 spa_meta_check(pos, meta); \
93 #define spa_meta_bitmap_is_valid(m) ((m)->format != 0)
114 #define spa_meta_cursor_is_valid(m) ((m)->id != 0)
#define spa_meta_region_is_valid
Definition: meta.h:96
#define spa_meta_end
Definition: meta.h:60
#define spa_meta_first
Definition: meta.h:56
spa_meta_videotransform_value
Definition: meta.h:156
spa_meta_type
Definition: meta.h:25
@ SPA_META_TRANSFORMATION_Flipped270
flip then rotate around 270 degree counter-clockwise
Definition: meta.h:166
@ SPA_META_TRANSFORMATION_Flipped
180 degree flipped around the vertical axis.
Definition: meta.h:161
@ SPA_META_TRANSFORMATION_270
270 degree counter-clockwise
Definition: meta.h:160
@ SPA_META_TRANSFORMATION_Flipped180
flip then rotate around 180 degree counter-clockwise
Definition: meta.h:165
@ SPA_META_TRANSFORMATION_Flipped90
flip then rotate around 90 degree counter-clockwise
Definition: meta.h:164
@ SPA_META_TRANSFORMATION_None
no transform
Definition: meta.h:157
@ SPA_META_TRANSFORMATION_90
90 degree counter-clockwise
Definition: meta.h:158
@ SPA_META_TRANSFORMATION_180
180 degree counter-clockwise
Definition: meta.h:159
@ 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:29
@ SPA_META_Bitmap
struct spa_meta_bitmap
Definition: meta.h:30
@ SPA_META_VideoTransform
struct spa_meta_transform
Definition: meta.h:35
@ SPA_META_Cursor
struct spa_meta_cursor
Definition: meta.h:31
@ SPA_META_Busy
don't write to buffer when count > 0
Definition: meta.h:34
@ SPA_META_VideoCrop
struct spa_meta_region with cropping data
Definition: meta.h:28
@ SPA_META_Header
struct spa_meta_header
Definition: meta.h:27
@ SPA_META_Control
metadata contains a spa_meta_control associated with the data
Definition: meta.h:32
@ SPA_META_Invalid
Definition: meta.h:26
@ _SPA_META_LAST
not part of ABI/API
Definition: meta.h:37
#define SPA_PTROFF(ptr_, offset_, type_)
Return the address (buffer + offset) as pointer of type.
Definition: defs.h:194
a sequence of timed controls
Definition: pod/pod.h:248
uint32_t width
Definition: defs.h:103
uint32_t height
Definition: defs.h:104
struct spa_rectangle size
Definition: defs.h:118