PipeWire: spa/param/video/format.h Source File

PipeWire 1.4.0 |

Loading...
Searching...
No Matches
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
9extern "C" {
10#endif
11
16
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
22struct 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
36
37#ifdef __cplusplus
38} /* extern "C" */
39#endif
40
41#endif /* SPA_PARAM_VIDEO_FORMAT_H */
format.h
spa/param/format.h
spa_video_info_dsp
Definition dsp.h:24
spa_video_info_h264
Definition h264.h:37
spa_video_info_mjpg
Definition mjpg.h:24
spa_video_info
Definition format.h:27
spa_video_info::mjpg
struct spa_video_info_mjpg mjpg
Definition format.h:34
spa_video_info::media_subtype
uint32_t media_subtype
Definition format.h:29
spa_video_info::raw
struct spa_video_info_raw raw
Definition format.h:31
spa_video_info::media_type
uint32_t media_type
Definition format.h:28
spa_video_info::h264
struct spa_video_info_h264 h264
Definition format.h:33
spa_video_info::dsp
struct spa_video_info_dsp dsp
Definition format.h:32
dsp.h
spa/param/video/dsp.h
raw.h
spa/param/video/raw.h