PipeWire  0.3.33
param/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_props[] = {
105 
119  { SPA_PROP_latencyOffsetNsec, SPA_TYPE_Long, SPA_TYPE_INFO_PROPS_BASE "latencyOffsetNsec", NULL },
122 
131 
133  { 0, 0, NULL, NULL },
134 };
135 
137 #define SPA_TYPE_INFO_PropInfo SPA_TYPE_INFO_PARAM_BASE "PropInfo"
138 #define SPA_TYPE_INFO_PROP_INFO_BASE SPA_TYPE_INFO_PropInfo ":"
139 
140 /* static */ const struct spa_type_info spa_type_prop_info[] = {
148  { 0, 0, NULL, NULL },
149 };
150 
151 #define SPA_TYPE_INFO_PARAM_Meta SPA_TYPE_INFO_PARAM_BASE "Meta"
152 #define SPA_TYPE_INFO_PARAM_META_BASE SPA_TYPE_INFO_PARAM_Meta ":"
153 
154 /* static */ const struct spa_type_info spa_type_param_meta[] = {
158  { 0, 0, NULL, NULL },
159 };
160 
164 #define SPA_TYPE_INFO_PARAM_IO SPA_TYPE_INFO_PARAM_BASE "IO"
165 #define SPA_TYPE_INFO_PARAM_IO_BASE SPA_TYPE_INFO_PARAM_IO ":"
166 
167 /* static */ const struct spa_type_info spa_type_param_io[] = {
171  { 0, 0, NULL, NULL },
172 };
173 
174 #define SPA_TYPE_INFO_Format SPA_TYPE_INFO_PARAM_BASE "Format"
175 #define SPA_TYPE_INFO_FORMAT_BASE SPA_TYPE_INFO_Format ":"
176 
177 #define SPA_TYPE_INFO_MediaType SPA_TYPE_INFO_ENUM_BASE "MediaType"
178 #define SPA_TYPE_INFO_MEDIA_TYPE_BASE SPA_TYPE_INFO_MediaType ":"
179 
180 /* static */ const struct spa_type_info spa_type_media_type[] = {
188  { 0, 0, NULL, NULL },
189 };
190 
191 #define SPA_TYPE_INFO_MediaSubtype SPA_TYPE_INFO_ENUM_BASE "MediaSubtype"
192 #define SPA_TYPE_INFO_MEDIA_SUBTYPE_BASE SPA_TYPE_INFO_MediaSubtype ":"
193 
194 /* static */ const struct spa_type_info spa_type_media_subtype[] = {
196  /* generic subtypes */
199  /* audio subtypes */
212  /* video subtypes */
226  /* image subtypes */
228  /* stream subtypes */
230  /* application subtypes */
232  { 0, 0, NULL, NULL },
233 };
234 
235 #define SPA_TYPE_INFO_FormatAudio SPA_TYPE_INFO_FORMAT_BASE "Audio"
236 #define SPA_TYPE_INFO_FORMAT_AUDIO_BASE SPA_TYPE_INFO_FormatAudio ":"
237 
238 #define SPA_TYPE_INFO_FormatVideo SPA_TYPE_INFO_FORMAT_BASE "Video"
239 #define SPA_TYPE_INFO_FORMAT_VIDEO_BASE SPA_TYPE_INFO_FormatVideo ":"
240 
241 #define SPA_TYPE_INFO_FORMAT_VIDEO_H264 SPA_TYPE_INFO_FORMAT_VIDEO_BASE "H264"
242 #define SPA_TYPE_INFO_FORMAT_VIDEO_H264_BASE SPA_TYPE_INFO_FORMAT_VIDEO_H264 ":"
243 
244 /* static */ const struct spa_type_info spa_type_format[] = {
246 
251 
260 
279 
282  { 0, 0, NULL, NULL },
283 };
284 
285 #define SPA_TYPE_INFO_PARAM_Buffers SPA_TYPE_INFO_PARAM_BASE "Buffers"
286 #define SPA_TYPE_INFO_PARAM_BUFFERS_BASE SPA_TYPE_INFO_PARAM_Buffers ":"
287 
288 #define SPA_TYPE_INFO_PARAM_BlockInfo SPA_TYPE_INFO_PARAM_BUFFERS_BASE "BlockInfo"
289 #define SPA_TYPE_INFO_PARAM_BLOCK_INFO_BASE SPA_TYPE_INFO_PARAM_BlockInfo ":"
290 
291 /* static */ const struct spa_type_info spa_type_param_buffers[] = {
299  { 0, 0, NULL, NULL },
300 };
301 
302 #define SPA_TYPE_INFO_ParamAvailability SPA_TYPE_INFO_ENUM_BASE "ParamAvailability"
303 #define SPA_TYPE_INFO_PARAM_AVAILABILITY_BASE SPA_TYPE_INFO_ParamAvailability ":"
304 
305 /* static */ const struct spa_type_info spa_type_param_availability[] = {
309  { 0, 0, NULL, NULL },
310 };
311 
312 #define SPA_TYPE_INFO_PARAM_Profile SPA_TYPE_INFO_PARAM_BASE "Profile"
313 #define SPA_TYPE_INFO_PARAM_PROFILE_BASE SPA_TYPE_INFO_PARAM_Profile ":"
314 
315 /* static */ const struct spa_type_info spa_type_param_profile[] = {
325  { 0, 0, NULL, NULL },
326 };
327 
328 #define SPA_TYPE_INFO_ParamPortConfigMode SPA_TYPE_INFO_ENUM_BASE "ParamPortConfigMode"
329 #define SPA_TYPE_INFO_PARAM_PORT_CONFIG_MODE_BASE SPA_TYPE_INFO_ParamPortConfigMode ":"
330 
331 /* static */ const struct spa_type_info spa_type_param_port_config_mode[] = {
336  { 0, 0, NULL, NULL },
337 };
338 
339 #define SPA_TYPE_INFO_PARAM_PortConfig SPA_TYPE_INFO_PARAM_BASE "PortConfig"
340 #define SPA_TYPE_INFO_PARAM_PORT_CONFIG_BASE SPA_TYPE_INFO_PARAM_PortConfig ":"
341 
342 /* static */ const struct spa_type_info spa_type_param_port_config[] = {
349  { 0, 0, NULL, NULL },
350 };
351 
352 
353 #define SPA_TYPE_INFO_PARAM_Route SPA_TYPE_INFO_PARAM_BASE "Route"
354 #define SPA_TYPE_INFO_PARAM_ROUTE_BASE SPA_TYPE_INFO_PARAM_Route ":"
355 
356 /* static */ const struct spa_type_info spa_type_param_route[] = {
371  { 0, 0, NULL, NULL },
372 };
373 
374 #include <spa/param/profiler.h>
375 
376 #define SPA_TYPE_INFO_Profiler SPA_TYPE_INFO_OBJECT_BASE "Profiler"
377 #define SPA_TYPE_INFO_PROFILER_BASE SPA_TYPE_INFO_Profiler ":"
378 
379 /* static */ const struct spa_type_info spa_type_profiler[] = {
385  { 0, 0, NULL, NULL },
386 };
387 
388 #define SPA_TYPE_INFO_PARAM_Latency SPA_TYPE_INFO_PARAM_BASE "Latency"
389 #define SPA_TYPE_INFO_PARAM_LATENCY_BASE SPA_TYPE_INFO_PARAM_Latency ":"
390 
391 /* static */ const struct spa_type_info spa_type_param_latency[] = {
400  { 0, 0, NULL, NULL },
401 };
402 
403 #define SPA_TYPE_INFO_PARAM_ProcessLatency SPA_TYPE_INFO_PARAM_BASE "ProcessLatency"
404 #define SPA_TYPE_INFO_PARAM_PROCESS_LATENCY_BASE SPA_TYPE_INFO_PARAM_ProcessLatency ":"
405 
406 /* static */ const struct spa_type_info spa_type_param_process_latency[] = {
411  { 0, 0, NULL, NULL },
412 };
413 
418 #ifdef __cplusplus
419 } /* extern "C" */
420 #endif
421 
422 #endif /* SPA_PARAM_TYPES_H */
SPA_MEDIA_TYPE_image
@ SPA_MEDIA_TYPE_image
Definition: param/format.h:44
SPA_MEDIA_SUBTYPE_dsp
@ SPA_MEDIA_SUBTYPE_dsp
Definition: param/format.h:54
SPA_PARAM_PROCESS_LATENCY_ns
@ SPA_PARAM_PROCESS_LATENCY_ns
latency (Long) in nanoseconds
Definition: param.h:194
SPA_TYPE_None
@ SPA_TYPE_None
Definition: build-12775836/doc/spa/utils/type.h:45
SPA_PROP_exposure
@ SPA_PROP_exposure
Definition: props.h:105
SPA_PARAM_Profile
@ SPA_PARAM_Profile
profile configuration as SPA_TYPE_OBJECT_ParamProfile
Definition: param.h:53
spa_type_format
const struct spa_type_info spa_type_format[]
Definition: param/type-info.h:244
SPA_FORMAT_START
@ SPA_FORMAT_START
Definition: param/format.h:100
SPA_PROFILER_START
@ SPA_PROFILER_START
Definition: profiler.h:41
SPA_PARAM_LATENCY_minQuantum
@ SPA_PARAM_LATENCY_minQuantum
min latency relative to quantum (Float)
Definition: param.h:181
SPA_TYPE_Float
@ SPA_TYPE_Float
Definition: build-12775836/doc/spa/utils/type.h:50
SPA_MEDIA_SUBTYPE_vc1
@ SPA_MEDIA_SUBTYPE_vc1
Definition: param/format.h:80
SPA_PROP_INFO_id
@ SPA_PROP_INFO_id
associated id of the property
Definition: props.h:42
SPA_FORMAT_mediaType
@ SPA_FORMAT_mediaType
media type (Id enum spa_media_type)
Definition: param/format.h:102
SPA_TYPE_Long
@ SPA_TYPE_Long
Definition: build-12775836/doc/spa/utils/type.h:49
SPA_PROP_deviceFd
@ SPA_PROP_deviceFd
Definition: props.h:63
SPA_TYPE_OBJECT_ParamBuffers
@ SPA_TYPE_OBJECT_ParamBuffers
Definition: build-12775836/doc/spa/utils/type.h:91
SPA_PARAM_LATENCY_START
@ SPA_PARAM_LATENCY_START
Definition: param.h:179
SPA_PARAM_PORT_CONFIG_MODE_passthrough
@ SPA_PARAM_PORT_CONFIG_MODE_passthrough
passthrough configuration
Definition: param.h:137
SPA_FORMAT_AUDIO_flags
@ SPA_FORMAT_AUDIO_flags
optional flags (Int)
Definition: param/format.h:108
SPA_MEDIA_SUBTYPE_adpcm
@ SPA_MEDIA_SUBTYPE_adpcm
Definition: param/format.h:63
SPA_PARAM_BUFFERS_blocks
@ SPA_PARAM_BUFFERS_blocks
number of data blocks per buffer (Int)
Definition: param.h:83
SPA_PARAM_PORT_CONFIG_MODE_none
@ SPA_PARAM_PORT_CONFIG_MODE_none
no configuration
Definition: param.h:136
SPA_MEDIA_SUBTYPE_g723
@ SPA_MEDIA_SUBTYPE_g723
Definition: param/format.h:64
SPA_PARAM_LATENCY_minNs
@ SPA_PARAM_LATENCY_minNs
min latency (Long) in nanoseconds
Definition: param.h:185
SPA_PARAM_META_size
@ SPA_PARAM_META_size
the expected maximum size the meta (Int)
Definition: param.h:94
SPA_PARAM_IO_size
@ SPA_PARAM_IO_size
size of the io area (Int)
Definition: param.h:101
SPA_TYPE_INFO_PARAM_PORT_CONFIG_BASE
#define SPA_TYPE_INFO_PARAM_PORT_CONFIG_BASE
Definition: param/type-info.h:340
SPA_PARAM_PROFILE_info
@ SPA_PARAM_PROFILE_info
info (Struct( Int : n_items, (String : key, String : value)*))
Definition: param.h:119
SPA_MEDIA_SUBTYPE_sbc
@ SPA_MEDIA_SUBTYPE_sbc
Definition: param/format.h:62
SPA_PARAM_PROFILE_name
@ SPA_PARAM_PROFILE_name
profile name (String)
Definition: param.h:114
spa_type_param_buffers
const struct spa_type_info spa_type_param_buffers[]
Definition: param/type-info.h:291
SPA_PROP_params
@ SPA_PROP_params
simple control params (Struct( (String : key, Pod : value)*))
Definition: props.h:110
SPA_TYPE_OBJECT_Format
@ SPA_TYPE_OBJECT_Format
Definition: build-12775836/doc/spa/utils/type.h:90
SPA_PARAM_BUFFERS_dataType
@ SPA_PARAM_BUFFERS_dataType
possible memory types (Int, mask of enum spa_data_type)
Definition: param.h:87
SPA_PROP_mute
@ SPA_PROP_mute
mute (Bool)
Definition: props.h:81
SPA_PARAM_PORT_CONFIG_format
@ SPA_PARAM_PORT_CONFIG_format
(Object) format filter
Definition: param.h:151
SPA_PROP_volumeBase
@ SPA_PROP_volumeBase
a volume base (Float)
Definition: props.h:87
SPA_TYPE_INFO_PROP_INFO_BASE
#define SPA_TYPE_INFO_PROP_INFO_BASE
Definition: param/type-info.h:138
SPA_TYPE_Id
@ SPA_TYPE_Id
Definition: build-12775836/doc/spa/utils/type.h:47
spa_type_prop_info
const struct spa_type_info spa_type_prop_info[]
Definition: param/type-info.h:140
spa_type_audio_channel
const struct spa_type_info spa_type_audio_channel[]
Definition: param/audio/type-info.h:159
SPA_TYPE_Int
@ SPA_TYPE_Int
Definition: build-12775836/doc/spa/utils/type.h:48
SPA_PARAM_ProcessLatency
@ SPA_PARAM_ProcessLatency
processing latency, a SPA_TYPE_OBJECT_ParamProcessLatency
Definition: param.h:60
spa_type_param_io
const struct spa_type_info spa_type_param_io[]
Definition: param/type-info.h:167
SPA_PARAM_META_START
@ SPA_PARAM_META_START
Definition: param.h:92
spa_type_param_latency
const struct spa_type_info spa_type_param_latency[]
Definition: param/type-info.h:391
SPA_MEDIA_SUBTYPE_g726
@ SPA_MEDIA_SUBTYPE_g726
Definition: param/format.h:65
SPA_MEDIA_TYPE_unknown
@ SPA_MEDIA_TYPE_unknown
Definition: param/format.h:41
SPA_PARAM_ROUTE_devices
@ SPA_PARAM_ROUTE_devices
associated device indexes (Array of Int)
Definition: param.h:171
SPA_PARAM_Latency
@ SPA_PARAM_Latency
latency reporting, a SPA_TYPE_OBJECT_ParamLatency
Definition: param.h:59
spa_type_info
Definition: build-12775836/doc/spa/utils/type.h:137
SPA_PARAM_BUFFERS_buffers
@ SPA_PARAM_BUFFERS_buffers
number of buffers (Int)
Definition: param.h:82
SPA_PARAM_LATENCY_direction
@ SPA_PARAM_LATENCY_direction
direction, input/output (Id enum spa_direction)
Definition: param.h:180
SPA_PROP_gamma
@ SPA_PROP_gamma
Definition: props.h:104
SPA_TYPE_INFO_PARAM_META_BASE
#define SPA_TYPE_INFO_PARAM_META_BASE
Definition: param/type-info.h:152
SPA_PROP_truncate
@ SPA_PROP_truncate
Definition: props.h:84
SPA_PARAM_PROCESS_LATENCY_START
@ SPA_PARAM_PROCESS_LATENCY_START
Definition: param.h:191
SPA_MEDIA_SUBTYPE_vp9
@ SPA_MEDIA_SUBTYPE_vp9
Definition: param/format.h:82
SPA_PROP_START
@ SPA_PROP_START
Definition: props.h:56
SPA_FORMAT_VIDEO_interlaceMode
@ SPA_FORMAT_VIDEO_interlaceMode
(Id enum spa_video_interlace_mode)
Definition: param/format.h:121
SPA_PROP_contrast
@ SPA_PROP_contrast
Definition: props.h:101
SPA_MEDIA_SUBTYPE_jpeg
@ SPA_MEDIA_SUBTYPE_jpeg
Definition: param/format.h:86
type-info.h
SPA_TYPE_INFO_PROFILER_BASE
#define SPA_TYPE_INFO_PROFILER_BASE
Definition: param/type-info.h:377
SPA_PROP_sharpness
@ SPA_PROP_sharpness
Definition: props.h:107
SPA_PROFILER_clock
@ SPA_PROFILER_clock
clock information (Struct( Int : clock flags, Int : clock id, String: clock name, Long : clock nsec,...
Definition: profiler.h:51
SPA_FORMAT_VIDEO_colorMatrix
@ SPA_FORMAT_VIDEO_colorMatrix
/Id enum spa_video_color_matrix)
Definition: param/format.h:127
SPA_PROP_softVolumes
@ SPA_PROP_softVolumes
a volume array, one volume per channel (Array of Float)
Definition: props.h:96
SPA_PARAM_LATENCY_maxRate
@ SPA_PARAM_LATENCY_maxRate
max latency (Int) relative to rate
Definition: param.h:184
format.h
SPA_TYPE_Array
@ SPA_TYPE_Array
Definition: build-12775836/doc/spa/utils/type.h:57
SPA_PROP_patternType
@ SPA_PROP_patternType
Definition: props.h:82
SPA_PROP_waveType
@ SPA_PROP_waveType
Definition: props.h:78
SPA_PROP_monitorVolumes
@ SPA_PROP_monitorVolumes
a volume array, one volume per channel (Array of Float)
Definition: props.h:92
SPA_PARAM_PORT_CONFIG_direction
@ SPA_PARAM_PORT_CONFIG_direction
direction, input/output (Id enum spa_direction)
Definition: param.h:147
SPA_PROFILER_followerBlock
@ SPA_PROFILER_followerBlock
generic follower info block (Struct( Int : id, String : name, Long : prev_signal, Long : signal,...
Definition: profiler.h:75
SPA_PROP_softMute
@ SPA_PROP_softMute
mute (Bool)
Definition: props.h:95
SPA_MEDIA_SUBTYPE_h263
@ SPA_MEDIA_SUBTYPE_h263
Definition: param/format.h:75
SPA_TYPE_Rectangle
@ SPA_TYPE_Rectangle
Definition: build-12775836/doc/spa/utils/type.h:54
SPA_PROP_cardName
@ SPA_PROP_cardName
Definition: props.h:65
SPA_PROP_channelMap
@ SPA_PROP_channelMap
a channelmap array (Array (Id enum spa_audio_channel))
Definition: props.h:89
SPA_PARAM_IO_id
@ SPA_PARAM_IO_id
type ID, uniquely identifies the io area (Id enum spa_io_type)
Definition: param.h:100
SPA_FORMAT_VIDEO_size
@ SPA_FORMAT_VIDEO_size
size (Rectangle)
Definition: param/format.h:117
SPA_MEDIA_TYPE_audio
@ SPA_MEDIA_TYPE_audio
Definition: param/format.h:42
SPA_FORMAT_VIDEO_colorRange
@ SPA_FORMAT_VIDEO_colorRange
/Id enum spa_video_color_range)
Definition: param/format.h:126
SPA_PROP_ditherType
@ SPA_PROP_ditherType
Definition: props.h:83
SPA_TYPE_INFO_FORMAT_VIDEO_BASE
#define SPA_TYPE_INFO_FORMAT_VIDEO_BASE
Definition: param/type-info.h:239
SPA_PROP_latencyOffsetNsec
@ SPA_PROP_latencyOffsetNsec
delay adjustment
Definition: props.h:94
SPA_PROP_unknown
@ SPA_PROP_unknown
an unknown property
Definition: props.h:58
SPA_PARAM_PROCESS_LATENCY_rate
@ SPA_PARAM_PROCESS_LATENCY_rate
latency (Int) relative to rate
Definition: param.h:193
SPA_PARAM_ROUTE_index
@ SPA_PARAM_ROUTE_index
index of the routing destination (Int)
Definition: param.h:157
SPA_PROP_INFO_labels
@ 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:45
SPA_PROP_device
@ SPA_PROP_device
Definition: props.h:61
SPA_TYPE_INFO_PROPS_BASE
#define SPA_TYPE_INFO_PROPS_BASE
Definition: param/type-info.h:72
SPA_PARAM_Props
@ SPA_PARAM_Props
properties as SPA_TYPE_OBJECT_Props
Definition: param.h:46
SPA_PARAM_LATENCY_maxNs
@ SPA_PARAM_LATENCY_maxNs
max latency (Long) in nanoseconds
Definition: param.h:186
SPA_PARAM_PORT_CONFIG_MODE_dsp
@ SPA_PARAM_PORT_CONFIG_MODE_dsp
dsp configuration, depending on the external format.
Definition: param.h:139
spa_type_param_process_latency
const struct spa_type_info spa_type_param_process_latency[]
Definition: param/type-info.h:406
SPA_MEDIA_TYPE_stream
@ SPA_MEDIA_TYPE_stream
Definition: param/format.h:46
SPA_FORMAT_VIDEO_transferFunction
@ SPA_FORMAT_VIDEO_transferFunction
/Id enum spa_video_transfer_function)
Definition: param/format.h:128
SPA_PARAM_ROUTE_save
@ SPA_PARAM_ROUTE_save
If route should be saved (Bool)
Definition: param.h:173
SPA_PARAM_PROFILE_START
@ SPA_PARAM_PROFILE_START
Definition: param.h:112
SPA_PARAM_Format
@ SPA_PARAM_Format
configured format as SPA_TYPE_OBJECT_Format
Definition: param.h:48
SPA_MEDIA_SUBTYPE_mp3
@ SPA_MEDIA_SUBTYPE_mp3
Definition: param/format.h:57
SPA_PARAM_ROUTE_priority
@ SPA_PARAM_ROUTE_priority
priority of the destination (Int)
Definition: param.h:162
spa_type_audio_flags
const struct spa_type_info spa_type_audio_flags[]
Definition: param/audio/type-info.h:150
spa_type_param_meta
const struct spa_type_info spa_type_param_meta[]
Definition: param/type-info.h:154
SPA_PROP_volume
@ SPA_PROP_volume
a volume (Float), 0.0 silence, 1.0 normal
Definition: props.h:80
SPA_FORMAT_VIDEO_views
@ SPA_FORMAT_VIDEO_views
number of views (Int)
Definition: param/format.h:120
SPA_TYPE_INFO_MEDIA_SUBTYPE_BASE
#define SPA_TYPE_INFO_MEDIA_SUBTYPE_BASE
Definition: param/type-info.h:192
SPA_FORMAT_VIDEO_profile
@ SPA_FORMAT_VIDEO_profile
(Int)
Definition: param/format.h:130
SPA_PARAM_ROUTE_available
@ SPA_PARAM_ROUTE_available
availability of the destination (Id enum spa_param_availability)
Definition: param.h:163
SPA_PARAM_PORT_CONFIG_MODE_convert
@ SPA_PARAM_PORT_CONFIG_MODE_convert
convert configuration
Definition: param.h:138
SPA_TYPE_Fd
@ SPA_TYPE_Fd
Definition: build-12775836/doc/spa/utils/type.h:62
SPA_TYPE_INFO_FORMAT_AUDIO_BASE
#define SPA_TYPE_INFO_FORMAT_AUDIO_BASE
Definition: param/type-info.h:236
SPA_PARAM_BUFFERS_size
@ SPA_PARAM_BUFFERS_size
size of a data block memory (Int)
Definition: param.h:84
SPA_MEDIA_TYPE_binary
@ SPA_MEDIA_TYPE_binary
Definition: param/format.h:45
profiler.h
SPA_MEDIA_TYPE_application
@ SPA_MEDIA_TYPE_application
Definition: param/format.h:47
SPA_TYPE_OBJECT_ParamProfile
@ SPA_TYPE_OBJECT_ParamProfile
Definition: build-12775836/doc/spa/utils/type.h:94
SPA_MEDIA_SUBTYPE_vorbis
@ SPA_MEDIA_SUBTYPE_vorbis
Definition: param/format.h:59
SPA_PROP_rate
@ SPA_PROP_rate
Definition: props.h:73
SPA_TYPE_String
@ SPA_TYPE_String
Definition: build-12775836/doc/spa/utils/type.h:52
SPA_PROP_INFO_name
@ SPA_PROP_INFO_name
name of the property
Definition: props.h:43
SPA_PROP_quality
@ SPA_PROP_quality
Definition: props.h:74
SPA_FORMAT_VIDEO_level
@ SPA_FORMAT_VIDEO_level
(Int)
Definition: param/format.h:131
spa_type_meta_type
const struct spa_type_info spa_type_meta_type[]
Definition: buffer/type-info.h:73
SPA_TYPE_INFO_FORMAT_BASE
#define SPA_TYPE_INFO_FORMAT_BASE
Definition: param/type-info.h:175
SPA_MEDIA_SUBTYPE_wma
@ SPA_MEDIA_SUBTYPE_wma
Definition: param/format.h:60
SPA_PROP_periodEvent
@ SPA_PROP_periodEvent
Definition: props.h:71
SPA_PARAM_EnumPortConfig
@ SPA_PARAM_EnumPortConfig
port configuration enumeration as SPA_TYPE_OBJECT_ParamPortConfig
Definition: param.h:54
SPA_PARAM_ROUTE_info
@ SPA_PARAM_ROUTE_info
info (Struct( Int : n_items, (String : key, String : value)*))
Definition: param.h:165
SPA_PARAM_ROUTE_props
@ SPA_PARAM_ROUTE_props
properties SPA_TYPE_OBJECT_Props
Definition: param.h:170
SPA_TYPE_INFO_PARAM_BUFFERS_BASE
#define SPA_TYPE_INFO_PARAM_BUFFERS_BASE
Definition: param/type-info.h:286
SPA_PARAM_PROFILE_save
@ SPA_PARAM_PROFILE_save
If profile should be saved (Bool)
Definition: param.h:132
SPA_MEDIA_SUBTYPE_mpeg4
@ SPA_MEDIA_SUBTYPE_mpeg4
Definition: param/format.h:78
spa_type_profiler
const struct spa_type_info spa_type_profiler[]
Definition: param/type-info.h:379
SPA_PROP_live
@ SPA_PROP_live
Definition: props.h:72
SPA_TYPE_INFO_PARAM_PROFILE_BASE
#define SPA_TYPE_INFO_PARAM_PROFILE_BASE
Definition: param/type-info.h:313
SPA_PARAM_PORT_CONFIG_monitor
@ SPA_PARAM_PORT_CONFIG_monitor
(Bool) enable monitor output ports on input ports
Definition: param.h:149
SPA_TYPE_OBJECT_ParamIO
@ SPA_TYPE_OBJECT_ParamIO
Definition: build-12775836/doc/spa/utils/type.h:93
SPA_PARAM_PortConfig
@ SPA_PARAM_PortConfig
port configuration as SPA_TYPE_OBJECT_ParamPortConfig
Definition: param.h:55
SPA_PARAM_META_type
@ SPA_PARAM_META_type
the metadata, one of enum spa_meta_type (Id enum spa_meta_type)
Definition: param.h:93
SPA_PARAM_PORT_CONFIG_START
@ SPA_PARAM_PORT_CONFIG_START
Definition: param.h:146
type-info.h
SPA_TYPE_INFO_BASE
#define SPA_TYPE_INFO_BASE
Definition: build-12775836/doc/spa/utils/type.h:108
SPA_TYPE_Bool
@ SPA_TYPE_Bool
Definition: build-12775836/doc/spa/utils/type.h:46
SPA_FORMAT_AUDIO_rate
@ SPA_FORMAT_AUDIO_rate
sample rate (Int)
Definition: param/format.h:109
SPA_MEDIA_TYPE_video
@ SPA_MEDIA_TYPE_video
Definition: param/format.h:43
SPA_PROP_minLatency
@ SPA_PROP_minLatency
Definition: props.h:67
spa_type_prop_channel_map
const struct spa_type_info spa_type_prop_channel_map[]
Definition: param/type-info.h:83
SPA_TYPE_INFO_PARAM_ROUTE_BASE
#define SPA_TYPE_INFO_PARAM_ROUTE_BASE
Definition: param/type-info.h:354
SPA_PARAM_BUFFERS_START
@ SPA_PARAM_BUFFERS_START
Definition: param.h:81
SPA_TYPE_INFO_PARAM_IO_BASE
#define SPA_TYPE_INFO_PARAM_IO_BASE
Definition: param/type-info.h:165
SPA_PARAM_PROFILE_description
@ SPA_PARAM_PROFILE_description
profile description (String)
Definition: param.h:115
SPA_PARAM_AVAILABILITY_yes
@ SPA_PARAM_AVAILABILITY_yes
available
Definition: param.h:107
type-info.h
SPA_FORMAT_mediaSubtype
@ SPA_FORMAT_mediaSubtype
media subtype (Id enum spa_media_subtype)
Definition: param/format.h:103
SPA_TYPE_OBJECT_ParamProcessLatency
@ SPA_TYPE_OBJECT_ParamProcessLatency
Definition: build-12775836/doc/spa/utils/type.h:99
SPA_PARAM_EnumRoute
@ SPA_PARAM_EnumRoute
routing enumeration as SPA_TYPE_OBJECT_ParamRoute
Definition: param.h:56
SPA_PARAM_ROUTE_direction
@ SPA_PARAM_ROUTE_direction
direction, input/output (Id enum spa_direction)
Definition: param.h:158
SPA_PROP_periods
@ SPA_PROP_periods
Definition: props.h:69
SPA_MEDIA_SUBTYPE_midi
@ SPA_MEDIA_SUBTYPE_midi
Definition: param/format.h:91
SPA_PROP_volumeStep
@ SPA_PROP_volumeStep
a volume step (Float)
Definition: props.h:88
SPA_PROP_INFO_params
@ SPA_PROP_INFO_params
is part of params property (Bool)
Definition: props.h:51
SPA_MEDIA_SUBTYPE_vp8
@ SPA_MEDIA_SUBTYPE_vp8
Definition: param/format.h:81
SPA_PARAM_ROUTE_description
@ SPA_PARAM_ROUTE_description
description of the destination (String)
Definition: param.h:161
SPA_FORMAT_VIDEO_framerate
@ SPA_FORMAT_VIDEO_framerate
frame rate (Fraction)
Definition: param/format.h:118
SPA_PROP_gain
@ SPA_PROP_gain
Definition: props.h:106
type-info.h
SPA_TYPE_Double
@ SPA_TYPE_Double
Definition: build-12775836/doc/spa/utils/type.h:51
SPA_MEDIA_SUBTYPE_amr
@ SPA_MEDIA_SUBTYPE_amr
Definition: param/format.h:67
SPA_PARAM_LATENCY_maxQuantum
@ SPA_PARAM_LATENCY_maxQuantum
max latency relative to quantum (Float)
Definition: param.h:182
spa_type_video_format
const struct spa_type_info spa_type_video_format[]
Definition: param/video/type-info.h:41
SPA_PARAM_EnumFormat
@ SPA_PARAM_EnumFormat
available formats as SPA_TYPE_OBJECT_Format
Definition: param.h:47
SPA_TYPE_Sequence
@ SPA_TYPE_Sequence
Definition: build-12775836/doc/spa/utils/type.h:60
SPA_TYPE_INFO_MEDIA_TYPE_BASE
#define SPA_TYPE_INFO_MEDIA_TYPE_BASE
Definition: param/type-info.h:178
SPA_PARAM_EnumProfile
@ SPA_PARAM_EnumProfile
profile enumeration as SPA_TYPE_OBJECT_ParamProfile
Definition: param.h:52
SPA_FORMAT_VIDEO_H264_alignment
@ SPA_FORMAT_VIDEO_H264_alignment
(Id enum spa_h264_alignment)
Definition: param/format.h:133
SPA_TYPE_INFO_FORMAT_VIDEO_H264_BASE
#define SPA_TYPE_INFO_FORMAT_VIDEO_H264_BASE
Definition: param/type-info.h:242
SPA_PROP_INFO_type
@ SPA_PROP_INFO_type
type and range/enums of property
Definition: props.h:44
spa_type_param_port_config_mode
const struct spa_type_info spa_type_param_port_config_mode[]
Definition: param/type-info.h:331
spa_type_bluetooth_audio_codec
const struct spa_type_info spa_type_bluetooth_audio_codec[]
Definition: param/bluetooth/type-info.h:42
SPA_TYPE_INFO_PARAM_LATENCY_BASE
#define SPA_TYPE_INFO_PARAM_LATENCY_BASE
Definition: param/type-info.h:389
SPA_PARAM_Meta
@ SPA_PARAM_Meta
allowed metadata for buffers as SPA_TYPE_OBJECT_ParamMeta
Definition: param.h:50
SPA_TYPE_OBJECT_Props
@ SPA_TYPE_OBJECT_Props
Definition: build-12775836/doc/spa/utils/type.h:89
SPA_FORMAT_VIDEO_format
@ SPA_FORMAT_VIDEO_format
video format (Id enum spa_video_format)
Definition: param/format.h:115
SPA_FORMAT_VIDEO_H264_streamFormat
@ SPA_FORMAT_VIDEO_H264_streamFormat
(Id enum spa_h264_stream_format)
Definition: param/format.h:132
SPA_FORMAT_VIDEO_modifier
@ SPA_FORMAT_VIDEO_modifier
format modifier (Long)
Definition: param/format.h:116
SPA_TYPE_Fraction
@ SPA_TYPE_Fraction
Definition: build-12775836/doc/spa/utils/type.h:55
SPA_MEDIA_SUBTYPE_unknown
@ SPA_MEDIA_SUBTYPE_unknown
Definition: param/format.h:52
spa_type_io
const struct spa_type_info spa_type_io[]
Definition: node/type-info.h:46
SPA_MEDIA_SUBTYPE_gsm
@ SPA_MEDIA_SUBTYPE_gsm
Definition: param/format.h:68
SPA_PARAM_AVAILABILITY_no
@ SPA_PARAM_AVAILABILITY_no
not available
Definition: param.h:106
SPA_TYPE_INFO_PARAM_PROCESS_LATENCY_BASE
#define SPA_TYPE_INFO_PARAM_PROCESS_LATENCY_BASE
Definition: param/type-info.h:404
SPA_PARAM_ROUTE_name
@ SPA_PARAM_ROUTE_name
name of the routing destination (String)
Definition: param.h:160
SPA_FORMAT_VIDEO_colorPrimaries
@ SPA_FORMAT_VIDEO_colorPrimaries
/Id enum spa_video_color_primaries)
Definition: param/format.h:129
SPA_PROP_hue
@ SPA_PROP_hue
Definition: props.h:103
SPA_TYPE_INFO_PARAM_PORT_CONFIG_MODE_BASE
#define SPA_TYPE_INFO_PARAM_PORT_CONFIG_MODE_BASE
Definition: param/type-info.h:329
SPA_PARAM_ROUTE_profiles
@ SPA_PARAM_ROUTE_profiles
associated profile indexes (Array of Int)
Definition: param.h:169
SPA_MEDIA_SUBTYPE_mpeg1
@ SPA_MEDIA_SUBTYPE_mpeg1
Definition: param/format.h:76
SPA_PROFILER_info
@ SPA_PROFILER_info
Generic info, counter and CPU load, (Struct( Long : counter, Float : cpu_load fast,...
Definition: profiler.h:44
SPA_MEDIA_SUBTYPE_control
@ SPA_MEDIA_SUBTYPE_control
control stream, data contains spa_pod_sequence with control info.
Definition: param/format.h:94
SPA_PARAM_IO
@ SPA_PARAM_IO
configurable IO areas as SPA_TYPE_OBJECT_ParamIO
Definition: param.h:51
SPA_MEDIA_SUBTYPE_dv
@ SPA_MEDIA_SUBTYPE_dv
Definition: param/format.h:73
SPA_FORMAT_AUDIO_channels
@ SPA_FORMAT_AUDIO_channels
number of audio channels (Int)
Definition: param/format.h:110
SPA_TYPE_OBJECT_ParamMeta
@ SPA_TYPE_OBJECT_ParamMeta
Definition: build-12775836/doc/spa/utils/type.h:92
SPA_TYPE_Pod
@ SPA_TYPE_Pod
Definition: build-12775836/doc/spa/utils/type.h:64
SPA_PARAM_PROFILE_priority
@ SPA_PARAM_PROFILE_priority
profile priority (Int)
Definition: param.h:116
SPA_TYPE_INFO_PARAM_BLOCK_INFO_BASE
#define SPA_TYPE_INFO_PARAM_BLOCK_INFO_BASE
Definition: param/type-info.h:289
SPA_PARAM_PORT_CONFIG_control
@ SPA_PARAM_PORT_CONFIG_control
(Bool) enable control ports
Definition: param.h:150
spa_type_media_subtype
const struct spa_type_info spa_type_media_subtype[]
Definition: param/type-info.h:194
SPA_PARAM_AVAILABILITY_unknown
@ SPA_PARAM_AVAILABILITY_unknown
unknown availability
Definition: param.h:105
SPA_TYPE_OBJECT_ParamRoute
@ SPA_TYPE_OBJECT_ParamRoute
Definition: build-12775836/doc/spa/utils/type.h:96
spa_type_direction
const struct spa_type_info spa_type_direction[]
Definition: utils/type-info.h:54
SPA_PARAM_BUFFERS_stride
@ SPA_PARAM_BUFFERS_stride
stride of data block memory (Int)
Definition: param.h:85
SPA_FORMAT_AUDIO_format
@ SPA_FORMAT_AUDIO_format
audio format, (Id enum spa_audio_format)
Definition: param/format.h:107
SPA_FORMAT_VIDEO_maxFramerate
@ SPA_FORMAT_VIDEO_maxFramerate
maximum frame rate (Fraction)
Definition: param/format.h:119
SPA_PROP_channelVolumes
@ SPA_PROP_channelVolumes
a volume array, one volume per channel (Array of Float)
Definition: props.h:85
SPA_PROP_brightness
@ SPA_PROP_brightness
Definition: props.h:100
SPA_PARAM_PROFILE_index
@ SPA_PARAM_PROFILE_index
profile index (Int)
Definition: param.h:113
spa_type_media_type
const struct spa_type_info spa_type_media_type[]
Definition: param/type-info.h:180
SPA_PROP_frequency
@ SPA_PROP_frequency
Definition: props.h:79
SPA_FORMAT_VIDEO_chromaSite
@ SPA_FORMAT_VIDEO_chromaSite
/Id enum spa_video_chroma_site)
Definition: param/format.h:125
SPA_FORMAT_AUDIO_position
@ SPA_FORMAT_AUDIO_position
channel positions (Id enum spa_audio_position)
Definition: param/format.h:111
SPA_TYPE_INFO_PARAM_ID_BASE
#define SPA_TYPE_INFO_PARAM_ID_BASE
Definition: param/type-info.h:44
SPA_MEDIA_SUBTYPE_ra
@ SPA_MEDIA_SUBTYPE_ra
Definition: param/format.h:61
SPA_PARAM_IO_START
@ SPA_PARAM_IO_START
Definition: param.h:99
SPA_TYPE_OBJECT_ParamLatency
@ SPA_TYPE_OBJECT_ParamLatency
Definition: build-12775836/doc/spa/utils/type.h:98
SPA_MEDIA_SUBTYPE_mjpg
@ SPA_MEDIA_SUBTYPE_mjpg
Definition: param/format.h:72
spa_type_param
const struct spa_type_info spa_type_param[]
Definition: param/type-info.h:46
SPA_PARAM_ROUTE_profile
@ SPA_PARAM_ROUTE_profile
profile id (Int)
Definition: param.h:172
defs.h
SPA_FORMAT_VIDEO_pixelAspectRatio
@ SPA_FORMAT_VIDEO_pixelAspectRatio
(Rectangle)
Definition: param/format.h:122
SPA_PARAM_PORT_CONFIG_mode
@ SPA_PARAM_PORT_CONFIG_mode
(Id enum spa_param_port_config_mode) mode
Definition: param.h:148
SPA_MEDIA_SUBTYPE_mpeg2
@ SPA_MEDIA_SUBTYPE_mpeg2
Definition: param/format.h:77
SPA_PARAM_LATENCY_minRate
@ SPA_PARAM_LATENCY_minRate
min latency (Int) relative to rate
Definition: param.h:183
SPA_PARAM_Control
@ SPA_PARAM_Control
Control parameter, a SPA_TYPE_Sequence.
Definition: param.h:58
spa_type_param_route
const struct spa_type_info spa_type_param_route[]
Definition: param/type-info.h:356
spa_type_audio_format
const struct spa_type_info spa_type_audio_format[]
Definition: param/audio/type-info.h:42
SPA_PROP_monitorMute
@ SPA_PROP_monitorMute
mute (Bool)
Definition: props.h:91
SPA_MEDIA_SUBTYPE_g729
@ SPA_MEDIA_SUBTYPE_g729
Definition: param/format.h:66
SPA_PROP_card
@ SPA_PROP_card
Definition: props.h:64
SPA_MEDIA_SUBTYPE_bayer
@ SPA_MEDIA_SUBTYPE_bayer
Definition: param/format.h:83
SPA_PROP_bluetoothAudioCodec
@ SPA_PROP_bluetoothAudioCodec
Definition: props.h:75
SPA_PARAM_ROUTE_START
@ SPA_PARAM_ROUTE_START
Definition: param.h:156
SPA_TYPE_OBJECT_PropInfo
@ SPA_TYPE_OBJECT_PropInfo
Definition: build-12775836/doc/spa/utils/type.h:88
SPA_PARAM_PropInfo
@ SPA_PARAM_PropInfo
property information as SPA_TYPE_OBJECT_PropInfo
Definition: param.h:45
spa_type_param_availability
const struct spa_type_info spa_type_param_availability[]
Definition: param/type-info.h:305
spa_type_props
const struct spa_type_info spa_type_props[]
Definition: param/type-info.h:88
SPA_PARAM_ROUTE_device
@ SPA_PARAM_ROUTE_device
device id (Int)
Definition: param.h:159
SPA_PROP_INFO_container
@ SPA_PROP_INFO_container
type of container if any (Id)
Definition: props.h:50
SPA_PARAM_Route
@ SPA_PARAM_Route
routing configuration as SPA_TYPE_OBJECT_ParamRoute
Definition: param.h:57
SPA_MEDIA_SUBTYPE_mpegts
@ SPA_MEDIA_SUBTYPE_mpegts
Definition: param/format.h:74
SPA_PROP_INFO_START
@ SPA_PROP_INFO_START
Definition: props.h:41
spa_type_param_profile
const struct spa_type_info spa_type_param_profile[]
Definition: param/type-info.h:315
SPA_PARAM_BUFFERS_align
@ SPA_PARAM_BUFFERS_align
alignment of data block memory (Int)
Definition: param.h:86
SPA_TYPE_OBJECT_ParamPortConfig
@ SPA_TYPE_OBJECT_ParamPortConfig
Definition: build-12775836/doc/spa/utils/type.h:95
SPA_PARAM_PROFILE_available
@ SPA_PARAM_PROFILE_available
availability of the profile (Id enum spa_param_availability)
Definition: param.h:117
SPA_FORMAT_VIDEO_multiviewMode
@ SPA_FORMAT_VIDEO_multiviewMode
(Id enum spa_video_multiview_mode)
Definition: param/format.h:123
SPA_TYPE_INFO_PARAM_AVAILABILITY_BASE
#define SPA_TYPE_INFO_PARAM_AVAILABILITY_BASE
Definition: param/type-info.h:303
props.h
SPA_PROP_maxLatency
@ SPA_PROP_maxLatency
Definition: props.h:68
SPA_PROP_saturation
@ SPA_PROP_saturation
Definition: props.h:102
SPA_PARAM_Buffers
@ SPA_PARAM_Buffers
buffer configurations as SPA_TYPE_OBJECT_ParamBuffers
Definition: param.h:49
SPA_PROFILER_driverBlock
@ SPA_PROFILER_driverBlock
generic driver info block (Struct( Int : driver_id, String : name, Long : driver prev_signal,...
Definition: profiler.h:63
SPA_MEDIA_SUBTYPE_xvid
@ SPA_MEDIA_SUBTYPE_xvid
Definition: param/format.h:79
SPA_MEDIA_SUBTYPE_aac
@ SPA_MEDIA_SUBTYPE_aac
Definition: param/format.h:58
SPA_MEDIA_SUBTYPE_raw
@ SPA_MEDIA_SUBTYPE_raw
Definition: param/format.h:53
spa_type_prop_float_array
const struct spa_type_info spa_type_prop_float_array[]
Definition: param/type-info.h:78
SPA_PROP_periodSize
@ SPA_PROP_periodSize
Definition: props.h:70
spa_type_param_port_config
const struct spa_type_info spa_type_param_port_config[]
Definition: param/type-info.h:342
SPA_TYPE_Struct
@ SPA_TYPE_Struct
Definition: build-12775836/doc/spa/utils/type.h:58
SPA_PARAM_PROFILE_classes
@ SPA_PARAM_PROFILE_classes
node classes provided by this profile (Struct( Int : number of items following Struct( String : class...
Definition: param.h:123
SPA_PROP_deviceName
@ SPA_PROP_deviceName
Definition: props.h:62
SPA_PARAM_PROCESS_LATENCY_quantum
@ SPA_PARAM_PROCESS_LATENCY_quantum
latency relative to quantum (Float)
Definition: param.h:192
SPA_PARAM_Invalid
@ SPA_PARAM_Invalid
invalid
Definition: param.h:44
SPA_FORMAT_VIDEO_multiviewFlags
@ SPA_FORMAT_VIDEO_multiviewFlags
(Id enum spa_video_multiview_flags)
Definition: param/format.h:124
SPA_MEDIA_SUBTYPE_h264
@ SPA_MEDIA_SUBTYPE_h264
Definition: param/format.h:71