#include <spa/param/video/raw.h>
Data Fields | |
| enum spa_video_format | format |
| the format | |
| uint32_t | flags |
| extra video flags | |
| uint64_t | modifier |
| format modifier only used with DMA-BUF | |
| struct spa_rectangle | size |
| the frame size of the video | |
| struct spa_fraction | framerate |
| the framerate of the video, 0/1 means variable rate | |
| struct spa_fraction | max_framerate |
| the maximum framerate of the video. | |
| uint32_t | views |
| the number of views in this video | |
| enum spa_video_interlace_mode | interlace_mode |
| the interlace mode | |
| struct spa_fraction | pixel_aspect_ratio |
| the pixel aspect ratio | |
| enum spa_video_multiview_mode | multiview_mode |
| multiview mode | |
| enum spa_video_multiview_flags | multiview_flags |
| multiview flags | |
| enum spa_video_chroma_site | chroma_site |
| the chroma siting | |
| enum spa_video_color_range | color_range |
| the color range. | |
| enum spa_video_color_matrix | color_matrix |
| the color matrix. | |
| enum spa_video_transfer_function | transfer_function |
| the transfer function. | |
| enum spa_video_color_primaries | color_primaries |
| color primaries. | |
| enum spa_video_format spa_video_info_raw::format |
the format
| uint32_t spa_video_info_raw::flags |
extra video flags
| uint64_t spa_video_info_raw::modifier |
format modifier only used with DMA-BUF
| struct spa_rectangle spa_video_info_raw::size |
the frame size of the video
| struct spa_fraction spa_video_info_raw::framerate |
the framerate of the video, 0/1 means variable rate
| struct spa_fraction spa_video_info_raw::max_framerate |
the maximum framerate of the video.
This is only valid when framerate is 0/1
| uint32_t spa_video_info_raw::views |
the number of views in this video
| enum spa_video_interlace_mode spa_video_info_raw::interlace_mode |
the interlace mode
| struct spa_fraction spa_video_info_raw::pixel_aspect_ratio |
the pixel aspect ratio
| enum spa_video_multiview_mode spa_video_info_raw::multiview_mode |
multiview mode
| enum spa_video_multiview_flags spa_video_info_raw::multiview_flags |
multiview flags
| enum spa_video_chroma_site spa_video_info_raw::chroma_site |
the chroma siting
| enum spa_video_color_range spa_video_info_raw::color_range |
the color range.
This is the valid range for the samples. It is used to convert the samples to Y'PbPr values.
| enum spa_video_color_matrix spa_video_info_raw::color_matrix |
the color matrix.
Used to convert between Y'PbPr and non-linear RGB (R'G'B')
| enum spa_video_transfer_function spa_video_info_raw::transfer_function |
the transfer function.
used to convert between R'G'B' and RGB
| enum spa_video_color_primaries spa_video_info_raw::color_primaries |
color primaries.
used to convert between R'G'B' and CIE XYZ