Enum _NV_ENC_LEVEL

Source
#[repr(u32)]
pub enum _NV_ENC_LEVEL {
Show 48 variants NV_ENC_LEVEL_AUTOSELECT = 0, NV_ENC_LEVEL_H264_1 = 10, NV_ENC_LEVEL_H264_1b = 9, NV_ENC_LEVEL_H264_11 = 11, NV_ENC_LEVEL_H264_12 = 12, NV_ENC_LEVEL_H264_13 = 13, NV_ENC_LEVEL_H264_2 = 20, NV_ENC_LEVEL_H264_21 = 21, NV_ENC_LEVEL_H264_22 = 22, NV_ENC_LEVEL_H264_3 = 30, NV_ENC_LEVEL_H264_31 = 31, NV_ENC_LEVEL_H264_32 = 32, NV_ENC_LEVEL_H264_4 = 40, NV_ENC_LEVEL_H264_41 = 41, NV_ENC_LEVEL_H264_42 = 42, NV_ENC_LEVEL_H264_5 = 50, NV_ENC_LEVEL_H264_51 = 51, NV_ENC_LEVEL_H264_52 = 52, NV_ENC_LEVEL_H264_60 = 60, NV_ENC_LEVEL_H264_61 = 61, NV_ENC_LEVEL_H264_62 = 62, NV_ENC_LEVEL_HEVC_21 = 63, NV_ENC_LEVEL_HEVC_3 = 90, NV_ENC_LEVEL_HEVC_31 = 93, NV_ENC_LEVEL_HEVC_4 = 120, NV_ENC_LEVEL_HEVC_41 = 123, NV_ENC_LEVEL_HEVC_5 = 150, NV_ENC_LEVEL_HEVC_51 = 153, NV_ENC_LEVEL_HEVC_52 = 156, NV_ENC_LEVEL_HEVC_6 = 180, NV_ENC_LEVEL_HEVC_61 = 183, NV_ENC_LEVEL_HEVC_62 = 186, NV_ENC_TIER_HEVC_HIGH = 1, NV_ENC_LEVEL_AV1_22 = 2, NV_ENC_LEVEL_AV1_23 = 3, NV_ENC_LEVEL_AV1_3 = 4, NV_ENC_LEVEL_AV1_31 = 5, NV_ENC_LEVEL_AV1_32 = 6, NV_ENC_LEVEL_AV1_33 = 7, NV_ENC_LEVEL_AV1_4 = 8, NV_ENC_LEVEL_AV1_52 = 14, NV_ENC_LEVEL_AV1_53 = 15, NV_ENC_LEVEL_AV1_6 = 16, NV_ENC_LEVEL_AV1_61 = 17, NV_ENC_LEVEL_AV1_62 = 18, NV_ENC_LEVEL_AV1_63 = 19, NV_ENC_LEVEL_AV1_73 = 23, NV_ENC_LEVEL_AV1_AUTOSELECT = 24,
}

Variants§

§

NV_ENC_LEVEL_AUTOSELECT = 0

§

NV_ENC_LEVEL_H264_1 = 10

§

NV_ENC_LEVEL_H264_1b = 9

§

NV_ENC_LEVEL_H264_11 = 11

§

NV_ENC_LEVEL_H264_12 = 12

§

NV_ENC_LEVEL_H264_13 = 13

§

NV_ENC_LEVEL_H264_2 = 20

§

NV_ENC_LEVEL_H264_21 = 21

§

NV_ENC_LEVEL_H264_22 = 22

§

NV_ENC_LEVEL_H264_3 = 30

§

NV_ENC_LEVEL_H264_31 = 31

§

NV_ENC_LEVEL_H264_32 = 32

§

NV_ENC_LEVEL_H264_4 = 40

§

NV_ENC_LEVEL_H264_41 = 41

§

NV_ENC_LEVEL_H264_42 = 42

§

NV_ENC_LEVEL_H264_5 = 50

§

NV_ENC_LEVEL_H264_51 = 51

§

NV_ENC_LEVEL_H264_52 = 52

§

NV_ENC_LEVEL_H264_60 = 60

§

NV_ENC_LEVEL_H264_61 = 61

§

NV_ENC_LEVEL_H264_62 = 62

§

NV_ENC_LEVEL_HEVC_21 = 63

§

NV_ENC_LEVEL_HEVC_3 = 90

§

NV_ENC_LEVEL_HEVC_31 = 93

§

NV_ENC_LEVEL_HEVC_4 = 120

§

NV_ENC_LEVEL_HEVC_41 = 123

§

NV_ENC_LEVEL_HEVC_5 = 150

§

NV_ENC_LEVEL_HEVC_51 = 153

§

NV_ENC_LEVEL_HEVC_52 = 156

§

NV_ENC_LEVEL_HEVC_6 = 180

§

NV_ENC_LEVEL_HEVC_61 = 183

§

NV_ENC_LEVEL_HEVC_62 = 186

§

NV_ENC_TIER_HEVC_HIGH = 1

§

NV_ENC_LEVEL_AV1_22 = 2

§

NV_ENC_LEVEL_AV1_23 = 3

§

NV_ENC_LEVEL_AV1_3 = 4

§

NV_ENC_LEVEL_AV1_31 = 5

§

NV_ENC_LEVEL_AV1_32 = 6

§

NV_ENC_LEVEL_AV1_33 = 7

§

NV_ENC_LEVEL_AV1_4 = 8

§

NV_ENC_LEVEL_AV1_52 = 14

§

NV_ENC_LEVEL_AV1_53 = 15

§

NV_ENC_LEVEL_AV1_6 = 16

§

NV_ENC_LEVEL_AV1_61 = 17

§

NV_ENC_LEVEL_AV1_62 = 18

§

NV_ENC_LEVEL_AV1_63 = 19

§

NV_ENC_LEVEL_AV1_73 = 23

§

NV_ENC_LEVEL_AV1_AUTOSELECT = 24

Implementations§

Source§

impl _NV_ENC_LEVEL

Source

pub const NV_ENC_LEVEL_HEVC_1: _NV_ENC_LEVEL = _NV_ENC_LEVEL::NV_ENC_LEVEL_H264_3

Source§

impl _NV_ENC_LEVEL

Source

pub const NV_ENC_LEVEL_HEVC_2: _NV_ENC_LEVEL = _NV_ENC_LEVEL::NV_ENC_LEVEL_H264_60

Source§

impl _NV_ENC_LEVEL

Source

pub const NV_ENC_TIER_HEVC_MAIN: _NV_ENC_LEVEL = _NV_ENC_LEVEL::NV_ENC_LEVEL_AUTOSELECT

Source§

impl _NV_ENC_LEVEL

Source

pub const NV_ENC_LEVEL_AV1_2: _NV_ENC_LEVEL = _NV_ENC_LEVEL::NV_ENC_LEVEL_AUTOSELECT

Source§

impl _NV_ENC_LEVEL

Source

pub const NV_ENC_LEVEL_AV1_21: _NV_ENC_LEVEL = _NV_ENC_LEVEL::NV_ENC_TIER_HEVC_HIGH

Source§

impl _NV_ENC_LEVEL

Source

pub const NV_ENC_LEVEL_AV1_41: _NV_ENC_LEVEL = _NV_ENC_LEVEL::NV_ENC_LEVEL_H264_1b

Source§

impl _NV_ENC_LEVEL

Source

pub const NV_ENC_LEVEL_AV1_42: _NV_ENC_LEVEL = _NV_ENC_LEVEL::NV_ENC_LEVEL_H264_1

Source§

impl _NV_ENC_LEVEL

Source

pub const NV_ENC_LEVEL_AV1_43: _NV_ENC_LEVEL = _NV_ENC_LEVEL::NV_ENC_LEVEL_H264_11

Source§

impl _NV_ENC_LEVEL

Source

pub const NV_ENC_LEVEL_AV1_5: _NV_ENC_LEVEL = _NV_ENC_LEVEL::NV_ENC_LEVEL_H264_12

Source§

impl _NV_ENC_LEVEL

Source

pub const NV_ENC_LEVEL_AV1_51: _NV_ENC_LEVEL = _NV_ENC_LEVEL::NV_ENC_LEVEL_H264_13

Source§

impl _NV_ENC_LEVEL

Source

pub const NV_ENC_LEVEL_AV1_7: _NV_ENC_LEVEL = _NV_ENC_LEVEL::NV_ENC_LEVEL_H264_2

Source§

impl _NV_ENC_LEVEL

Source

pub const NV_ENC_LEVEL_AV1_71: _NV_ENC_LEVEL = _NV_ENC_LEVEL::NV_ENC_LEVEL_H264_21

Source§

impl _NV_ENC_LEVEL

Source

pub const NV_ENC_LEVEL_AV1_72: _NV_ENC_LEVEL = _NV_ENC_LEVEL::NV_ENC_LEVEL_H264_22

Source§

impl _NV_ENC_LEVEL

Source

pub const NV_ENC_TIER_AV1_0: _NV_ENC_LEVEL = _NV_ENC_LEVEL::NV_ENC_LEVEL_AUTOSELECT

Source§

impl _NV_ENC_LEVEL

Source

pub const NV_ENC_TIER_AV1_1: _NV_ENC_LEVEL = _NV_ENC_LEVEL::NV_ENC_TIER_HEVC_HIGH

Trait Implementations§

Source§

impl Clone for _NV_ENC_LEVEL

Source§

fn clone(&self) -> _NV_ENC_LEVEL

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for _NV_ENC_LEVEL

Source§

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

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

impl Hash for _NV_ENC_LEVEL

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 Ord for _NV_ENC_LEVEL

Source§

fn cmp(&self, other: &_NV_ENC_LEVEL) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for _NV_ENC_LEVEL

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for _NV_ENC_LEVEL

Source§

fn partial_cmp(&self, other: &_NV_ENC_LEVEL) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Copy for _NV_ENC_LEVEL

Source§

impl Eq for _NV_ENC_LEVEL

Source§

impl StructuralPartialEq for _NV_ENC_LEVEL

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.