#include <BaseRenderer.h>
|
| CBaseRenderer () |
|
virtual | ~CBaseRenderer () |
|
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.
|
|
float | GetAspectRatio () const |
|
unsigned int | GetOrientation () const |
|
void | SetVideoSettings (const CVideoSettings &settings) |
|
virtual DEBUG_INFO_VIDEO | GetDebugInfo (int idx) |
|
virtual CRenderCapture * | GetRenderCapture () |
|
|
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 () |
|
◆ CBaseRenderer()
CBaseRenderer::CBaseRenderer |
( |
| ) |
|
◆ ~CBaseRenderer()
CBaseRenderer::~CBaseRenderer |
( |
| ) |
|
|
virtualdefault |
◆ AddVideoPicture()
◆ CalcDestRect()
void CBaseRenderer::CalcDestRect |
( |
float | offsetX, |
|
|
float | offsetY, |
|
|
float | width, |
|
|
float | height, |
|
|
float | inputFrameRatio, |
|
|
float | zoomAmount, |
|
|
float | verticalShift, |
|
|
CRect & | destRect ) |
|
protected |
◆ CalcNormalRenderRect()
void CBaseRenderer::CalcNormalRenderRect |
( |
float | offsetX, |
|
|
float | offsetY, |
|
|
float | width, |
|
|
float | height, |
|
|
float | inputFrameRatio, |
|
|
float | zoomAmount, |
|
|
float | verticalShift ) |
|
protected |
◆ CalculateFrameAspectRatio()
void CBaseRenderer::CalculateFrameAspectRatio |
( |
unsigned int | desired_width, |
|
|
unsigned int | desired_height ) |
|
protected |
◆ ConfigChanged()
◆ Configure()
virtual bool CBaseRenderer::Configure |
( |
const VideoPicture & | picture, |
|
|
float | fps, |
|
|
unsigned int | orientation ) |
|
pure virtual |
◆ EnableAlwaysClip()
void CBaseRenderer::EnableAlwaysClip |
( |
| ) |
|
|
protected |
◆ Flush()
virtual bool CBaseRenderer::Flush |
( |
bool | saveBuffers | ) |
|
|
inlinevirtual |
◆ GetAspectRatio()
float CBaseRenderer::GetAspectRatio |
( |
| ) |
const |
◆ GetDebugInfo()
◆ GetOrientation()
unsigned int CBaseRenderer::GetOrientation |
( |
| ) |
const |
|
inline |
◆ GetRenderCapture()
◆ GetRenderInfo()
◆ GetShaderFormat()
◆ GetVideoRect()
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) |
◆ IsConfigured()
virtual bool CBaseRenderer::IsConfigured |
( |
| ) |
|
|
pure virtual |
◆ IsGuiLayer()
virtual bool CBaseRenderer::IsGuiLayer |
( |
| ) |
|
|
inlinevirtual |
◆ IsPictureHW()
◆ ManageRenderArea()
void CBaseRenderer::ManageRenderArea |
( |
| ) |
|
|
protectedvirtual |
◆ MarkDirty()
void CBaseRenderer::MarkDirty |
( |
| ) |
|
|
protected |
◆ NeedBuffer()
virtual bool CBaseRenderer::NeedBuffer |
( |
int | idx | ) |
|
|
inlinevirtual |
◆ ReleaseBuffer()
virtual void CBaseRenderer::ReleaseBuffer |
( |
int | idx | ) |
|
|
inlinevirtual |
Reimplemented in CLinuxRendererGL, CLinuxRendererGLES, CRendererDRMPRIME, CRendererDRMPRIMEGLES, CRendererMediaCodec, CRendererMediaCodecSurface, CRendererStarfish, CRendererVAAPIGL, CRendererVAAPIGLES, CRendererVDPAU, CRendererVTB, CRendererVTB, and CWinRenderer.
◆ RenderCapture()
◆ RenderUpdate()
virtual void CBaseRenderer::RenderUpdate |
( |
int | index, |
|
|
int | index2, |
|
|
bool | clear, |
|
|
unsigned int | flags, |
|
|
unsigned int | alpha ) |
|
pure virtual |
◆ ReorderDrawPoints()
void CBaseRenderer::ReorderDrawPoints |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ restoreRotatedCoords()
void CBaseRenderer::restoreRotatedCoords |
( |
| ) |
|
|
protected |
◆ saveRotatedCoords()
void CBaseRenderer::saveRotatedCoords |
( |
| ) |
|
|
protected |
◆ SetBufferSize()
virtual void CBaseRenderer::SetBufferSize |
( |
int | numBuffers | ) |
|
|
inlinevirtual |
◆ SettingOptionsRenderMethodsFiller()
◆ SetVideoSettings()
◆ SetViewMode()
void CBaseRenderer::SetViewMode |
( |
int | viewMode | ) |
|
◆ Supports() [1/2]
◆ Supports() [2/2]
◆ SupportsMultiPassRendering()
virtual bool CBaseRenderer::SupportsMultiPassRendering |
( |
| ) |
|
|
pure virtual |
◆ syncDestRectToRotatedPoints()
void CBaseRenderer::syncDestRectToRotatedPoints |
( |
| ) |
|
|
protected |
◆ UnInit()
virtual void CBaseRenderer::UnInit |
( |
| ) |
|
|
pure virtual |
◆ Update()
virtual void CBaseRenderer::Update |
( |
| ) |
|
|
pure virtual |
◆ WantsDoublePass()
virtual bool CBaseRenderer::WantsDoublePass |
( |
| ) |
|
|
inlinevirtual |
◆ m_destRect
CRect CBaseRenderer::m_destRect |
|
protected |
◆ m_format
AVPixelFormat CBaseRenderer::m_format = AV_PIX_FMT_NONE |
|
protected |
◆ m_fps
float CBaseRenderer::m_fps = 0.0f |
|
protected |
◆ m_iFlags
unsigned CBaseRenderer::m_iFlags = 0 |
|
protected |
◆ m_renderOrientation
unsigned int CBaseRenderer::m_renderOrientation = 0 |
|
protected |
◆ m_rotatedDestCoords
CPoint CBaseRenderer::m_rotatedDestCoords[4] |
|
protected |
◆ m_savedRotatedDestCoords
CPoint CBaseRenderer::m_savedRotatedDestCoords[4] |
|
protected |
◆ m_sourceFrameRatio
float CBaseRenderer::m_sourceFrameRatio = 1.0f |
|
protected |
◆ m_sourceHeight
unsigned int CBaseRenderer::m_sourceHeight = 480 |
|
protected |
◆ m_sourceRect
CRect CBaseRenderer::m_sourceRect |
|
protected |
◆ m_sourceWidth
unsigned int CBaseRenderer::m_sourceWidth = 720 |
|
protected |
◆ m_videoSettings
◆ m_viewRect
CRect CBaseRenderer::m_viewRect |
|
protected |
The documentation for this class was generated from the following files: