5#ifndef SPA_BUFFER_TYPES_H
6#define SPA_BUFFER_TYPES_H
21#define SPA_TYPE_INFO_Buffer SPA_TYPE_INFO_POINTER_BASE "Buffer"
22#define SPA_TYPE_INFO_BUFFER_BASE SPA_TYPE_INFO_Buffer ":"
25#define SPA_TYPE_INFO_Data SPA_TYPE_INFO_ENUM_BASE "Data"
26#define SPA_TYPE_INFO_DATA_BASE SPA_TYPE_INFO_Data ":"
29#define SPA_TYPE_INFO_DATA_Fd SPA_TYPE_INFO_DATA_BASE "Fd"
30#define SPA_TYPE_INFO_DATA_FD_BASE SPA_TYPE_INFO_DATA_Fd ":"
42#define SPA_TYPE_INFO_Meta SPA_TYPE_INFO_POINTER_BASE "Meta"
43#define SPA_TYPE_INFO_META_BASE SPA_TYPE_INFO_Meta ":"
45#define SPA_TYPE_INFO_META_Array SPA_TYPE_INFO_META_BASE "Array"
46#define SPA_TYPE_INFO_META_ARRAY_BASE SPA_TYPE_INFO_META_Array ":"
48#define SPA_TYPE_INFO_META_Region SPA_TYPE_INFO_META_BASE "Region"
49#define SPA_TYPE_INFO_META_REGION_BASE SPA_TYPE_INFO_META_Region ":"
51#define SPA_TYPE_INFO_META_ARRAY_Region SPA_TYPE_INFO_META_ARRAY_BASE "Region"
52#define SPA_TYPE_INFO_META_ARRAY_REGION_BASE SPA_TYPE_INFO_META_ARRAY_Region ":"
55#define SPA_TYPE_INFO_META_Transformation SPA_TYPE_INFO_ENUM_BASE "Meta:Transformation"
56#define SPA_TYPE_INFO_META_TRANSFORMATION_BASE SPA_TYPE_INFO_META_Transformation ":"
static const struct spa_type_info spa_type_meta_videotransform_type[]
Definition type-info.h:79
#define SPA_TYPE_INFO_META_REGION_BASE
Definition type-info.h:66
#define SPA_TYPE_INFO_DATA_FD_BASE
Definition type-info.h:41
#define SPA_TYPE_INFO_META_TRANSFORMATION_BASE
Definition type-info.h:77
static const struct spa_type_info spa_type_data_type[]
Definition type-info.h:43
#define SPA_TYPE_INFO_META_BASE
Definition type-info.h:56
#define SPA_TYPE_INFO_META_ARRAY_REGION_BASE
Definition type-info.h:71
#define SPA_TYPE_INFO_DATA_BASE
Definition type-info.h:35
static const struct spa_type_info spa_type_meta_type[]
Definition type-info.h:91
@ SPA_META_TRANSFORMATION_Flipped270
flip then rotate around 270 degree counter-clockwise
Definition meta.h:167
@ SPA_META_TRANSFORMATION_Flipped
180 degree flipped around the vertical axis.
Definition meta.h:162
@ SPA_META_TRANSFORMATION_270
270 degree counter-clockwise
Definition meta.h:161
@ SPA_META_TRANSFORMATION_Flipped180
flip then rotate around 180 degree counter-clockwise
Definition meta.h:166
@ SPA_META_TRANSFORMATION_Flipped90
flip then rotate around 90 degree counter-clockwise
Definition meta.h:165
@ SPA_META_TRANSFORMATION_None
no transform
Definition meta.h:158
@ SPA_META_TRANSFORMATION_90
90 degree counter-clockwise
Definition meta.h:159
@ SPA_META_TRANSFORMATION_180
180 degree counter-clockwise
Definition meta.h:160
@ 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_SyncTimeline
struct spa_meta_sync_timeline
Definition meta.h:36
@ 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_DATA_MemFd
memfd, mmap to get to memory.
Definition buffer.h:35
@ SPA_DATA_MemPtr
pointer to memory, the data field in struct spa_data is set.
Definition buffer.h:33
@ SPA_DATA_SyncObj
a syncobj, usually requires a spa_meta_sync_timeline metadata with timeline points.
Definition buffer.h:42
@ SPA_DATA_Invalid
Definition buffer.h:32
@ SPA_DATA_MemId
memory is identified with an id.
Definition buffer.h:39
@ SPA_DATA_DmaBuf
fd to dmabuf memory.
Definition buffer.h:36
@ SPA_TYPE_Int
Definition type.h:34
@ SPA_TYPE_Pointer
Definition type.h:47
uint32_t type
Definition type.h:144