Struct gstreamer_video::VideoColorimetry
source · pub struct VideoColorimetry(_);
Implementations§
source§impl VideoColorimetry
impl VideoColorimetry
pub fn new(
range: VideoColorRange,
matrix: VideoColorMatrix,
transfer: VideoTransferFunction,
primaries: VideoColorPrimaries
) -> Self
pub fn range(&self) -> VideoColorRange
pub fn matrix(&self) -> VideoColorMatrix
pub fn transfer(&self) -> VideoTransferFunction
pub fn primaries(&self) -> VideoColorPrimaries
pub fn is_equivalent(
&self,
bitdepth: u32,
other: &Self,
other_bitdepth: u32
) -> bool
Available on crate feature
v1_22
only.Trait Implementations§
source§impl Clone for VideoColorimetry
impl Clone for VideoColorimetry
source§fn clone(&self) -> VideoColorimetry
fn clone(&self) -> VideoColorimetry
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