pub unsafe extern "C" fn mvdstdProcessVideoFrame(
    inbuf_vaddr: *mut c_void,
    size: usize,
    flag: u32_,
    out: *mut MVDSTD_ProcessNALUnitOut
) -> Result
Expand description

Processes a video frame(specifically a NAL-unit).

§Arguments

  • inbuf_vaddr - Input NAL-unit starting with the 3-byte “00 00 01” prefix. Must be located in linearmem.
  • size - Size of the input buffer.
  • flag - See here regarding this input flag: https://www.3dbrew.org/wiki/MVDSTD:ProcessNALUnit
  • out - Optional output MVDSTD_ProcessNALUnitOut structure.