25 #ifndef SPA_VIDEO_RAW_H 26 #define SPA_VIDEO_RAW_H 42 #define SPA_VIDEO_MAX_PLANES 4 43 #define SPA_VIDEO_MAX_COMPONENTS 4 200 #define SPA_VIDEO_INFO_RAW_INIT(...) (struct spa_video_info_raw) { __VA_ARGS__ } 207 #define SPA_VIDEO_INFO_DSP_INIT(...) (struct spa_video_info_dsp) { __VA_ARGS__ }
spa_video_format
Video formats.
Definition: raw.h:63
enum spa_video_format format
Definition: raw.h:211
all frames are progressive
Definition: raw.h:166
frames contains both interlaced and progressive video, the buffer flags describe the frame and fields...
Definition: raw.h:169
spa_video_multiview_mode
All possible stereoscopic 3D and multiview representations.
Definition: multiview.h:47
Each color has been scaled by the alpha value.
Definition: raw.h:158
struct spa_fraction max_framerate
the maximum framerate of the video.
Definition: raw.h:191
enum spa_video_multiview_mode multiview_mode
multiview mode
Definition: raw.h:196
enum spa_video_transfer_function transfer_function
the transfer function.
Definition: raw.h:203
enum spa_video_color_matrix color_matrix
the color matrix.
Definition: raw.h:201
spa_video_color_matrix
The color matrix is used to convert between Y'PbPr and non-linear RGB (R'G'B')
Definition: color.h:57
uint32_t views
the number of views in this video
Definition: raw.h:193
enum spa_video_color_range color_range
the color range.
Definition: raw.h:199
enum spa_video_multiview_flags multiview_flags
multiview flags
Definition: raw.h:197
spa_video_transfer_function
The video transfer function defines the formula for converting between non-linear RGB (R'G'B') and li...
Definition: color.h:71
spa_video_color_primaries
The color primaries define the how to transform linear RGB values to and from the CIE XYZ colorspace...
Definition: color.h:93
int64_t modifier
format modifier only used with DMA-BUF
Definition: raw.h:187
int64_t modifier
Definition: raw.h:212
no flags
Definition: raw.h:155
enum spa_video_format format
the format
Definition: raw.h:186
spa_video_chroma_site
Various Chroma settings.
Definition: chroma.h:44
spa_video_color_range
Possible color range values.
Definition: color.h:46
spa_video_multiview_flags
spa_video_multiview_flags are used to indicate extra properties of a stereo/multiview stream beyond t...
Definition: multiview.h:101
struct spa_fraction framerate
the framerate of the video, 0/1 means variable rate
Definition: raw.h:190
spa_video_interlace_mode
The possible values of the spa_video_interlace_mode describing the interlace mode of the stream...
Definition: raw.h:165
struct spa_fraction pixel_aspect_ratio
the pixel aspect ratio
Definition: raw.h:195
enum spa_video_interlace_mode interlace_mode
the interlace mode
Definition: raw.h:194
a variable fps is selected, fps_n and fps_d denote the maximum fps of the video
Definition: raw.h:156
spa/param/video/multiview.h
enum spa_video_color_primaries color_primaries
color primaries.
Definition: raw.h:204
spa_video_flags
Extra video flags.
Definition: raw.h:154
2 fields are interleaved in one video frame.
Definition: raw.h:167
2 fields are stored in one buffer, use the frame ID to get access to the required field...
Definition: raw.h:172
struct spa_rectangle size
the frame size of the video
Definition: raw.h:189
enum spa_video_chroma_site chroma_site
the chroma siting
Definition: raw.h:198