+ +
2da5fe7 OpenAVX v0.2.0 - High-performance open-standard IP audio and video transport suite
saifmukhtar · 2026-11-24
c · 41 lines · 729 B · SPDX: MIT
main
1 /* Simple Plugin API */
2 /* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
3 /* SPDX-License-Identifier: MIT */
4  
5 #ifndef SPA_PARAM_VIDEO_FORMAT_H
6 #define SPA_PARAM_VIDEO_FORMAT_H
7  
8 #include <spa/param/format.h>
9 #include <spa/param/video/raw.h>
10 #include <spa/param/video/dsp.h>
11 #include <spa/param/video/encoded.h>
12  
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16  
17 /**
18 * \addtogroup spa_param
19 * \{
20 */
21  
22 struct spa_video_info {
23 uint32_t media_type;
24 uint32_t media_subtype;
25 union {
26 struct spa_video_info_raw raw;
27 struct spa_video_info_dsp dsp;
28 struct spa_video_info_h264 h264;
29 struct spa_video_info_mjpg mjpg;
30 } info;
31 };
32  
33 /**
34 * \}
35 */
36  
37 #ifdef __cplusplus
38 } /* extern "C" */
39 #endif
40  
41 #endif /* SPA_PARAM_VIDEO_FORMAT_H */