PipeWire  0.3.66
param/video/format.h
Go to the documentation of this file.
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 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
17 #include <spa/param/format.h>
18 #include <spa/param/video/raw.h>
19 #include <spa/param/video/dsp.h>
20 #include <spa/param/video/encoded.h>
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;
30  } info;
31 };
32 
37 #ifdef __cplusplus
38 } /* extern "C" */
39 #endif
40 
41 #endif /* SPA_PARAM_VIDEO_FORMAT_H */
spa/param/format.h
Definition: video/dsp.h:24
Definition: h264.h:37
Definition: mjpg.h:24
Definition: video/raw.h:175
Definition: param/video/format.h:27
struct spa_video_info_mjpg mjpg
Definition: param/video/format.h:34
uint32_t media_subtype
Definition: param/video/format.h:29
struct spa_video_info_raw raw
Definition: param/video/format.h:31
uint32_t media_type
Definition: param/video/format.h:28
struct spa_video_info_h264 h264
Definition: param/video/format.h:33
union spa_video_info::@8 info
struct spa_video_info_dsp dsp
Definition: param/video/format.h:32
spa/param/video/dsp.h
spa/param/video/raw.h