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 209 #define SPA_VIDEO_INFO_RAW_INIT(...) (struct spa_video_info_raw) { __VA_ARGS__ } 216 #define SPA_VIDEO_INFO_DSP_INIT(...) (struct spa_video_info_dsp) { __VA_ARGS__ }
spa_video_format
Video formats.
Definition: raw.h:63
32-bit x:R:G:B 2:10:10:10 little endian
Definition: raw.h:147
enum spa_video_format format
Definition: raw.h:220
all frames are progressive
Definition: raw.h:175
32-bit A:R:G:B 2:10:10:10 little endian
Definition: raw.h:151
frames contains both interlaced and progressive video, the buffer flags describe the frame and fields...
Definition: raw.h:178
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:167
32-bit A:B:G:R 2:10:10:10 little endian
Definition: raw.h:152
struct spa_fraction max_framerate
the maximum framerate of the video.
Definition: raw.h:200
enum spa_video_multiview_mode multiview_mode
multiview mode
Definition: raw.h:205
enum spa_video_transfer_function transfer_function
the transfer function.
Definition: raw.h:212
enum spa_video_color_matrix color_matrix
the color matrix.
Definition: raw.h:210
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:202
enum spa_video_color_range color_range
the color range.
Definition: raw.h:208
enum spa_video_multiview_flags multiview_flags
multiview flags
Definition: raw.h:206
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:196
int64_t modifier
Definition: raw.h:221
32-bit R:G:B:x 10:10:10:2 little endian
Definition: raw.h:149
no flags
Definition: raw.h:164
enum spa_video_format format
the format
Definition: raw.h:195
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
32-bit x:B:G:R 2:10:10:10 little endian
Definition: raw.h:148
struct spa_fraction framerate
the framerate of the video, 0/1 means variable rate
Definition: raw.h:199
spa_video_interlace_mode
The possible values of the spa_video_interlace_mode describing the interlace mode of the stream...
Definition: raw.h:174
32-bit B:G:R:x 10:10:10:2 little endian
Definition: raw.h:150
struct spa_fraction pixel_aspect_ratio
the pixel aspect ratio
Definition: raw.h:204
enum spa_video_interlace_mode interlace_mode
the interlace mode
Definition: raw.h:203
32-bit B:G:R:A 10:10:10:2 little endian
Definition: raw.h:154
a variable fps is selected, fps_n and fps_d denote the maximum fps of the video
Definition: raw.h:165
spa/param/video/multiview.h
enum spa_video_color_primaries color_primaries
color primaries.
Definition: raw.h:213
spa_video_flags
Extra video flags.
Definition: raw.h:163
2 fields are interleaved in one video frame.
Definition: raw.h:176
32-bit R:G:B:A 10:10:10:2 little endian
Definition: raw.h:153
2 fields are stored in one buffer, use the frame ID to get access to the required field...
Definition: raw.h:181
struct spa_rectangle size
the frame size of the video
Definition: raw.h:198
enum spa_video_chroma_site chroma_site
the chroma siting
Definition: raw.h:207