5 #ifndef SPA_PARAM_FORMAT_TYPES_H
6 #define SPA_PARAM_FORMAT_TYPES_H
17 #include <spa/param/format.h>
18 #include <spa/param/param-types.h>
20 #include <spa/param/audio/type-info.h>
21 #include <spa/param/video/type-info.h>
23 #define SPA_TYPE_INFO_Format SPA_TYPE_INFO_PARAM_BASE "Format"
24 #define SPA_TYPE_INFO_FORMAT_BASE SPA_TYPE_INFO_Format ":"
26 #define SPA_TYPE_INFO_MediaType SPA_TYPE_INFO_ENUM_BASE "MediaType"
27 #define SPA_TYPE_INFO_MEDIA_TYPE_BASE SPA_TYPE_INFO_MediaType ":"
40 #define SPA_TYPE_INFO_MediaSubtype SPA_TYPE_INFO_ENUM_BASE "MediaSubtype"
41 #define SPA_TYPE_INFO_MEDIA_SUBTYPE_BASE SPA_TYPE_INFO_MediaSubtype ":"
90 #define SPA_TYPE_INFO_FormatAudio SPA_TYPE_INFO_FORMAT_BASE "Audio"
91 #define SPA_TYPE_INFO_FORMAT_AUDIO_BASE SPA_TYPE_INFO_FormatAudio ":"
93 #define SPA_TYPE_INFO_FORMAT_AUDIO_AAC SPA_TYPE_INFO_FORMAT_AUDIO_BASE "AAC"
94 #define SPA_TYPE_INFO_FORMAT_AUDIO_AAC_BASE SPA_TYPE_INFO_FORMAT_AUDIO_AAC ":"
95 #define SPA_TYPE_INFO_FORMAT_AUDIO_WMA SPA_TYPE_INFO_FORMAT_AUDIO_BASE "WMA"
96 #define SPA_TYPE_INFO_FORMAT_AUDIO_WMA_BASE SPA_TYPE_INFO_FORMAT_AUDIO_WMA ":"
97 #define SPA_TYPE_INFO_FORMAT_AUDIO_AMR SPA_TYPE_INFO_FORMAT_AUDIO_BASE "AMR"
98 #define SPA_TYPE_INFO_FORMAT_AUDIO_AMR_BASE SPA_TYPE_INFO_FORMAT_AUDIO_AMR ":"
100 #define SPA_TYPE_INFO_FormatVideo SPA_TYPE_INFO_FORMAT_BASE "Video"
101 #define SPA_TYPE_INFO_FORMAT_VIDEO_BASE SPA_TYPE_INFO_FormatVideo ":"
103 #define SPA_TYPE_INFO_FORMAT_VIDEO_H264 SPA_TYPE_INFO_FORMAT_VIDEO_BASE "H264"
104 #define SPA_TYPE_INFO_FORMAT_VIDEO_H264_BASE SPA_TYPE_INFO_FORMAT_VIDEO_H264 ":"
124 spa_type_audio_iec958_codec },
133 spa_type_audio_aac_stream_format },
135 spa_type_audio_wma_profile },
137 spa_type_audio_amr_band_mode },
161 { 0, 0, NULL, NULL },
Interleave bytes (Int)
Definition: format.h:107
static const struct spa_type_info spa_type_audio_format[]
Definition: raw-types.h:30
(Id enum spa_video_multiview_flags)
Definition: format.h:130
static const struct spa_type_info spa_type_audio_flags[]
Definition: raw-types.h:143
bit rate (Int)
Definition: format.h:108
since 0.3.65
Definition: format.h:58
media type (Id enum spa_media_type)
Definition: format.h:93
/Id enum spa_video_color_matrix)
Definition: format.h:133
S/PDIF.
Definition: format.h:41
#define SPA_TYPE_INFO_FORMAT_AUDIO_WMA_BASE
Definition: format-types.h:113
/Id enum spa_video_color_range)
Definition: format.h:132
codec used (IEC958) (Id enum spa_audio_iec958_codec)
Definition: format.h:104
/Id enum spa_video_transfer_function)
Definition: format.h:134
optional flags (Int)
Definition: format.h:99
size (Rectangle)
Definition: format.h:123
static const struct spa_type_info spa_type_param_bitorder[]
Definition: param-types.h:82
#define SPA_TYPE_INFO_FORMAT_AUDIO_BASE
Definition: format-types.h:104
#define SPA_TYPE_INFO_FORMAT_VIDEO_BASE
Definition: format-types.h:122
bit order (Id enum spa_param_bitorder)
Definition: format.h:106
(Int)
Definition: format.h:137
#define SPA_TYPE_INFO_FORMAT_BASE
Definition: format-types.h:31
static const struct spa_type_info spa_type_media_type[]
Definition: format-types.h:38
#define SPA_TYPE_INFO_MEDIA_SUBTYPE_BASE
Definition: format-types.h:52
AAC stream format, (Id enum spa_audio_aac_stream_format)
Definition: format.h:111
(Id enum spa_video_interlace_mode)
Definition: format.h:127
since 0.3.65
Definition: format.h:59
static const struct spa_type_info spa_type_prop_channel_map[]
Definition: param-types.h:67
static const struct spa_type_info spa_type_video_format[]
Definition: raw-types.h:29
media subtype (Id enum spa_media_subtype)
Definition: format.h:94
number of views (Int)
Definition: format.h:126
frame rate (Fraction)
Definition: format.h:124
static const struct spa_type_info spa_type_format[]
Definition: format-types.h:129
static const struct spa_type_info spa_type_video_interlace_mode[]
Definition: raw-types.h:139
format modifier (Long) use only with DMA-BUF and omit for other buffer types
Definition: format.h:121
(Int)
Definition: format.h:136
AMR band mode (Id enum spa_audio_amr_band_mode)
Definition: format.h:115
#define SPA_TYPE_INFO_MEDIA_TYPE_BASE
Definition: format-types.h:36
video format (Id enum spa_video_format)
Definition: format.h:120
channel positions (Id enum spa_audio_position)
Definition: format.h:102
audio data block alignment (Int)
Definition: format.h:109
#define SPA_TYPE_INFO_FORMAT_AUDIO_AMR_BASE
Definition: format-types.h:117
sample rate (Int)
Definition: format.h:100
number of audio channels (Int)
Definition: format.h:101
(Id enum spa_h264_alignment)
Definition: format.h:139
static const struct spa_type_info spa_type_param[]
Definition: param-types.h:32
static const struct spa_type_info spa_type_media_subtype[]
Definition: format-types.h:54
audio format, (Id enum spa_audio_format)
Definition: format.h:98
since 0.3.65
Definition: format.h:57
(Rectangle)
Definition: format.h:128
(Id enum spa_video_multiview_mode)
Definition: format.h:129
#define SPA_TYPE_INFO_FORMAT_AUDIO_AAC_BASE
Definition: format-types.h:109
WMA profile (Id enum spa_audio_wma_profile)
Definition: format.h:113
(Id enum spa_h264_stream_format)
Definition: format.h:138
maximum frame rate (Fraction)
Definition: format.h:125
/Id enum spa_video_chroma_site)
Definition: format.h:131
/Id enum spa_video_color_primaries)
Definition: format.h:135
control stream, data contains spa_pod_sequence with control info.
Definition: format.h:85
#define SPA_TYPE_INFO_FORMAT_VIDEO_H264_BASE
Definition: format-types.h:127