Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
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_INFO & | operator= (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 |
Provide info of a resolution.
RESOLUTION_INFO::RESOLUTION_INFO | ( | int | width = 1280, |
int | height = 720, | ||
float | aspect = 0, | ||
const std::string & | mode = "" ) |
RESOLUTION_INFO::RESOLUTION_INFO | ( | const RESOLUTION_INFO & | res | ) |
float RESOLUTION_INFO::DisplayRatio | ( | ) | const |
|
default |
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.
uint32_t RESOLUTION_INFO::dwFlags |
Pixel aspect ratio.
float RESOLUTION_INFO::fPixelRatio |
Refresh rate.
float RESOLUTION_INFO::fRefreshRate |
Resolution mode description.
EdgeInsets RESOLUTION_INFO::guiInsets |
Specify if it is a fullscreen resolution, otherwise windowed.
int RESOLUTION_INFO::iBlanking |
Screen width (logical width in pixels)
int RESOLUTION_INFO::iHeight |
Number of pixels of padding between stereoscopic frames.
int RESOLUTION_INFO::iScreenHeight |
The vertical subtitle baseline position, may be changed by Video calibration.
int RESOLUTION_INFO::iScreenWidth |
Screen height (logical height in pixels)
int RESOLUTION_INFO::iSubtitles |
Properties of the resolution e.g. interlaced mode.
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 RESOLUTION_INFO::Overscan |
< Screen overscan boundary
Edge insets to scale the GUI to prevent the display notch from hiding a part of the GUI
std::string RESOLUTION_INFO::strId |
std::string RESOLUTION_INFO::strMode |
Resolution output description.
std::string RESOLUTION_INFO::strOutput |
Resolution ID.