Function sdl2_sys::SDL_GetYUVConversionModeForResolution
source ยท pub unsafe extern "C" fn SDL_GetYUVConversionModeForResolution(
width: c_int,
height: c_int,
) -> SDL_YUV_CONVERSION_MODE
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.