Function SDL_GetYUVConversionModeForResolution

pub unsafe extern "C" fn SDL_GetYUVConversionModeForResolution(
    width: i32,
    height: i32,
) -> SDL_YUV_CONVERSION_MODE
Available on crate feature dep_sdl2 only.
Expand description

Get the YUV conversion mode, returning the correct mode for the resolution when the current conversion mode is SDL_YUV_CONVERSION_AUTOMATIC

\since This function is available since SDL 2.0.8.