Skip to main content

StdVideoAV1MatrixCoefficients

Struct StdVideoAV1MatrixCoefficients 

Source
#[repr(transparent)]
pub struct StdVideoAV1MatrixCoefficients(pub i32);
Expand description

Open integer representation of StdVideoAV1MatrixCoefficients.

Khronos registry source: StdVideoAV1MatrixCoefficients

Tuple Fields§

§0: i32

Implementations§

Source§

impl StdVideoAV1MatrixCoefficients

Source

pub const IDENTITY: Self

Native value STD_VIDEO_AV1_MATRIX_COEFFICIENTS_IDENTITY.

Khronos registry source: STD_VIDEO_AV1_MATRIX_COEFFICIENTS_IDENTITY

Source

pub const BT_709: Self

Native value STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_709.

Khronos registry source: STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_709

Source

pub const UNSPECIFIED: Self

Native value STD_VIDEO_AV1_MATRIX_COEFFICIENTS_UNSPECIFIED.

Khronos registry source: STD_VIDEO_AV1_MATRIX_COEFFICIENTS_UNSPECIFIED

Source

pub const RESERVED_3: Self

Native value STD_VIDEO_AV1_MATRIX_COEFFICIENTS_RESERVED_3.

Khronos registry source: STD_VIDEO_AV1_MATRIX_COEFFICIENTS_RESERVED_3

Source

pub const FCC: Self

Native value STD_VIDEO_AV1_MATRIX_COEFFICIENTS_FCC.

Khronos registry source: STD_VIDEO_AV1_MATRIX_COEFFICIENTS_FCC

Source

pub const BT_470_B_G: Self

Native value STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_470_B_G.

Khronos registry source: STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_470_B_G

Source

pub const BT_601: Self

Native value STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_601.

Khronos registry source: STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_601

Source

pub const SMPTE_240: Self

Native value STD_VIDEO_AV1_MATRIX_COEFFICIENTS_SMPTE_240.

Khronos registry source: STD_VIDEO_AV1_MATRIX_COEFFICIENTS_SMPTE_240

Source

pub const SMPTE_YCGCO: Self

Native value STD_VIDEO_AV1_MATRIX_COEFFICIENTS_SMPTE_YCGCO.

Khronos registry source: STD_VIDEO_AV1_MATRIX_COEFFICIENTS_SMPTE_YCGCO

Source

pub const BT_2020_NCL: Self

Native value STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_2020_NCL.

Khronos registry source: STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_2020_NCL

Source

pub const BT_2020_CL: Self

Native value STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_2020_CL.

Khronos registry source: STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_2020_CL

Source

pub const SMPTE_2085: Self

Native value STD_VIDEO_AV1_MATRIX_COEFFICIENTS_SMPTE_2085.

Khronos registry source: STD_VIDEO_AV1_MATRIX_COEFFICIENTS_SMPTE_2085

Source

pub const CHROMAT_NCL: Self

Native value STD_VIDEO_AV1_MATRIX_COEFFICIENTS_CHROMAT_NCL.

Khronos registry source: STD_VIDEO_AV1_MATRIX_COEFFICIENTS_CHROMAT_NCL

Source

pub const CHROMAT_CL: Self

Native value STD_VIDEO_AV1_MATRIX_COEFFICIENTS_CHROMAT_CL.

Khronos registry source: STD_VIDEO_AV1_MATRIX_COEFFICIENTS_CHROMAT_CL

Source

pub const ICTCP: Self

Native value STD_VIDEO_AV1_MATRIX_COEFFICIENTS_ICTCP.

Khronos registry source: STD_VIDEO_AV1_MATRIX_COEFFICIENTS_ICTCP

Source

pub const INVALID: Self

Native value STD_VIDEO_AV1_MATRIX_COEFFICIENTS_INVALID.

Khronos registry source: STD_VIDEO_AV1_MATRIX_COEFFICIENTS_INVALID

Source

pub const fn from_raw(value: i32) -> Self

Source

pub const fn as_raw(self) -> i32

Source

pub const fn empty() -> Self

Trait Implementations§

Source§

impl Clone for StdVideoAV1MatrixCoefficients

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for StdVideoAV1MatrixCoefficients

Source§

impl Debug for StdVideoAV1MatrixCoefficients

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for StdVideoAV1MatrixCoefficients

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for StdVideoAV1MatrixCoefficients

Source§

impl Hash for StdVideoAV1MatrixCoefficients

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for StdVideoAV1MatrixCoefficients

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for StdVideoAV1MatrixCoefficients

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.