Enum gstreamer_video::VideoColorPrimaries [−][src]
#[non_exhaustive] pub enum VideoColorPrimaries {}Show variants
Unknown, Bt709, Bt470m, Bt470bg, Smpte170m, Smpte240m, Film, Bt2020, Adobergb, Smptest428, Smpterp431, Smpteeg432, Ebu3213, // some variants omitted
The color primaries define the how to transform linear RGB values to and from the CIE XYZ colorspace.
Variants (Non-exhaustive)
unknown color primaries
BT709 primaries, also ITU-R BT1361 / IEC 61966-2-4 / SMPTE RP177 Annex B
BT470M primaries, also FCC Title 47 Code of Federal Regulations 73.682 (a)(20)
BT470BG primaries, also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM
SMPTE170M primaries, also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC
SMPTE240M primaries
Generic film (colour filters using Illuminant C)
ITU-R BT2020 primaries. Since: 1.6
Adobe RGB primaries. Since: 1.8
v1_16
only.SMPTE ST 428 primaries (CIE 1931 XYZ). Since: 1.16
v1_16
only.SMPTE RP 431 primaries (ST 431-2 (2011) / DCI P3). Since: 1.16
v1_16
only.SMPTE EG 432 primaries (ST 432-1 (2010) / P3 D65). Since: 1.16
v1_16
only.EBU 3213 primaries (JEDEC P22 phosphors). Since: 1.16
Implementations
impl VideoColorPrimaries
[src]
impl VideoColorPrimaries
[src]Trait Implementations
impl Clone for VideoColorPrimaries
[src]
impl Clone for VideoColorPrimaries
[src]fn clone(&self) -> VideoColorPrimaries
[src]
fn clone(&self) -> VideoColorPrimaries
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for VideoColorPrimaries
[src]
impl Debug for VideoColorPrimaries
[src]impl<'a> FromValue<'a> for VideoColorPrimaries
[src]
impl<'a> FromValue<'a> for VideoColorPrimaries
[src]type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
[src]Get the contained value from a Value
. Read more
impl Hash for VideoColorPrimaries
[src]
impl Hash for VideoColorPrimaries
[src]impl Ord for VideoColorPrimaries
[src]
impl Ord for VideoColorPrimaries
[src]impl PartialEq<VideoColorPrimaries> for VideoColorPrimaries
[src]
impl PartialEq<VideoColorPrimaries> for VideoColorPrimaries
[src]fn eq(&self, other: &VideoColorPrimaries) -> bool
[src]
fn eq(&self, other: &VideoColorPrimaries) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &VideoColorPrimaries) -> bool
[src]
fn ne(&self, other: &VideoColorPrimaries) -> bool
[src]This method tests for !=
.
impl PartialOrd<VideoColorPrimaries> for VideoColorPrimaries
[src]
impl PartialOrd<VideoColorPrimaries> for VideoColorPrimaries
[src]fn partial_cmp(&self, other: &VideoColorPrimaries) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &VideoColorPrimaries) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl StaticType for VideoColorPrimaries
[src]
impl StaticType for VideoColorPrimaries
[src]fn static_type() -> Type
[src]
fn static_type() -> Type
[src]Returns the type identifier of Self
.
impl ToValue for VideoColorPrimaries
[src]
impl ToValue for VideoColorPrimaries
[src]impl ValueType for VideoColorPrimaries
[src]
impl ValueType for VideoColorPrimaries
[src]impl Copy for VideoColorPrimaries
[src]
impl Eq for VideoColorPrimaries
[src]
impl StructuralEq for VideoColorPrimaries
[src]
impl StructuralPartialEq for VideoColorPrimaries
[src]
Auto Trait Implementations
impl RefUnwindSafe for VideoColorPrimaries
impl Send for VideoColorPrimaries
impl Sync for VideoColorPrimaries
impl Unpin for VideoColorPrimaries
impl UnwindSafe for VideoColorPrimaries
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
pub fn to_send_value(&self) -> SendValue
[src]Returns a SendValue
clone of self
.