kodi
Static Public Member Functions | Static Protected Member Functions | List of all members
CResolutionUtils Class Reference

Static Public Member Functions

static RESOLUTION ChooseBestResolution (float fps, int width, int height, bool is3D)
 
static bool HasWhitelist ()
 
static void PrintWhitelist ()
 
static void GetMaxAllowedScreenResolution (unsigned int &width, unsigned int &height)
 Get the max allowed screen resolution, if fullscreen. More...
 

Static Protected Member Functions

static void FindResolutionFromWhitelist (float fps, int width, int height, bool is3D, RESOLUTION &resolution)
 
static bool FindResolutionFromOverride (float fps, int width, bool is3D, RESOLUTION &resolution, float &weight, bool fallback)
 
static float RefreshWeight (float refresh, float fps)
 

Member Function Documentation

◆ GetMaxAllowedScreenResolution()

void CResolutionUtils::GetMaxAllowedScreenResolution ( unsigned int &  width,
unsigned int &  height 
)
static

Get the max allowed screen resolution, if fullscreen.

Parameters
width[OUT] Max width resolution
height[OUT] Max height resolution

The documentation for this class was generated from the following files: