#include <BaseRenderer.h>
§ CBaseRenderer()
CBaseRenderer::CBaseRenderer |
( |
| ) |
|
§ ~CBaseRenderer()
CBaseRenderer::~CBaseRenderer |
( |
| ) |
|
|
virtualdefault |
§ AddVideoPicture()
virtual void CBaseRenderer::AddVideoPicture |
( |
const VideoPicture & |
picture, |
|
|
int |
index |
|
) |
| |
|
pure virtual |
§ 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()
virtual bool CBaseRenderer::ConfigChanged |
( |
const VideoPicture & |
picture | ) |
|
|
pure virtual |
§ Configure()
virtual bool CBaseRenderer::Configure |
( |
const VideoPicture & |
picture, |
|
|
float |
fps, |
|
|
unsigned int |
orientation |
|
) |
| |
|
pure virtual |
Implemented in MMAL::CMMALRenderer, CLinuxRendererGLES, CLinuxRendererGL, CWinRenderer, CRendererVAAPI, CRendererVAAPI, CRendererDRMPRIME, CRendererMediaCodecSurface, CRendererAML, CRendererDRMPRIMEGLES, and CRendererVDPAU.
§ Flush()
virtual bool CBaseRenderer::Flush |
( |
bool |
saveBuffers | ) |
|
|
inlinevirtual |
§ GetAspectRatio()
float CBaseRenderer::GetAspectRatio |
( |
| ) |
const |
§ 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()
virtual bool CBaseRenderer::IsPictureHW |
( |
const VideoPicture & |
picture | ) |
|
|
inlinevirtual |
§ 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 MMAL::CMMALRenderer, CLinuxRendererGLES, CLinuxRendererGL, CWinRenderer, CRendererVAAPI, CRendererVAAPI, CRendererDRMPRIME, CRendererDRMPRIMEGLES, CRendererMediaCodecSurface, CRendererVDPAU, CRendererAML, CRendererMediaCodec, CRendererVTB, and CRendererVTB.
§ RenderCapture()
virtual bool CBaseRenderer::RenderCapture |
( |
CRenderCapture * |
capture | ) |
|
|
pure virtual |
§ 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()
void CBaseRenderer::SettingOptionsRenderMethodsFiller |
( |
std::shared_ptr< const CSetting > |
setting, |
|
|
std::vector< std::pair< std::string, int > > & |
list, |
|
|
int & |
current, |
|
|
void * |
data |
|
) |
| |
|
static |
§ 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: