Struct libspa_sys::spa_video_colorimetry
source · #[repr(C)]pub struct spa_video_colorimetry {
pub range: spa_video_color_range,
pub matrix: spa_video_color_matrix,
pub transfer: spa_video_transfer_function,
pub primaries: spa_video_color_primaries,
}
Expand description
spa_video_colorimetry:
Structure describing the color info.
Fields§
§range: spa_video_color_range
< The color range. This is the valid range for the samples. It is used to convert the samples to Y’PbPr values.
matrix: spa_video_color_matrix
< the color matrix. Used to convert between Y’PbPr and non-linear RGB (R’G’B’)
transfer: spa_video_transfer_function
< The transfer function. Used to convert between R’G’B’ and RGB
primaries: spa_video_color_primaries
< Color primaries. Used to convert between R’G’B’ and CIE XYZ
Trait Implementations§
source§impl Clone for spa_video_colorimetry
impl Clone for spa_video_colorimetry
source§fn clone(&self) -> spa_video_colorimetry
fn clone(&self) -> spa_video_colorimetry
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 moresource§impl Debug for spa_video_colorimetry
impl Debug for spa_video_colorimetry
source§impl PartialEq for spa_video_colorimetry
impl PartialEq for spa_video_colorimetry
source§fn eq(&self, other: &spa_video_colorimetry) -> bool
fn eq(&self, other: &spa_video_colorimetry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for spa_video_colorimetry
impl Eq for spa_video_colorimetry
impl StructuralPartialEq for spa_video_colorimetry
Auto Trait Implementations§
impl RefUnwindSafe for spa_video_colorimetry
impl Send for spa_video_colorimetry
impl Sync for spa_video_colorimetry
impl Unpin for spa_video_colorimetry
impl UnwindSafe for spa_video_colorimetry
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