pub struct VideoSignalType {
pub video_format: VideoFormat,
pub video_full_range_flag: bool,
pub colour_primaries: u8,
pub transfer_characteristics: u8,
pub matrix_coeffs: u8,
}Expand description
Directly part of VuiParameters.
Fields§
§video_format: VideoFormatIndicates the representation of the pictures as specified in ISO/IEC 23008-2 - Table E.2, before being coded in accordance with this document.
The values 6 and 7 for video_format are reserved for future use by ITU-T | ISO/IEC and
shall not be present in bitstreams conforming to this version of this document.
Decoders shall interpret the values 6 and 7 for video_format as equivalent to the value VideoFormat::Unspecified.
video_full_range_flag: boolIndicates the black level and range of the luma and chroma signals as derived from
E'Y, E'PB, and E'PR or E'R, E'G, and E'B real-valued component signals.
colour_primaries: u8Indicates the chromaticity coordinates of the source primaries as specified in ISO/IEC 23008-2 - Table E.3 in terms of the CIE 1931 definition of x and y as specified in ISO 11664-1.
transfer_characteristics: u8As specified in ISO/IEC 23008-2 - Table E.4, either indicates the reference opto-electronic transfer
characteristic function of the source picture as a function of a source input linear optical intensity Lc with
a nominal real-valued range of 0 to 1 or indicates the inverse of the reference electro-optical transfer
characteristic function as a function of an output linear optical intensity Lo with a nominal real-valued
range of 0 to 1.
For more details, see ISO/IEC 23008-2 - E.3.1.
matrix_coeffs: u8Describes the matrix coefficients used in deriving luma and chroma signals from the green, blue, and red, or Y, Z, and X primaries, as specified in ISO/IEC 23008-2 - Table E.5.
Trait Implementations§
Source§impl Clone for VideoSignalType
impl Clone for VideoSignalType
Source§fn clone(&self) -> VideoSignalType
fn clone(&self) -> VideoSignalType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more