Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
RESOLUTION_INFO Struct Reference

Provide info of a resolution. More...

#include <Resolution.h>

Public Member Functions

 RESOLUTION_INFO (int width=1280, int height=720, float aspect=0, const std::string &mode="")
 
float DisplayRatio () const
 
 RESOLUTION_INFO (const RESOLUTION_INFO &res)
 
RESOLUTION_INFOoperator= (const RESOLUTION_INFO &)=default
 

Public Attributes

OVERSCAN Overscan
 < Screen overscan boundary
 
EdgeInsets guiInsets
 Specify if it is a fullscreen resolution, otherwise windowed.
 
bool bFullScreen
 Width GUI resolution (pixels), may differ from the screen value if GUI resolution limit, 3D is set or in HiDPI screens.
 
int iWidth
 Height GUI resolution (pixels), may differ from the screen value if GUI resolution limit, 3D is set or in HiDPI screens.
 
int iHeight
 Number of pixels of padding between stereoscopic frames.
 
int iBlanking
 Screen width (logical width in pixels)
 
int iScreenWidth
 Screen height (logical height in pixels)
 
int iScreenHeight
 The vertical subtitle baseline position, may be changed by Video calibration.
 
int iSubtitles
 Properties of the resolution e.g. interlaced mode.
 
uint32_t dwFlags
 Pixel aspect ratio.
 
float fPixelRatio
 Refresh rate.
 
float fRefreshRate
 Resolution mode description.
 
std::string strMode
 Resolution output description.
 
std::string strOutput
 Resolution ID.
 
std::string strId
 

Detailed Description

Provide info of a resolution.

Constructor & Destructor Documentation

◆ RESOLUTION_INFO() [1/2]

RESOLUTION_INFO::RESOLUTION_INFO ( int width = 1280,
int height = 720,
float aspect = 0,
const std::string & mode = "" )

◆ RESOLUTION_INFO() [2/2]

RESOLUTION_INFO::RESOLUTION_INFO ( const RESOLUTION_INFO & res)

Member Function Documentation

◆ DisplayRatio()

float RESOLUTION_INFO::DisplayRatio ( ) const

◆ operator=()

RESOLUTION_INFO & RESOLUTION_INFO::operator= ( const RESOLUTION_INFO & )
default

Member Data Documentation

◆ bFullScreen

bool RESOLUTION_INFO::bFullScreen

Width GUI resolution (pixels), may differ from the screen value if GUI resolution limit, 3D is set or in HiDPI screens.

◆ dwFlags

uint32_t RESOLUTION_INFO::dwFlags

Pixel aspect ratio.

◆ fPixelRatio

float RESOLUTION_INFO::fPixelRatio

Refresh rate.

◆ fRefreshRate

float RESOLUTION_INFO::fRefreshRate

Resolution mode description.

◆ guiInsets

EdgeInsets RESOLUTION_INFO::guiInsets

Specify if it is a fullscreen resolution, otherwise windowed.

◆ iBlanking

int RESOLUTION_INFO::iBlanking

Screen width (logical width in pixels)

◆ iHeight

int RESOLUTION_INFO::iHeight

Number of pixels of padding between stereoscopic frames.

◆ iScreenHeight

int RESOLUTION_INFO::iScreenHeight

The vertical subtitle baseline position, may be changed by Video calibration.

◆ iScreenWidth

int RESOLUTION_INFO::iScreenWidth

Screen height (logical height in pixels)

◆ iSubtitles

int RESOLUTION_INFO::iSubtitles

Properties of the resolution e.g. interlaced mode.

◆ iWidth

int RESOLUTION_INFO::iWidth

Height GUI resolution (pixels), may differ from the screen value if GUI resolution limit, 3D is set or in HiDPI screens.

◆ Overscan

OVERSCAN RESOLUTION_INFO::Overscan

< Screen overscan boundary

Edge insets to scale the GUI to prevent the display notch from hiding a part of the GUI

◆ strId

std::string RESOLUTION_INFO::strId

◆ strMode

std::string RESOLUTION_INFO::strMode

Resolution output description.

◆ strOutput

std::string RESOLUTION_INFO::strOutput

Resolution ID.


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