Struct MVDSTD_CalculateWorkBufSizeConfig

Source
#[repr(C)]
pub struct MVDSTD_CalculateWorkBufSizeConfig {
Show 14 fields pub unused_0x00: u8_, pub level: MVDSTD_WithLevel, pub ref_frames_a: MVDSTD_WithNumOfRefFrames, pub ref_frames_b: MVDSTD_WithNumOfRefFrames, pub unused_0x09: [u8_; 3], pub unk_0x0c: u32_, pub unk_0x10: u32_, pub unk_0x14: u32_, pub unk_0x18: u32_, pub unk_0x1c: u32_, pub unk_0x20: u32_, pub unk_0x24: u32_, pub width: u32_, pub height: u32_,
}
Expand description

H.264 buffer calculation configuration. See here for detailed explanations : https://www.3dbrew.org/wiki/MVDSTD:CalculateWorkBufSize.

Fields§

§unused_0x00: u8_§level: MVDSTD_WithLevel§ref_frames_a: MVDSTD_WithNumOfRefFrames§ref_frames_b: MVDSTD_WithNumOfRefFrames§unused_0x09: [u8_; 3]§unk_0x0c: u32_§unk_0x10: u32_§unk_0x14: u32_§unk_0x18: u32_§unk_0x1c: u32_§unk_0x20: u32_§unk_0x24: u32_§width: u32_§height: u32_

Trait Implementations§

Source§

impl Clone for MVDSTD_CalculateWorkBufSizeConfig

Source§

fn clone(&self) -> MVDSTD_CalculateWorkBufSizeConfig

Returns a duplicate of the value. Read more
1.0.0§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for MVDSTD_CalculateWorkBufSizeConfig

Source§

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

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

impl Default for MVDSTD_CalculateWorkBufSizeConfig

Source§

fn default() -> MVDSTD_CalculateWorkBufSizeConfig

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

impl Copy for MVDSTD_CalculateWorkBufSizeConfig

Auto Trait Implementations§

Blanket Implementations§

§

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

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

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

§

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

Mutably borrows from an owned value. Read more
§

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

§

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
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

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

§

fn into(self) -> U

Calls U::from(self).

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

§

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

§

type Error = Infallible

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

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

Performs the conversion.
§

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

§

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

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

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

Performs the conversion.