Loading...
Searching...
No Matches
format.h
Go to the documentation of this file.
/* Simple Plugin API */
/* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
/* SPDX-License-Identifier: MIT */
#ifndef SPA_PARAM_VIDEO_FORMAT_H
#define SPA_PARAM_VIDEO_FORMAT_H
#include <spa/param/format.h>
#include <spa/param/video/raw.h>
#include <spa/param/video/dsp.h>
#include <spa/param/video/encoded.h>
#ifdef __cplusplus
extern "C" {
#endif
struct spa_video_info {
uint32_t media_type;
uint32_t media_subtype;
union {
struct spa_video_info_raw raw;
struct spa_video_info_dsp dsp;
struct spa_video_info_h264 h264;
struct spa_video_info_mjpg mjpg;
} info;
};
#ifdef __cplusplus
} /* extern "C" */
#endif
#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