Struct AVDOVIColorMetadata
#[repr(C)]pub struct AVDOVIColorMetadata {Show 16 fields
pub dm_metadata_id: u8,
pub scene_refresh_flag: u8,
pub ycc_to_rgb_matrix: [AVRational; 9],
pub ycc_to_rgb_offset: [AVRational; 3],
pub rgb_to_lms_matrix: [AVRational; 9],
pub signal_eotf: u16,
pub signal_eotf_param0: u16,
pub signal_eotf_param1: u16,
pub signal_eotf_param2: u32,
pub signal_bit_depth: u8,
pub signal_color_space: u8,
pub signal_chroma_format: u8,
pub signal_full_range_flag: u8,
pub source_min_pq: u16,
pub source_max_pq: u16,
pub source_diagonal: u16,
}
Expand description
Dolby Vision RPU colorspace metadata parameters.
@note sizeof(AVDOVIColorMetadata) is not part of the public ABI.
Fields§
§dm_metadata_id: u8
§scene_refresh_flag: u8
§ycc_to_rgb_matrix: [AVRational; 9]
Coefficients of the custom Dolby Vision IPT-PQ matrices. These are to be used instead of the matrices indicated by the frame’s colorspace tags. The output of rgb_to_lms_matrix is to be fed into a BT.2020 LMS->RGB matrix based on a Hunt-Pointer-Estevez transform, but without any crosstalk. (See the definition of the ICtCp colorspace for more information.)
ycc_to_rgb_offset: [AVRational; 3]
§rgb_to_lms_matrix: [AVRational; 9]
§signal_eotf: u16
Extra signal metadata (see Dolby patents for more info).
signal_eotf_param0: u16
§signal_eotf_param1: u16
§signal_eotf_param2: u32
§signal_bit_depth: u8
§signal_color_space: u8
§signal_chroma_format: u8
§signal_full_range_flag: u8
§source_min_pq: u16
§source_max_pq: u16
§source_diagonal: u16
Trait Implementations§
§impl Clone for AVDOVIColorMetadata
impl Clone for AVDOVIColorMetadata
§fn clone(&self) -> AVDOVIColorMetadata
fn clone(&self) -> AVDOVIColorMetadata
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for AVDOVIColorMetadata
impl Debug for AVDOVIColorMetadata
impl Copy for AVDOVIColorMetadata
Auto Trait Implementations§
impl Freeze for AVDOVIColorMetadata
impl RefUnwindSafe for AVDOVIColorMetadata
impl Send for AVDOVIColorMetadata
impl Sync for AVDOVIColorMetadata
impl Unpin for AVDOVIColorMetadata
impl UnwindSafe for AVDOVIColorMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more