Function ctru_sys::mvdstdInit

source ·
pub unsafe extern "C" fn mvdstdInit(
    mode: MVDSTD_Mode,
    input_type: MVDSTD_InputFormat,
    output_type: MVDSTD_OutputFormat,
    size: u32_,
    initstruct: *mut MVDSTD_InitStruct
) -> Result
Expand description

Initializes MVDSTD.

§Arguments

  • mode - Mode to initialize MVDSTD to.
  • input_type - Type of input to process.
  • output_type - Type of output to produce.
  • size - Size of the work buffer, MVD_DEFAULT_WORKBUF_SIZE can be used for this. Only used when type == MVDMODE_VIDEOPROCESSING.
  • initstruct - Optional MVDSTD_InitStruct, this should be NULL normally.