|
enum | EType { TYPE_NONE,
TYPE_TEXTURE
} |
|
enum | EAlign { ALIGN_SCREEN,
ALIGN_SCREEN_AR,
ALIGN_VIDEO,
ALIGN_SUBTITLE
} |
|
enum | EPosition { POSITION_ABSOLUTE,
POSITION_ABSOLUTE_SCREEN,
POSITION_RELATIVE
} |
|
|
enum OVERLAY::COverlay::EType | m_type |
|
enum OVERLAY::COverlay::EAlign | m_align |
|
enum OVERLAY::COverlay::EPosition | m_pos |
|
float | m_x {0} |
|
float | m_y {0} |
|
float | m_width {1.0f} |
|
float | m_height {1.0f} |
|
float | m_source_width {0} |
|
float | m_source_height {0} |
|
◆ IsSquareResolution()
bool OVERLAY::COverlay::IsSquareResolution |
( |
float |
resRatio | ) |
|
|
inlineprotected |
Given the resolution ratio determines if it is a 4/3 resolution.
- Parameters
-
resRatio | The resolution ratio (the results of width / height) |
- Returns
- True if the ratio refer to a 4/3 resolution, otherwise false
The documentation for this class was generated from the following files:
- xbmc/cores/VideoPlayer/VideoRenderers/OverlayRenderer.h
- xbmc/cores/VideoPlayer/VideoRenderers/OverlayRenderer.cpp
- xbmc/cores/VideoPlayer/VideoRenderers/OverlayRendererDX.cpp
- xbmc/cores/VideoPlayer/VideoRenderers/OverlayRendererGL.cpp
- xbmc/cores/VideoPlayer/VideoRenderers/OverlayRendererGLES.cpp