Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CResolutionUtils Class Reference

#include <Resolution.h>

Static Public Member Functions

static RESOLUTION ChooseBestResolution (float fps, int width, int height, bool is3D)
 
static bool HasWhitelist ()
 

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

◆ ChooseBestResolution()

RESOLUTION CResolutionUtils::ChooseBestResolution ( float  fps,
int  width,
int  height,
bool  is3D 
)
static

◆ FindResolutionFromOverride()

bool CResolutionUtils::FindResolutionFromOverride ( float  fps,
int  width,
bool  is3D,
RESOLUTION resolution,
float &  weight,
bool  fallback 
)
staticprotected

◆ FindResolutionFromWhitelist()

void CResolutionUtils::FindResolutionFromWhitelist ( float  fps,
int  width,
int  height,
bool  is3D,
RESOLUTION resolution 
)
staticprotected

◆ HasWhitelist()

bool CResolutionUtils::HasWhitelist ( )
static

◆ RefreshWeight()

float CResolutionUtils::RefreshWeight ( float  refresh,
float  fps 
)
staticprotected

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