PipeWire  0.3.59
type-info.h
Go to the documentation of this file.
1 /* Simple Plugin API
2  *
3  * Copyright © 2018 Wim Taymans
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a
6  * copy of this software and associated documentation files (the "Software"),
7  * to deal in the Software without restriction, including without limitation
8  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9  * and/or sell copies of the Software, and to permit persons to whom the
10  * Software is furnished to do so, subject to the following conditions:
11  *
12  * The above copyright notice and this permission notice (including the next
13  * paragraph) shall be included in all copies or substantial portions of the
14  * Software.
15  *
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22  * DEALINGS IN THE SOFTWARE.
23  */
24 
25 #ifndef SPA_VIDEO_TYPES_H
26 #define SPA_VIDEO_TYPES_H
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
36 #include <spa/param/video/raw.h>
37 
38 #define SPA_TYPE_INFO_VideoFormat SPA_TYPE_INFO_ENUM_BASE "VideoFormat"
39 #define SPA_TYPE_INFO_VIDEO_FORMAT_BASE SPA_TYPE_INFO_VideoFormat ":"
40 
41 static const struct spa_type_info spa_type_video_format[] = {
129  { 0, 0, NULL, NULL },
130 };
131 
136 #ifdef __cplusplus
137 } /* extern "C" */
138 #endif
139 
140 #endif /* SPA_VIDEO_RAW_TYPES_H */
#define SPA_TYPE_INFO_VIDEO_FORMAT_BASE
Definition: type-info.h:46
static const struct spa_type_info spa_type_video_format[]
Definition: type-info.h:48
@ SPA_VIDEO_FORMAT_I422_10LE
Definition: raw.h:110
@ SPA_VIDEO_FORMAT_RGBA_102LE
32-bit R:G:B:A 10:10:10:2 little endian
Definition: raw.h:153
@ SPA_VIDEO_FORMAT_NV16
Definition: raw.h:116
@ SPA_VIDEO_FORMAT_IYU2
Definition: raw.h:128
@ SPA_VIDEO_FORMAT_P010_10BE
Definition: raw.h:126
@ SPA_VIDEO_FORMAT_GRAY8
Definition: raw.h:90
@ SPA_VIDEO_FORMAT_P010_10LE
Definition: raw.h:127
@ SPA_VIDEO_FORMAT_ENCODED
Definition: raw.h:65
@ SPA_VIDEO_FORMAT_GBR_10LE
Definition: raw.h:115
@ SPA_VIDEO_FORMAT_GBRA_12LE
Definition: raw.h:136
@ SPA_VIDEO_FORMAT_ABGR_210LE
32-bit A:B:G:R 2:10:10:10 little endian
Definition: raw.h:152
@ SPA_VIDEO_FORMAT_IYU1
Definition: raw.h:103
@ SPA_VIDEO_FORMAT_xRGB
Definition: raw.h:74
@ SPA_VIDEO_FORMAT_A444_10LE
Definition: raw.h:124
@ SPA_VIDEO_FORMAT_GRAY16_LE
Definition: raw.h:92
@ SPA_VIDEO_FORMAT_I420_12LE
Definition: raw.h:138
@ SPA_VIDEO_FORMAT_GBR_10BE
Definition: raw.h:114
@ SPA_VIDEO_FORMAT_v308
Definition: raw.h:93
@ SPA_VIDEO_FORMAT_Y42B
Definition: raw.h:83
@ SPA_VIDEO_FORMAT_Y444_12BE
Definition: raw.h:141
@ SPA_VIDEO_FORMAT_Y444_12LE
Definition: raw.h:142
@ SPA_VIDEO_FORMAT_RGB16
Definition: raw.h:94
@ SPA_VIDEO_FORMAT_YVU9
Definition: raw.h:102
@ SPA_VIDEO_FORMAT_I420_10LE
Definition: raw.h:108
@ SPA_VIDEO_FORMAT_NV21
Definition: raw.h:89
@ SPA_VIDEO_FORMAT_A444_10BE
Definition: raw.h:123
@ SPA_VIDEO_FORMAT_ARGB
Definition: raw.h:78
@ SPA_VIDEO_FORMAT_RGB15
Definition: raw.h:96
@ SPA_VIDEO_FORMAT_YUY2
Definition: raw.h:69
@ SPA_VIDEO_FORMAT_RGBx_102LE
32-bit R:G:B:x 10:10:10:2 little endian
Definition: raw.h:149
@ SPA_VIDEO_FORMAT_A422_10BE
Definition: raw.h:121
@ SPA_VIDEO_FORMAT_RGBA
Definition: raw.h:76
@ SPA_VIDEO_FORMAT_NV24
Definition: raw.h:117
@ SPA_VIDEO_FORMAT_Y444_10LE
Definition: raw.h:112
@ SPA_VIDEO_FORMAT_YUV9
Definition: raw.h:101
@ SPA_VIDEO_FORMAT_ABGR
Definition: raw.h:79
@ SPA_VIDEO_FORMAT_BGR15
Definition: raw.h:97
@ SPA_VIDEO_FORMAT_I422_12BE
Definition: raw.h:139
@ SPA_VIDEO_FORMAT_RGBA_F16
Definition: raw.h:144
@ SPA_VIDEO_FORMAT_Y444_10BE
Definition: raw.h:111
@ SPA_VIDEO_FORMAT_YVYU
Definition: raw.h:84
@ SPA_VIDEO_FORMAT_Y444
Definition: raw.h:85
@ SPA_VIDEO_FORMAT_xBGR
Definition: raw.h:75
@ SPA_VIDEO_FORMAT_ARGB64
Definition: raw.h:104
@ SPA_VIDEO_FORMAT_BGR
Definition: raw.h:81
@ SPA_VIDEO_FORMAT_ARGB_210LE
32-bit A:R:G:B 2:10:10:10 little endian
Definition: raw.h:151
@ SPA_VIDEO_FORMAT_RGBx
Definition: raw.h:72
@ SPA_VIDEO_FORMAT_A420_10LE
Definition: raw.h:120
@ SPA_VIDEO_FORMAT_NV12_64Z32
Definition: raw.h:118
@ SPA_VIDEO_FORMAT_A420_10BE
Definition: raw.h:119
@ SPA_VIDEO_FORMAT_BGRx
Definition: raw.h:73
@ SPA_VIDEO_FORMAT_v210
Definition: raw.h:86
@ SPA_VIDEO_FORMAT_GBR_12BE
Definition: raw.h:133
@ SPA_VIDEO_FORMAT_NV61
Definition: raw.h:125
@ SPA_VIDEO_FORMAT_AYUV64
Definition: raw.h:105
@ SPA_VIDEO_FORMAT_UYVP
Definition: raw.h:98
@ SPA_VIDEO_FORMAT_YV12
Definition: raw.h:68
@ SPA_VIDEO_FORMAT_I420
Definition: raw.h:67
@ SPA_VIDEO_FORMAT_GBRA_10LE
Definition: raw.h:132
@ SPA_VIDEO_FORMAT_NV12
Definition: raw.h:88
@ SPA_VIDEO_FORMAT_GRAY16_BE
Definition: raw.h:91
@ SPA_VIDEO_FORMAT_BGR16
Definition: raw.h:95
@ SPA_VIDEO_FORMAT_BGRA_102LE
32-bit B:G:R:A 10:10:10:2 little endian
Definition: raw.h:154
@ SPA_VIDEO_FORMAT_A420
Definition: raw.h:99
@ SPA_VIDEO_FORMAT_A422_10LE
Definition: raw.h:122
@ SPA_VIDEO_FORMAT_GBR
Definition: raw.h:113
@ SPA_VIDEO_FORMAT_GBRA_12BE
Definition: raw.h:135
@ SPA_VIDEO_FORMAT_v216
Definition: raw.h:87
@ SPA_VIDEO_FORMAT_BGRx_102LE
32-bit B:G:R:x 10:10:10:2 little endian
Definition: raw.h:150
@ SPA_VIDEO_FORMAT_xRGB_210LE
32-bit x:R:G:B 2:10:10:10 little endian
Definition: raw.h:147
@ SPA_VIDEO_FORMAT_UYVY
Definition: raw.h:70
@ SPA_VIDEO_FORMAT_GBRA_10BE
Definition: raw.h:131
@ SPA_VIDEO_FORMAT_RGBA_F32
Definition: raw.h:145
@ SPA_VIDEO_FORMAT_I420_12BE
Definition: raw.h:137
@ SPA_VIDEO_FORMAT_BGRA
Definition: raw.h:77
@ SPA_VIDEO_FORMAT_I422_10BE
Definition: raw.h:109
@ SPA_VIDEO_FORMAT_AYUV
Definition: raw.h:71
@ SPA_VIDEO_FORMAT_RGB8P
Definition: raw.h:100
@ SPA_VIDEO_FORMAT_GBRA
Definition: raw.h:130
@ SPA_VIDEO_FORMAT_xBGR_210LE
32-bit x:B:G:R 2:10:10:10 little endian
Definition: raw.h:148
@ SPA_VIDEO_FORMAT_GBR_12LE
Definition: raw.h:134
@ SPA_VIDEO_FORMAT_I420_10BE
Definition: raw.h:107
@ SPA_VIDEO_FORMAT_I422_12LE
Definition: raw.h:140
@ SPA_VIDEO_FORMAT_VYUY
Definition: raw.h:129
@ SPA_VIDEO_FORMAT_r210
Definition: raw.h:106
@ SPA_VIDEO_FORMAT_Y41B
Definition: raw.h:82
@ SPA_VIDEO_FORMAT_RGB
Definition: raw.h:80
@ SPA_TYPE_Int
Definition: type.h:54
Definition: type.h:162
spa/param/video/raw.h