Skip to main content

VSPresetVideoFormat

Enum VSPresetVideoFormat 

Source
#[repr(u32)]
pub enum VSPresetVideoFormat {
Show 45 variants pfNone = 0, pfGray8 = 268_959_744, pfGray9 = 269_025_280, pfGray10 = 269_090_816, pfGray12 = 269_221_888, pfGray14 = 269_352_960, pfGray16 = 269_484_032, pfGray32 = 270_532_608, pfGrayH = 286_261_248, pfGrayS = 287_309_824, pfYUV410P8 = 805_831_170, pfYUV411P8 = 805_831_168, pfYUV440P8 = 805_830_657, pfYUV420P8 = 805_830_913, pfYUV422P8 = 805_830_912, pfYUV444P8 = 805_830_656, pfYUV420P9 = 805_896_449, pfYUV422P9 = 805_896_448, pfYUV444P9 = 805_896_192, pfYUV420P10 = 805_961_985, pfYUV422P10 = 805_961_984, pfYUV444P10 = 805_961_728, pfYUV420P12 = 806_093_057, pfYUV422P12 = 806_093_056, pfYUV444P12 = 806_092_800, pfYUV420P14 = 806_224_129, pfYUV422P14 = 806_224_128, pfYUV444P14 = 806_223_872, pfYUV420P16 = 806_355_201, pfYUV422P16 = 806_355_200, pfYUV444P16 = 806_354_944, pfYUV420PH = 823_132_417, pfYUV420PS = 824_180_993, pfYUV422PH = 823_132_416, pfYUV422PS = 824_180_992, pfYUV444PH = 823_132_160, pfYUV444PS = 824_180_736, pfRGB24 = 537_395_200, pfRGB27 = 537_460_736, pfRGB30 = 537_526_272, pfRGB36 = 537_657_344, pfRGB42 = 537_788_416, pfRGB48 = 537_919_488, pfRGBH = 554_696_704, pfRGBS = 555_745_280,
}

Variants§

§

pfNone = 0

§

pfGray8 = 268_959_744

§

pfGray9 = 269_025_280

§

pfGray10 = 269_090_816

§

pfGray12 = 269_221_888

§

pfGray14 = 269_352_960

§

pfGray16 = 269_484_032

§

pfGray32 = 270_532_608

§

pfGrayH = 286_261_248

§

pfGrayS = 287_309_824

§

pfYUV410P8 = 805_831_170

§

pfYUV411P8 = 805_831_168

§

pfYUV440P8 = 805_830_657

§

pfYUV420P8 = 805_830_913

§

pfYUV422P8 = 805_830_912

§

pfYUV444P8 = 805_830_656

§

pfYUV420P9 = 805_896_449

§

pfYUV422P9 = 805_896_448

§

pfYUV444P9 = 805_896_192

§

pfYUV420P10 = 805_961_985

§

pfYUV422P10 = 805_961_984

§

pfYUV444P10 = 805_961_728

§

pfYUV420P12 = 806_093_057

§

pfYUV422P12 = 806_093_056

§

pfYUV444P12 = 806_092_800

§

pfYUV420P14 = 806_224_129

§

pfYUV422P14 = 806_224_128

§

pfYUV444P14 = 806_223_872

§

pfYUV420P16 = 806_355_201

§

pfYUV422P16 = 806_355_200

§

pfYUV444P16 = 806_354_944

§

pfYUV420PH = 823_132_417

§

pfYUV420PS = 824_180_993

§

pfYUV422PH = 823_132_416

§

pfYUV422PS = 824_180_992

§

pfYUV444PH = 823_132_160

§

pfYUV444PS = 824_180_736

§

pfRGB24 = 537_395_200

§

pfRGB27 = 537_460_736

§

pfRGB30 = 537_526_272

§

pfRGB36 = 537_657_344

§

pfRGB42 = 537_788_416

§

pfRGB48 = 537_919_488

§

pfRGBH = 554_696_704

§

pfRGBS = 555_745_280

Trait Implementations§

Source§

impl Clone for VSPresetVideoFormat

Source§

fn clone(&self) -> VSPresetVideoFormat

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 VSPresetVideoFormat

Source§

impl Debug for VSPresetVideoFormat

Source§

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

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

impl Eq for VSPresetVideoFormat

Source§

impl Hash for VSPresetVideoFormat

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 VSPresetVideoFormat

Source§

fn eq(&self, other: &VSPresetVideoFormat) -> 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 VSPresetVideoFormat

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 = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.