|
virtual bool | Configure (const VideoPicture &picture, float fps, unsigned int orientation)=0 |
|
virtual bool | IsConfigured ()=0 |
|
virtual void | AddVideoPicture (const VideoPicture &picture, int index)=0 |
|
virtual bool | IsPictureHW (const VideoPicture &picture) |
|
virtual void | UnInit ()=0 |
|
virtual bool | Flush (bool saveBuffers) |
|
virtual void | SetBufferSize (int numBuffers) |
|
virtual void | ReleaseBuffer (int idx) |
|
virtual bool | NeedBuffer (int idx) |
|
virtual bool | IsGuiLayer () |
|
virtual CRenderInfo | GetRenderInfo () |
|
virtual void | Update ()=0 |
|
virtual void | RenderUpdate (int index, int index2, bool clear, unsigned int flags, unsigned int alpha)=0 |
|
virtual bool | RenderCapture (int index, CRenderCapture *capture)=0 |
|
virtual bool | ConfigChanged (const VideoPicture &picture)=0 |
|
virtual bool | SupportsMultiPassRendering ()=0 |
|
virtual bool | Supports (ERENDERFEATURE feature) const |
|
virtual bool | Supports (ESCALINGMETHOD method) const =0 |
|
virtual bool | WantsDoublePass () |
|
void | SetViewMode (int viewMode) |
|
void | GetVideoRect (CRect &source, CRect &dest, CRect &view) const |
| Get video rectangle and view window. More...
|
|
float | GetAspectRatio () const |
|
unsigned int | GetOrientation () const |
|
void | SetVideoSettings (const CVideoSettings &settings) |
|
virtual DEBUG_INFO_VIDEO | GetDebugInfo (int idx) |
|
virtual CRenderCapture * | GetRenderCapture () |
|
|
static void | SettingOptionsRenderMethodsFiller (const std::shared_ptr< const CSetting > &setting, std::vector< IntegerSettingOption > &list, int ¤t, void *data) |
|
|
void | CalcDestRect (float offsetX, float offsetY, float width, float height, float inputFrameRatio, float zoomAmount, float verticalShift, CRect &destRect) |
|
void | CalcNormalRenderRect (float offsetX, float offsetY, float width, float height, float inputFrameRatio, float zoomAmount, float verticalShift) |
|
void | CalculateFrameAspectRatio (unsigned int desired_width, unsigned int desired_height) |
|
virtual void | ManageRenderArea () |
|
virtual void | ReorderDrawPoints () |
|
virtual EShaderFormat | GetShaderFormat () |
|
void | MarkDirty () |
|
void | EnableAlwaysClip () |
|
void | saveRotatedCoords () |
|
void | syncDestRectToRotatedPoints () |
|
void | restoreRotatedCoords () |
|
|
unsigned int | m_sourceWidth = 720 |
|
unsigned int | m_sourceHeight = 480 |
|
float | m_sourceFrameRatio = 1.0f |
|
float | m_fps = 0.0f |
|
unsigned int | m_renderOrientation = 0 |
|
CPoint | m_rotatedDestCoords [4] |
|
CPoint | m_savedRotatedDestCoords [4] |
|
CRect | m_destRect |
|
CRect | m_sourceRect |
|
CRect | m_viewRect |
|
unsigned | m_iFlags = 0 |
|
AVPixelFormat | m_format = AV_PIX_FMT_NONE |
|
CVideoSettings | m_videoSettings |
|
◆ GetVideoRect()
void CBaseRenderer::GetVideoRect |
( |
CRect & |
source, |
|
|
CRect & |
dest, |
|
|
CRect & |
view |
|
) |
| const |
Get video rectangle and view window.
- Parameters
-
source | is original size of the video |
dest | is the target rendering area honoring aspect ratio of source |
view | is the entire target rendering area for the video (including black bars) |
The documentation for this class was generated from the following files:
- xbmc/cores/VideoPlayer/VideoRenderers/BaseRenderer.h
- xbmc/cores/VideoPlayer/VideoRenderers/BaseRenderer.cpp