PipeWire  0.3.61
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_PARAM_TYPES_H
26 #define SPA_PARAM_TYPES_H
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
37 #include <spa/utils/defs.h>
38 #include <spa/param/props.h>
39 #include <spa/param/format.h>
40 #include <spa/buffer/type-info.h>
41 
42 /* base for parameter object enumerations */
43 #define SPA_TYPE_INFO_ParamId SPA_TYPE_INFO_ENUM_BASE "ParamId"
44 #define SPA_TYPE_INFO_PARAM_ID_BASE SPA_TYPE_INFO_ParamId ":"
45 
46 static const struct spa_type_info spa_type_param[] = {
64  { 0, 0, NULL, NULL },
65 };
66 
67 /* base for parameter objects */
68 #define SPA_TYPE_INFO_Param SPA_TYPE_INFO_OBJECT_BASE "Param"
69 #define SPA_TYPE_INFO_PARAM_BASE SPA_TYPE_INFO_Param ":"
70 
71 #define SPA_TYPE_INFO_Props SPA_TYPE_INFO_PARAM_BASE "Props"
72 #define SPA_TYPE_INFO_PROPS_BASE SPA_TYPE_INFO_Props ":"
73 
77 
78 static const struct spa_type_info spa_type_prop_float_array[] = {
79  { SPA_PROP_START, SPA_TYPE_Float, SPA_TYPE_INFO_BASE "floatArray", NULL, },
80  { 0, 0, NULL, NULL },
81 };
82 
83 static const struct spa_type_info spa_type_prop_channel_map[] = {
85  { 0, 0, NULL, NULL },
86 };
87 
88 static const struct spa_type_info spa_type_prop_iec958_codec[] = {
90  { 0, 0, NULL, NULL },
91 };
92 
93 #define SPA_TYPE_INFO_ParamBitorder SPA_TYPE_INFO_ENUM_BASE "ParamBitorder"
94 #define SPA_TYPE_INFO_PARAM_BITORDER_BASE SPA_TYPE_INFO_ParamBitorder ":"
95 
96 static const struct spa_type_info spa_type_param_bitorder[] = {
100  { 0, 0, NULL, NULL },
101 };
102 
103 static const struct spa_type_info spa_type_props[] = {
120  { SPA_PROP_bluetoothOffloadActive, SPA_TYPE_Bool, SPA_TYPE_INFO_PROPS_BASE "bluetoothOffloadActive", NULL },
121 
135  { SPA_PROP_latencyOffsetNsec, SPA_TYPE_Long, SPA_TYPE_INFO_PROPS_BASE "latencyOffsetNsec", NULL },
139 
148 
150  { 0, 0, NULL, NULL },
151 };
152 
154 #define SPA_TYPE_INFO_PropInfo SPA_TYPE_INFO_PARAM_BASE "PropInfo"
155 #define SPA_TYPE_INFO_PROP_INFO_BASE SPA_TYPE_INFO_PropInfo ":"
156 
157 static const struct spa_type_info spa_type_prop_info[] = {
166  { 0, 0, NULL, NULL },
167 };
168 
169 #define SPA_TYPE_INFO_PARAM_Meta SPA_TYPE_INFO_PARAM_BASE "Meta"
170 #define SPA_TYPE_INFO_PARAM_META_BASE SPA_TYPE_INFO_PARAM_Meta ":"
171 
172 static const struct spa_type_info spa_type_param_meta[] = {
176  { 0, 0, NULL, NULL },
177 };
178 
182 #define SPA_TYPE_INFO_PARAM_IO SPA_TYPE_INFO_PARAM_BASE "IO"
183 #define SPA_TYPE_INFO_PARAM_IO_BASE SPA_TYPE_INFO_PARAM_IO ":"
184 
185 static const struct spa_type_info spa_type_param_io[] = {
189  { 0, 0, NULL, NULL },
190 };
191 
192 #define SPA_TYPE_INFO_Format SPA_TYPE_INFO_PARAM_BASE "Format"
193 #define SPA_TYPE_INFO_FORMAT_BASE SPA_TYPE_INFO_Format ":"
194 
195 #define SPA_TYPE_INFO_MediaType SPA_TYPE_INFO_ENUM_BASE "MediaType"
196 #define SPA_TYPE_INFO_MEDIA_TYPE_BASE SPA_TYPE_INFO_MediaType ":"
197 
198 static const struct spa_type_info spa_type_media_type[] = {
206  { 0, 0, NULL, NULL },
207 };
208 
209 #define SPA_TYPE_INFO_MediaSubtype SPA_TYPE_INFO_ENUM_BASE "MediaSubtype"
210 #define SPA_TYPE_INFO_MEDIA_SUBTYPE_BASE SPA_TYPE_INFO_MediaSubtype ":"
211 
212 static const struct spa_type_info spa_type_media_subtype[] = {
214  /* generic subtypes */
219  /* audio subtypes */
232  /* video subtypes */
246  /* image subtypes */
248  /* stream subtypes */
250  /* application subtypes */
252  { 0, 0, NULL, NULL },
253 };
254 
255 #define SPA_TYPE_INFO_FormatAudio SPA_TYPE_INFO_FORMAT_BASE "Audio"
256 #define SPA_TYPE_INFO_FORMAT_AUDIO_BASE SPA_TYPE_INFO_FormatAudio ":"
257 
258 #define SPA_TYPE_INFO_FormatVideo SPA_TYPE_INFO_FORMAT_BASE "Video"
259 #define SPA_TYPE_INFO_FORMAT_VIDEO_BASE SPA_TYPE_INFO_FormatVideo ":"
260 
261 #define SPA_TYPE_INFO_FORMAT_VIDEO_H264 SPA_TYPE_INFO_FORMAT_VIDEO_BASE "H264"
262 #define SPA_TYPE_INFO_FORMAT_VIDEO_H264_BASE SPA_TYPE_INFO_FORMAT_VIDEO_H264 ":"
263 
264 static const struct spa_type_info spa_type_format[] = {
266 
271 
280 
283 
287 
306 
309  { 0, 0, NULL, NULL },
310 };
311 
312 #define SPA_TYPE_INFO_PARAM_Buffers SPA_TYPE_INFO_PARAM_BASE "Buffers"
313 #define SPA_TYPE_INFO_PARAM_BUFFERS_BASE SPA_TYPE_INFO_PARAM_Buffers ":"
314 
315 #define SPA_TYPE_INFO_PARAM_BlockInfo SPA_TYPE_INFO_PARAM_BUFFERS_BASE "BlockInfo"
316 #define SPA_TYPE_INFO_PARAM_BLOCK_INFO_BASE SPA_TYPE_INFO_PARAM_BlockInfo ":"
317 
318 static const struct spa_type_info spa_type_param_buffers[] = {
326  { 0, 0, NULL, NULL },
327 };
328 
329 #define SPA_TYPE_INFO_ParamAvailability SPA_TYPE_INFO_ENUM_BASE "ParamAvailability"
330 #define SPA_TYPE_INFO_PARAM_AVAILABILITY_BASE SPA_TYPE_INFO_ParamAvailability ":"
331 
332 static const struct spa_type_info spa_type_param_availability[] = {
336  { 0, 0, NULL, NULL },
337 };
338 
339 #define SPA_TYPE_INFO_PARAM_Profile SPA_TYPE_INFO_PARAM_BASE "Profile"
340 #define SPA_TYPE_INFO_PARAM_PROFILE_BASE SPA_TYPE_INFO_PARAM_Profile ":"
341 
342 static const struct spa_type_info spa_type_param_profile[] = {
352  { 0, 0, NULL, NULL },
353 };
354 
355 #define SPA_TYPE_INFO_ParamPortConfigMode SPA_TYPE_INFO_ENUM_BASE "ParamPortConfigMode"
356 #define SPA_TYPE_INFO_PARAM_PORT_CONFIG_MODE_BASE SPA_TYPE_INFO_ParamPortConfigMode ":"
357 
358 static const struct spa_type_info spa_type_param_port_config_mode[] = {
363  { 0, 0, NULL, NULL },
364 };
365 
366 #define SPA_TYPE_INFO_PARAM_PortConfig SPA_TYPE_INFO_PARAM_BASE "PortConfig"
367 #define SPA_TYPE_INFO_PARAM_PORT_CONFIG_BASE SPA_TYPE_INFO_PARAM_PortConfig ":"
368 
369 static const struct spa_type_info spa_type_param_port_config[] = {
376  { 0, 0, NULL, NULL },
377 };
378 
379 
380 #define SPA_TYPE_INFO_PARAM_Route SPA_TYPE_INFO_PARAM_BASE "Route"
381 #define SPA_TYPE_INFO_PARAM_ROUTE_BASE SPA_TYPE_INFO_PARAM_Route ":"
382 
383 static const struct spa_type_info spa_type_param_route[] = {
398  { 0, 0, NULL, NULL },
399 };
400 
401 #include <spa/param/profiler.h>
402 
403 #define SPA_TYPE_INFO_Profiler SPA_TYPE_INFO_OBJECT_BASE "Profiler"
404 #define SPA_TYPE_INFO_PROFILER_BASE SPA_TYPE_INFO_Profiler ":"
405 
406 static const struct spa_type_info spa_type_profiler[] = {
412  { 0, 0, NULL, NULL },
413 };
414 
415 #define SPA_TYPE_INFO_PARAM_Latency SPA_TYPE_INFO_PARAM_BASE "Latency"
416 #define SPA_TYPE_INFO_PARAM_LATENCY_BASE SPA_TYPE_INFO_PARAM_Latency ":"
417 
418 static const struct spa_type_info spa_type_param_latency[] = {
427  { 0, 0, NULL, NULL },
428 };
429 
430 #define SPA_TYPE_INFO_PARAM_ProcessLatency SPA_TYPE_INFO_PARAM_BASE "ProcessLatency"
431 #define SPA_TYPE_INFO_PARAM_PROCESS_LATENCY_BASE SPA_TYPE_INFO_PARAM_ProcessLatency ":"
432 
433 static const struct spa_type_info spa_type_param_process_latency[] = {
438  { 0, 0, NULL, NULL },
439 };
440 
445 #ifdef __cplusplus
446 } /* extern "C" */
447 #endif
448 
449 #endif /* SPA_PARAM_TYPES_H */
spa/buffer/type-info.h
spa/utils/defs.h
static const struct spa_type_info spa_type_meta_type[]
Definition: type-info.h:92
static const struct spa_type_info spa_type_io[]
Definition: type-info.h:53
static const struct spa_type_info spa_type_param_profile[]
Definition: type-info.h:381
static const struct spa_type_info spa_type_media_subtype[]
Definition: type-info.h:237
static const struct spa_type_info spa_type_param_port_config_mode[]
Definition: type-info.h:399
static const struct spa_type_info spa_type_prop_channel_map[]
Definition: type-info.h:94
static const struct spa_type_info spa_type_audio_format[]
Definition: type-info.h:49
static const struct spa_type_info spa_type_prop_info[]
Definition: type-info.h:172
#define SPA_TYPE_INFO_FORMAT_VIDEO_BASE
Definition: type-info.h:288
static const struct spa_type_info spa_type_param_availability[]
Definition: type-info.h:369
static const struct spa_type_info spa_type_param_io[]
Definition: type-info.h:204
static const struct spa_type_info spa_type_param_port_config[]
Definition: type-info.h:412
#define SPA_TYPE_INFO_PARAM_PROCESS_LATENCY_BASE
Definition: type-info.h:482
static const struct spa_type_info spa_type_param_latency[]
Definition: type-info.h:467
#define SPA_TYPE_INFO_PROP_INFO_BASE
Definition: type-info.h:170
#define SPA_TYPE_INFO_PARAM_BITORDER_BASE
Definition: type-info.h:107
#define SPA_TYPE_INFO_PARAM_PORT_CONFIG_MODE_BASE
Definition: type-info.h:397
static const struct spa_type_info spa_type_format[]
Definition: type-info.h:295
static const struct spa_type_info spa_type_param_meta[]
Definition: type-info.h:189
static const struct spa_type_info spa_type_prop_float_array[]
Definition: type-info.h:89
static const struct spa_type_info spa_type_audio_flags[]
Definition: type-info.h:162
static const struct spa_type_info spa_type_props[]
Definition: type-info.h:116
static const struct spa_type_info spa_type_param_buffers[]
Definition: type-info.h:353
#define SPA_TYPE_INFO_PARAM_ID_BASE
Definition: type-info.h:51
static const struct spa_type_info spa_type_audio_channel[]
Definition: type-info.h:173
static const struct spa_type_info spa_type_bluetooth_audio_codec[]
Definition: type-info.h:49
#define SPA_TYPE_INFO_PARAM_PORT_CONFIG_BASE
Definition: type-info.h:410
static const struct spa_type_info spa_type_video_format[]
Definition: type-info.h:48
#define SPA_TYPE_INFO_PARAM_PROFILE_BASE
Definition: type-info.h:379
#define SPA_TYPE_INFO_PARAM_AVAILABILITY_BASE
Definition: type-info.h:367
#define SPA_TYPE_INFO_PROFILER_BASE
Definition: type-info.h:451
#define SPA_TYPE_INFO_FORMAT_AUDIO_BASE
Definition: type-info.h:283
#define SPA_TYPE_INFO_PARAM_META_BASE
Definition: type-info.h:187
#define SPA_TYPE_INFO_MEDIA_TYPE_BASE
Definition: type-info.h:219
static const struct spa_type_info spa_type_param_bitorder[]
Definition: type-info.h:109
static const struct spa_type_info spa_type_audio_iec958_codec[]
Definition: type-info.h:288
static const struct spa_type_info spa_type_param_process_latency[]
Definition: type-info.h:484
#define SPA_TYPE_INFO_PARAM_BLOCK_INFO_BASE
Definition: type-info.h:351
#define SPA_TYPE_INFO_FORMAT_VIDEO_H264_BASE
Definition: type-info.h:293
static const struct spa_type_info spa_type_param[]
Definition: type-info.h:53
static const struct spa_type_info spa_type_media_type[]
Definition: type-info.h:221
static const struct spa_type_info spa_type_profiler[]
Definition: type-info.h:453
#define SPA_TYPE_INFO_PROPS_BASE
Definition: type-info.h:83
#define SPA_TYPE_INFO_PARAM_LATENCY_BASE
Definition: type-info.h:465
#define SPA_TYPE_INFO_PARAM_IO_BASE
Definition: type-info.h:202
static const struct spa_type_info spa_type_param_route[]
Definition: type-info.h:428
#define SPA_TYPE_INFO_FORMAT_BASE
Definition: type-info.h:214
#define SPA_TYPE_INFO_PARAM_BUFFERS_BASE
Definition: type-info.h:346
static const struct spa_type_info spa_type_prop_iec958_codec[]
Definition: type-info.h:99
#define SPA_TYPE_INFO_MEDIA_SUBTYPE_BASE
Definition: type-info.h:235
#define SPA_TYPE_INFO_PARAM_ROUTE_BASE
Definition: type-info.h:426
@ SPA_PROP_START
Definition: props.h:62
@ SPA_PROP_periods
Definition: props.h:75
@ SPA_PROP_softMute
mute (Bool)
Definition: props.h:102
@ SPA_PROP_sharpness
Definition: props.h:117
@ SPA_PROP_softVolumes
a volume array, one volume per channel (Array of Float)
Definition: props.h:103
@ SPA_PROP_exposure
Definition: props.h:115
@ SPA_PROP_bluetoothAudioCodec
Definition: props.h:81
@ SPA_PROP_rate
Definition: props.h:79
@ SPA_PROP_minLatency
Definition: props.h:73
@ SPA_PROP_monitorVolumes
a volume array, one volume per channel (Array of Float)
Definition: props.h:99
@ SPA_PROP_volumeStep
a volume step (Float)
Definition: props.h:95
@ SPA_PROP_periodEvent
Definition: props.h:77
@ SPA_PROP_device
Definition: props.h:67
@ SPA_PROP_contrast
Definition: props.h:111
@ SPA_PROP_gamma
Definition: props.h:114
@ SPA_PROP_live
Definition: props.h:78
@ SPA_PROP_hue
Definition: props.h:113
@ SPA_PROP_volume
a volume (Float), 0.0 silence, 1.0 normal
Definition: props.h:87
@ SPA_PROP_iec958Codecs
enabled IEC958 (S/PDIF) codecs, (Array (Id enum spa_audio_iec958_codec)
Definition: props.h:106
@ SPA_PROP_gain
Definition: props.h:116
@ SPA_PROP_waveType
Definition: props.h:85
@ SPA_PROP_cardName
Definition: props.h:71
@ SPA_PROP_saturation
Definition: props.h:112
@ SPA_PROP_ditherType
Definition: props.h:90
@ SPA_PROP_params
simple control params (Struct( (String : key, Pod : value)*))
Definition: props.h:120
@ SPA_PROP_periodSize
Definition: props.h:76
@ SPA_PROP_brightness
Definition: props.h:110
@ SPA_PROP_channelVolumes
a volume array, one volume per channel (Array of Float)
Definition: props.h:92
@ SPA_PROP_maxLatency
Definition: props.h:74
@ SPA_PROP_card
Definition: props.h:70
@ SPA_PROP_channelMap
a channelmap array (Array (Id enum spa_audio_channel))
Definition: props.h:96
@ SPA_PROP_monitorMute
mute (Bool)
Definition: props.h:98
@ SPA_PROP_volumeBase
a volume base (Float)
Definition: props.h:94
@ SPA_PROP_deviceName
Definition: props.h:68
@ SPA_PROP_truncate
Definition: props.h:91
@ SPA_PROP_patternType
Definition: props.h:89
@ SPA_PROP_latencyOffsetNsec
delay adjustment
Definition: props.h:101
@ SPA_PROP_unknown
an unknown property
Definition: props.h:64
@ SPA_PROP_quality
Definition: props.h:80
@ SPA_PROP_deviceFd
Definition: props.h:69
@ SPA_PROP_frequency
Definition: props.h:86
@ SPA_PROP_bluetoothOffloadActive
Definition: props.h:82
@ SPA_PROP_mute
mute (Bool)
Definition: props.h:88
@ SPA_PARAM_META_START
Definition: param.h:105
@ SPA_PARAM_META_size
the expected maximum size the meta (Int)
Definition: param.h:107
@ SPA_PARAM_META_type
the metadata, one of enum spa_meta_type (Id enum spa_meta_type)
Definition: param.h:106
@ SPA_PARAM_BITORDER_unknown
unknown bitorder
Definition: param.h:211
@ SPA_PARAM_BITORDER_msb
most significant bit
Definition: param.h:212
@ SPA_PARAM_BITORDER_lsb
least significant bit
Definition: param.h:213
@ SPA_PARAM_PORT_CONFIG_MODE_convert
convert configuration
Definition: param.h:151
@ SPA_PARAM_PORT_CONFIG_MODE_none
no configuration
Definition: param.h:149
@ SPA_PARAM_PORT_CONFIG_MODE_dsp
dsp configuration, depending on the external format.
Definition: param.h:152
@ SPA_PARAM_PORT_CONFIG_MODE_passthrough
passthrough configuration
Definition: param.h:150
@ SPA_MEDIA_TYPE_unknown
Definition: format.h:46
@ SPA_MEDIA_TYPE_application
Definition: format.h:52
@ SPA_MEDIA_TYPE_audio
Definition: format.h:47
@ SPA_MEDIA_TYPE_video
Definition: format.h:48
@ SPA_MEDIA_TYPE_binary
Definition: format.h:50
@ SPA_MEDIA_TYPE_image
Definition: format.h:49
@ SPA_MEDIA_TYPE_stream
Definition: format.h:51
@ SPA_PARAM_Route
routing configuration as SPA_TYPE_OBJECT_ParamRoute
Definition: param.h:63
@ SPA_PARAM_Format
configured format as SPA_TYPE_OBJECT_Format
Definition: param.h:54
@ SPA_PARAM_EnumRoute
routing enumeration as SPA_TYPE_OBJECT_ParamRoute
Definition: param.h:62
@ SPA_PARAM_Meta
allowed metadata for buffers as SPA_TYPE_OBJECT_ParamMeta
Definition: param.h:56
@ SPA_PARAM_IO
configurable IO areas as SPA_TYPE_OBJECT_ParamIO
Definition: param.h:57
@ SPA_PARAM_EnumProfile
profile enumeration as SPA_TYPE_OBJECT_ParamProfile
Definition: param.h:58
@ SPA_PARAM_EnumPortConfig
port configuration enumeration as SPA_TYPE_OBJECT_ParamPortConfig
Definition: param.h:60
@ SPA_PARAM_EnumFormat
available formats as SPA_TYPE_OBJECT_Format
Definition: param.h:53
@ SPA_PARAM_Profile
profile configuration as SPA_TYPE_OBJECT_ParamProfile
Definition: param.h:59
@ SPA_PARAM_Latency
latency reporting, a SPA_TYPE_OBJECT_ParamLatency
Definition: param.h:65
@ SPA_PARAM_PortConfig
port configuration as SPA_TYPE_OBJECT_ParamPortConfig
Definition: param.h:61
@ SPA_PARAM_Control
Control parameter, a SPA_TYPE_Sequence.
Definition: param.h:64
@ SPA_PARAM_Props
properties as SPA_TYPE_OBJECT_Props
Definition: param.h:52
@ SPA_PARAM_PropInfo
property information as SPA_TYPE_OBJECT_PropInfo
Definition: param.h:51
@ SPA_PARAM_Buffers
buffer configurations as SPA_TYPE_OBJECT_ParamBuffers
Definition: param.h:55
@ SPA_PARAM_ProcessLatency
processing latency, a SPA_TYPE_OBJECT_ParamProcessLatency
Definition: param.h:66
@ SPA_PARAM_Invalid
invalid
Definition: param.h:50
@ SPA_PARAM_PROCESS_LATENCY_rate
latency (Int) relative to rate
Definition: param.h:206
@ SPA_PARAM_PROCESS_LATENCY_START
Definition: param.h:204
@ SPA_PARAM_PROCESS_LATENCY_ns
latency (Long) in nanoseconds
Definition: param.h:207
@ SPA_PARAM_PROCESS_LATENCY_quantum
latency relative to quantum (Float)
Definition: param.h:205
@ SPA_PARAM_PORT_CONFIG_mode
(Id enum spa_param_port_config_mode) mode
Definition: param.h:161
@ SPA_PARAM_PORT_CONFIG_format
(Object) format filter
Definition: param.h:164
@ SPA_PARAM_PORT_CONFIG_monitor
(Bool) enable monitor output ports on input ports
Definition: param.h:162
@ SPA_PARAM_PORT_CONFIG_control
(Bool) enable control ports
Definition: param.h:163
@ SPA_PARAM_PORT_CONFIG_direction
direction, input/output (Id enum spa_direction)
Definition: param.h:160
@ SPA_PARAM_PORT_CONFIG_START
Definition: param.h:159
@ SPA_FORMAT_VIDEO_framerate
frame rate (Fraction)
Definition: format.h:131
@ SPA_FORMAT_AUDIO_iec958Codec
codec used (IEC958) (Id enum spa_audio_iec958_codec)
Definition: format.h:120
@ SPA_FORMAT_VIDEO_H264_streamFormat
(Id enum spa_h264_stream_format)
Definition: format.h:145
@ SPA_FORMAT_AUDIO_interleave
Interleave bytes (Int)
Definition: format.h:123
@ SPA_FORMAT_AUDIO_bitorder
bit order (Id enum spa_param_bitorder)
Definition: format.h:122
@ SPA_FORMAT_VIDEO_level
(Int)
Definition: format.h:144
@ SPA_FORMAT_mediaType
media type (Id enum spa_media_type)
Definition: format.h:109
@ SPA_FORMAT_VIDEO_size
size (Rectangle)
Definition: format.h:130
@ SPA_FORMAT_AUDIO_position
channel positions (Id enum spa_audio_position)
Definition: format.h:118
@ SPA_FORMAT_VIDEO_profile
(Int)
Definition: format.h:143
@ SPA_FORMAT_VIDEO_modifier
format modifier (Long) use only with DMA-BUF and omit for other buffer types
Definition: format.h:128
@ SPA_FORMAT_AUDIO_rate
sample rate (Int)
Definition: format.h:116
@ SPA_FORMAT_VIDEO_multiviewMode
(Id enum spa_video_multiview_mode)
Definition: format.h:136
@ SPA_FORMAT_VIDEO_interlaceMode
(Id enum spa_video_interlace_mode)
Definition: format.h:134
@ SPA_FORMAT_VIDEO_maxFramerate
maximum frame rate (Fraction)
Definition: format.h:132
@ SPA_FORMAT_AUDIO_flags
optional flags (Int)
Definition: format.h:115
@ SPA_FORMAT_VIDEO_pixelAspectRatio
(Rectangle)
Definition: format.h:135
@ SPA_FORMAT_VIDEO_colorMatrix
/Id enum spa_video_color_matrix)
Definition: format.h:140
@ SPA_FORMAT_VIDEO_format
video format (Id enum spa_video_format)
Definition: format.h:127
@ SPA_FORMAT_mediaSubtype
media subtype (Id enum spa_media_subtype)
Definition: format.h:110
@ SPA_FORMAT_AUDIO_format
audio format, (Id enum spa_audio_format)
Definition: format.h:114
@ SPA_FORMAT_VIDEO_chromaSite
/Id enum spa_video_chroma_site)
Definition: format.h:138
@ SPA_FORMAT_VIDEO_views
number of views (Int)
Definition: format.h:133
@ SPA_FORMAT_VIDEO_colorPrimaries
/Id enum spa_video_color_primaries)
Definition: format.h:142
@ SPA_FORMAT_VIDEO_transferFunction
/Id enum spa_video_transfer_function)
Definition: format.h:141
@ SPA_FORMAT_VIDEO_H264_alignment
(Id enum spa_h264_alignment)
Definition: format.h:146
@ SPA_FORMAT_VIDEO_colorRange
/Id enum spa_video_color_range)
Definition: format.h:139
@ SPA_FORMAT_AUDIO_channels
number of audio channels (Int)
Definition: format.h:117
@ SPA_FORMAT_VIDEO_multiviewFlags
(Id enum spa_video_multiview_flags)
Definition: format.h:137
@ SPA_FORMAT_START
Definition: format.h:107
@ SPA_PROP_INFO_container
type of container if any (Id)
Definition: props.h:55
@ SPA_PROP_INFO_id
associated id of the property
Definition: props.h:47
@ SPA_PROP_INFO_START
Definition: props.h:46
@ SPA_PROP_INFO_description
User readable description.
Definition: props.h:57
@ SPA_PROP_INFO_params
is part of params property (Bool)
Definition: props.h:56
@ SPA_PROP_INFO_labels
labels of property if any, this is a struct with pairs of values, the first one is of the type of the...
Definition: props.h:50
@ SPA_PROP_INFO_name
name of the property
Definition: props.h:48
@ SPA_PROP_INFO_type
type and range/enums of property
Definition: props.h:49
@ SPA_PROFILER_driverBlock
generic driver info block (Struct( Int : driver_id, String : name, Long : driver prev_signal,...
Definition: profiler.h:68
@ SPA_PROFILER_followerBlock
generic follower info block (Struct( Int : id, String : name, Long : prev_signal, Long : signal,...
Definition: profiler.h:80
@ SPA_PROFILER_clock
clock information (Struct( Int : clock flags, Int : clock id, String: clock name, Long : clock nsec,...
Definition: profiler.h:56
@ SPA_PROFILER_info
Generic info, counter and CPU load, (Struct( Long : counter, Float : cpu_load fast,...
Definition: profiler.h:49
@ SPA_PROFILER_START
Definition: profiler.h:46
@ SPA_MEDIA_SUBTYPE_midi
Definition: format.h:98
@ SPA_MEDIA_SUBTYPE_h264
Definition: format.h:78
@ SPA_MEDIA_SUBTYPE_ra
Definition: format.h:68
@ SPA_MEDIA_SUBTYPE_mpeg4
Definition: format.h:85
@ SPA_MEDIA_SUBTYPE_mp3
Definition: format.h:64
@ SPA_MEDIA_SUBTYPE_aac
Definition: format.h:65
@ SPA_MEDIA_SUBTYPE_iec958
Definition: format.h:60
@ SPA_MEDIA_SUBTYPE_mpeg2
Definition: format.h:84
@ SPA_MEDIA_SUBTYPE_sbc
Definition: format.h:69
@ SPA_MEDIA_SUBTYPE_wma
Definition: format.h:67
@ SPA_MEDIA_SUBTYPE_h263
Definition: format.h:82
@ SPA_MEDIA_SUBTYPE_g726
Definition: format.h:72
@ SPA_MEDIA_SUBTYPE_amr
Definition: format.h:74
@ SPA_MEDIA_SUBTYPE_unknown
Definition: format.h:57
@ SPA_MEDIA_SUBTYPE_mjpg
Definition: format.h:79
@ SPA_MEDIA_SUBTYPE_vp8
Definition: format.h:88
@ SPA_MEDIA_SUBTYPE_dsp
Definition: format.h:59
@ SPA_MEDIA_SUBTYPE_vorbis
Definition: format.h:66
@ SPA_MEDIA_SUBTYPE_dv
Definition: format.h:80
@ SPA_MEDIA_SUBTYPE_raw
Definition: format.h:58
@ SPA_MEDIA_SUBTYPE_mpegts
Definition: format.h:81
@ SPA_MEDIA_SUBTYPE_mpeg1
Definition: format.h:83
@ SPA_MEDIA_SUBTYPE_vc1
Definition: format.h:87
@ SPA_MEDIA_SUBTYPE_jpeg
Definition: format.h:93
@ SPA_MEDIA_SUBTYPE_xvid
Definition: format.h:86
@ SPA_MEDIA_SUBTYPE_dsd
S/PDIF.
Definition: format.h:61
@ SPA_MEDIA_SUBTYPE_adpcm
Definition: format.h:70
@ SPA_MEDIA_SUBTYPE_bayer
Definition: format.h:90
@ SPA_MEDIA_SUBTYPE_g723
Definition: format.h:71
@ SPA_MEDIA_SUBTYPE_control
control stream, data contains spa_pod_sequence with control info.
Definition: format.h:101
@ SPA_MEDIA_SUBTYPE_gsm
Definition: format.h:75
@ SPA_MEDIA_SUBTYPE_g729
Definition: format.h:73
@ SPA_MEDIA_SUBTYPE_vp9
Definition: format.h:89
@ SPA_PARAM_LATENCY_maxNs
max latency (Long) in nanoseconds
Definition: param.h:199
@ SPA_PARAM_LATENCY_minRate
min latency (Int) relative to rate
Definition: param.h:196
@ SPA_PARAM_LATENCY_minQuantum
min latency relative to quantum (Float)
Definition: param.h:194
@ SPA_PARAM_LATENCY_START
Definition: param.h:192
@ SPA_PARAM_LATENCY_maxRate
max latency (Int) relative to rate
Definition: param.h:197
@ SPA_PARAM_LATENCY_maxQuantum
max latency relative to quantum (Float)
Definition: param.h:195
@ SPA_PARAM_LATENCY_direction
direction, input/output (Id enum spa_direction)
Definition: param.h:193
@ SPA_PARAM_LATENCY_minNs
min latency (Long) in nanoseconds
Definition: param.h:198
@ SPA_PARAM_ROUTE_START
Definition: param.h:169
@ SPA_PARAM_ROUTE_save
If route should be saved (Bool)
Definition: param.h:186
@ SPA_PARAM_ROUTE_name
name of the routing destination (String)
Definition: param.h:173
@ SPA_PARAM_ROUTE_available
availability of the destination (Id enum spa_param_availability)
Definition: param.h:176
@ SPA_PARAM_ROUTE_props
properties SPA_TYPE_OBJECT_Props
Definition: param.h:183
@ SPA_PARAM_ROUTE_device
device id (Int)
Definition: param.h:172
@ SPA_PARAM_ROUTE_priority
priority of the destination (Int)
Definition: param.h:175
@ SPA_PARAM_ROUTE_index
index of the routing destination (Int)
Definition: param.h:170
@ SPA_PARAM_ROUTE_direction
direction, input/output (Id enum spa_direction)
Definition: param.h:171
@ SPA_PARAM_ROUTE_profiles
associated profile indexes (Array of Int)
Definition: param.h:182
@ SPA_PARAM_ROUTE_profile
profile id (Int)
Definition: param.h:185
@ SPA_PARAM_ROUTE_devices
associated device indexes (Array of Int)
Definition: param.h:184
@ SPA_PARAM_ROUTE_description
description of the destination (String)
Definition: param.h:174
@ SPA_PARAM_ROUTE_info
info (Struct( Int : n_items, (String : key, String : value)*))
Definition: param.h:178
@ SPA_PARAM_IO_id
type ID, uniquely identifies the io area (Id enum spa_io_type)
Definition: param.h:113
@ SPA_PARAM_IO_START
Definition: param.h:112
@ SPA_PARAM_IO_size
size of the io area (Int)
Definition: param.h:114
@ SPA_PARAM_PROFILE_description
profile description (String)
Definition: param.h:128
@ SPA_PARAM_PROFILE_save
If profile should be saved (Bool)
Definition: param.h:145
@ SPA_PARAM_PROFILE_priority
profile priority (Int)
Definition: param.h:129
@ SPA_PARAM_PROFILE_info
info (Struct( Int : n_items, (String : key, String : value)*))
Definition: param.h:132
@ SPA_PARAM_PROFILE_START
Definition: param.h:125
@ SPA_PARAM_PROFILE_classes
node classes provided by this profile (Struct( Int : number of items following Struct( String : class...
Definition: param.h:136
@ SPA_PARAM_PROFILE_available
availability of the profile (Id enum spa_param_availability)
Definition: param.h:130
@ SPA_PARAM_PROFILE_name
profile name (String)
Definition: param.h:127
@ SPA_PARAM_PROFILE_index
profile index (Int)
Definition: param.h:126
@ SPA_PARAM_AVAILABILITY_unknown
unknown availability
Definition: param.h:118
@ SPA_PARAM_AVAILABILITY_yes
available
Definition: param.h:120
@ SPA_PARAM_AVAILABILITY_no
not available
Definition: param.h:119
@ SPA_PARAM_BUFFERS_dataType
possible memory types (Int, mask of enum spa_data_type)
Definition: param.h:100
@ SPA_PARAM_BUFFERS_size
size of a data block memory (Int)
Definition: param.h:97
@ SPA_PARAM_BUFFERS_START
Definition: param.h:94
@ SPA_PARAM_BUFFERS_stride
stride of data block memory (Int)
Definition: param.h:98
@ SPA_PARAM_BUFFERS_align
alignment of data block memory (Int)
Definition: param.h:99
@ SPA_PARAM_BUFFERS_blocks
number of data blocks per buffer (Int)
Definition: param.h:96
@ SPA_PARAM_BUFFERS_buffers
number of buffers (Int)
Definition: param.h:95
#define SPA_TYPE_INFO_BASE
Definition: type.h:115
static const struct spa_type_info spa_type_direction[]
Definition: type-info.h:62
@ SPA_TYPE_OBJECT_ParamPortConfig
Definition: type.h:101
@ SPA_TYPE_Int
Definition: type.h:54
@ SPA_TYPE_OBJECT_ParamProfile
Definition: type.h:100
@ SPA_TYPE_Rectangle
Definition: type.h:60
@ SPA_TYPE_Long
Definition: type.h:55
@ SPA_TYPE_Bool
Definition: type.h:52
@ SPA_TYPE_Pod
Definition: type.h:70
@ SPA_TYPE_OBJECT_PropInfo
Definition: type.h:94
@ SPA_TYPE_Float
Definition: type.h:56
@ SPA_TYPE_OBJECT_ParamBuffers
Definition: type.h:97
@ SPA_TYPE_Fraction
Definition: type.h:61
@ SPA_TYPE_None
Definition: type.h:51
@ SPA_TYPE_OBJECT_ParamIO
Definition: type.h:99
@ SPA_TYPE_OBJECT_Props
Definition: type.h:95
@ SPA_TYPE_Sequence
Definition: type.h:66
@ SPA_TYPE_Double
Definition: type.h:57
@ SPA_TYPE_OBJECT_ParamLatency
Definition: type.h:104
@ SPA_TYPE_Id
Definition: type.h:53
@ SPA_TYPE_Array
Definition: type.h:63
@ SPA_TYPE_String
Definition: type.h:58
@ SPA_TYPE_OBJECT_ParamProcessLatency
Definition: type.h:105
@ SPA_TYPE_Fd
Definition: type.h:68
@ SPA_TYPE_OBJECT_ParamMeta
Definition: type.h:98
@ SPA_TYPE_OBJECT_ParamRoute
Definition: type.h:102
@ SPA_TYPE_Struct
Definition: type.h:64
@ SPA_TYPE_OBJECT_Format
Definition: type.h:96
spa/param/audio/type-info.h
spa/param/bluetooth/type-info.h
spa/param/format.h
spa/param/video/type-info.h
spa/param/profiler.h
Definition: type.h:162