5 #ifndef SPA_VIDEO_RAW_H 6 #define SPA_VIDEO_RAW_H 22 #define SPA_VIDEO_MAX_PLANES 4 23 #define SPA_VIDEO_MAX_COMPONENTS 4 192 #define SPA_VIDEO_INFO_RAW_INIT(...) ((struct spa_video_info_raw) { __VA_ARGS__ })
spa_video_format
Video formats.
Definition: raw.h:43
use the format modifier
Definition: raw.h:148
32-bit x:R:G:B 2:10:10:10 little endian
Definition: raw.h:127
format modifier was not fixated yet
Definition: raw.h:149
all frames are progressive
Definition: raw.h:157
32-bit A:R:G:B 2:10:10:10 little endian
Definition: raw.h:131
frames contains both interlaced and progressive video, the buffer flags describe the frame and fields...
Definition: raw.h:160
spa_video_multiview_mode
All possible stereoscopic 3D and multiview representations.
Definition: multiview.h:27
Each color has been scaled by the alpha value.
Definition: raw.h:147
32-bit A:B:G:R 2:10:10:10 little endian
Definition: raw.h:132
struct spa_fraction max_framerate
the maximum framerate of the video.
Definition: raw.h:183
enum spa_video_multiview_mode multiview_mode
multiview mode
Definition: raw.h:188
enum spa_video_transfer_function transfer_function
the transfer function.
Definition: raw.h:195
uint32_t flags
extra video flags
Definition: raw.h:178
enum spa_video_color_matrix color_matrix
the color matrix.
Definition: raw.h:193
spa_video_color_matrix
The color matrix is used to convert between Y'PbPr and non-linear RGB (R'G'B')
Definition: color.h:37
uint32_t views
the number of views in this video
Definition: raw.h:185
enum spa_video_color_range color_range
the color range.
Definition: raw.h:191
enum spa_video_multiview_flags multiview_flags
multiview flags
Definition: raw.h:189
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:51
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:73
32-bit R:G:B:x 10:10:10:2 little endian
Definition: raw.h:129
no flags
Definition: raw.h:144
enum spa_video_format format
the format
Definition: raw.h:177
spa_video_chroma_site
Various Chroma settings.
Definition: chroma.h:24
spa_video_color_range
Possible color range values.
Definition: color.h:26
spa_video_multiview_flags
spa_video_multiview_flags are used to indicate extra properties of a stereo/multiview stream beyond t...
Definition: multiview.h:80
32-bit x:B:G:R 2:10:10:10 little endian
Definition: raw.h:128
struct spa_fraction framerate
the framerate of the video, 0/1 means variable rate
Definition: raw.h:182
spa_video_interlace_mode
The possible values of the spa_video_interlace_mode describing the interlace mode of the stream...
Definition: raw.h:156
32-bit B:G:R:x 10:10:10:2 little endian
Definition: raw.h:130
struct spa_fraction pixel_aspect_ratio
the pixel aspect ratio
Definition: raw.h:187
enum spa_video_interlace_mode interlace_mode
the interlace mode
Definition: raw.h:186
32-bit B:G:R:A 10:10:10:2 little endian
Definition: raw.h:134
a variable fps is selected, fps_n and fps_d denote the maximum fps of the video
Definition: raw.h:145
spa/param/video/multiview.h
enum spa_video_color_primaries color_primaries
color primaries.
Definition: raw.h:196
spa_video_flags
Extra video flags.
Definition: raw.h:143
2 fields are interleaved in one video frame.
Definition: raw.h:158
32-bit R:G:B:A 10:10:10:2 little endian
Definition: raw.h:133
2 fields are stored in one buffer, use the frame ID to get access to the required field...
Definition: raw.h:163
struct spa_rectangle size
the frame size of the video
Definition: raw.h:181
uint64_t modifier
format modifier only used with DMA-BUF
Definition: raw.h:179
enum spa_video_chroma_site chroma_site
the chroma siting
Definition: raw.h:190