Struct ctru_sys::MVDSTD_Config

source ·
#[repr(C)]
pub struct MVDSTD_Config {
Show 29 fields pub input_type: MVDSTD_InputFormat, pub unk_x04: u32_, pub unk_x08: u32_, pub inwidth: u32_, pub inheight: u32_, pub physaddr_colorconv_indata: u32_, pub physaddr_colorconv_unk0: u32_, pub physaddr_colorconv_unk1: u32_, pub physaddr_colorconv_unk2: u32_, pub physaddr_colorconv_unk3: u32_, pub unk_x28: [u32_; 6], pub enable_cropping: u32_, pub input_crop_x_pos: u32_, pub input_crop_y_pos: u32_, pub input_crop_height: u32_, pub input_crop_width: u32_, pub unk_x54: u32_, pub output_type: MVDSTD_OutputFormat, pub outwidth: u32_, pub outheight: u32_, pub physaddr_outdata0: u32_, pub physaddr_outdata1: u32_, pub unk_x6c: [u32_; 38], pub flag_x104: u32_, pub output_x_pos: u32_, pub output_y_pos: u32_, pub output_width_override: u32_, pub output_height_override: u32_, pub unk_x118: u32_,
}
Expand description

Processing configuration.

Fields§

§input_type: MVDSTD_InputFormat

< Input type.

§unk_x04: u32_

< Unknown.

§unk_x08: u32_

< Unknown. Referred to as “H264 range” in SKATER.

§inwidth: u32_

< Input width.

§inheight: u32_

< Input height.

§physaddr_colorconv_indata: u32_

< Physical address of color conversion input data.

§physaddr_colorconv_unk0: u32_

< Physical address used with color conversion.

§physaddr_colorconv_unk1: u32_

< Physical address used with color conversion.

§physaddr_colorconv_unk2: u32_

< Physical address used with color conversion.

§physaddr_colorconv_unk3: u32_

< Physical address used with color conversion.

§unk_x28: [u32_; 6]

< Unknown.

§enable_cropping: u32_

< Enables cropping with the input image when non-zero via the following 4 words.

§input_crop_x_pos: u32_§input_crop_y_pos: u32_§input_crop_height: u32_§input_crop_width: u32_§unk_x54: u32_

< Unknown.

§output_type: MVDSTD_OutputFormat

< Output type.

§outwidth: u32_

< Output width.

§outheight: u32_

< Output height.

§physaddr_outdata0: u32_

< Physical address of output data.

§physaddr_outdata1: u32_

< Additional physical address for output data, only used when the output format type is value 0x00020001.

§unk_x6c: [u32_; 38]

< Unknown.

§flag_x104: u32_

< This enables using the following 4 words when non-zero.

§output_x_pos: u32_

< Output X position in the output buffer.

§output_y_pos: u32_

< Same as above except for the Y pos.

§output_width_override: u32_

< Used for aligning the output width when larger than the output width. Overrides the output width when smaller than the output width.

§output_height_override: u32_

< Same as output_width_override except for the output height.

§unk_x118: u32_

Trait Implementations§

source§

impl Clone for MVDSTD_Config

source§

fn clone(&self) -> MVDSTD_Config

Returns a copy 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_Config

source§

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

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

impl Default for MVDSTD_Config

source§

fn default() -> Self

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

impl Copy for MVDSTD_Config

Auto Trait Implementations§

§

impl RefUnwindSafe for MVDSTD_Config

§

impl Send for MVDSTD_Config

§

impl Sync for MVDSTD_Config

§

impl Unpin for MVDSTD_Config

§

impl UnwindSafe for MVDSTD_Config

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> 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.