Function ctru_sys::mvdstdGenerateDefaultConfig
source · pub unsafe extern "C" fn mvdstdGenerateDefaultConfig(
config: *mut MVDSTD_Config,
input_width: u32_,
input_height: u32_,
output_width: u32_,
output_height: u32_,
vaddr_colorconv_indata: *mut u32_,
vaddr_outdata0: *mut u32_,
vaddr_outdata1: *mut u32_
)
Expand description
Generates a default MVDSTD configuration.
§Arguments
config
- Pointer to output the generated config to.input_width
- Input width.input_height
- Input height.output_width
- Output width.output_height
- Output height.vaddr_colorconv_indata
- Virtual address of the color conversion input data.vaddr_outdata0
- Virtual address of the output data.vaddr_outdata1
- Additional virtual address for output data, only used when the output format type is value 0x00020001.