#include <RendererBase.h>
|
virtual | ~CRendererBase () |
|
virtual CRenderInfo | GetRenderInfo () |
|
virtual bool | Configure (const VideoPicture &picture, float fps, unsigned int orientation) |
|
virtual bool | Supports (ESCALINGMETHOD method) const =0 |
|
virtual bool | Supports (ERENDERFEATURE feature) const |
|
virtual bool | WantsDoublePass () |
|
virtual bool | NeedBuffer (int idx) |
|
void | AddVideoPicture (const VideoPicture &picture, int index) |
|
void | Render (int index, int index2, CD3DTexture &target, const CRect &sourceRect, const CRect &destRect, const CRect &viewRect, unsigned flags) |
|
void | Render (CD3DTexture &target, const CRect &sourceRect, const CRect &destRect, const CRect &viewRect, unsigned flags=0) |
|
void | ManageTextures () |
|
int | NextBuffer () const |
|
void | ReleaseBuffer (int idx) |
|
bool | Flush (bool saveBuffers) |
|
void | SetBufferSize (int numBuffers) |
|
DEBUG_INFO_VIDEO | GetDebugInfo (int idx) |
|
|
| CRendererBase (CVideoSettings &videoSettings) |
|
bool | CreateIntermediateTarget (unsigned int width, unsigned int height, bool dynamic=false, DXGI_FORMAT format=DXGI_FORMAT_UNKNOWN) |
|
void | OnCMSConfigChanged (AVColorPrimaries srcPrimaries) |
|
void | ReorderDrawPoints (const CRect &destRect, CPoint(&rotatedPoints)[4]) const |
|
bool | CreateRenderBuffer (int index) |
|
void | DeleteRenderBuffer (int index) |
|
void | ProcessHDR (CRenderBuffer *rb) |
|
bool | ActualRenderAsHDR () |
| Call after rendering has started to find out if the output is configured as SDR or HDR.
|
|
virtual void | RenderImpl (CD3DTexture &target, CRect &sourceRect, CPoint(&destPoints)[4], uint32_t flags)=0 |
|
virtual void | FinalOutput (CD3DTexture &source, CD3DTexture &target, const CRect &sourceRect, const CPoint(&destPoints)[4]) |
|
virtual CRenderBuffer * | CreateBuffer ()=0 |
|
virtual void | UpdateVideoFilters () |
|
virtual void | CheckVideoParameters () |
|
virtual void | OnViewSizeChanged () |
|
virtual void | OnOutputReset () |
|
virtual std::string | GetRenderMethodDebugInfo () const |
|
◆ ~CRendererBase()
CRendererBase::~CRendererBase |
( |
| ) |
|
|
virtual |
◆ CRendererBase()
◆ ActualRenderAsHDR()
bool CRendererBase::ActualRenderAsHDR |
( |
| ) |
|
|
inlineprotected |
Call after rendering has started to find out if the output is configured as SDR or HDR.
- Returns
- true: HDR output, false: SDR output
◆ AddVideoPicture()
◆ CheckVideoParameters()
void CRendererBase::CheckVideoParameters |
( |
| ) |
|
|
protectedvirtual |
◆ Configure()
bool CRendererBase::Configure |
( |
const VideoPicture & | picture, |
|
|
float | fps, |
|
|
unsigned int | orientation ) |
|
virtual |
◆ CreateBuffer()
◆ CreateIntermediateTarget()
bool CRendererBase::CreateIntermediateTarget |
( |
unsigned int | width, |
|
|
unsigned int | height, |
|
|
bool | dynamic = false, |
|
|
DXGI_FORMAT | format = DXGI_FORMAT_UNKNOWN ) |
|
protected |
◆ CreateRenderBuffer()
bool CRendererBase::CreateRenderBuffer |
( |
int | index | ) |
|
|
protected |
◆ DeleteRenderBuffer()
void CRendererBase::DeleteRenderBuffer |
( |
int | index | ) |
|
|
protected |
◆ FinalOutput()
◆ Flush()
bool CRendererBase::Flush |
( |
bool | saveBuffers | ) |
|
◆ GetAVFormat()
AVPixelFormat CRendererBase::GetAVFormat |
( |
DXGI_FORMAT | dxgi_format | ) |
|
|
static |
◆ GetDebugInfo()
◆ GetDXGIFormat() [1/2]
DXGI_FORMAT CRendererBase::GetDXGIFormat |
( |
const VideoPicture & | picture | ) |
|
|
static |
◆ GetDXGIFormat() [2/2]
DXGI_FORMAT CRendererBase::GetDXGIFormat |
( |
CVideoBuffer * | videoBuffer | ) |
|
|
static |
◆ GetDXGIHDR10MetaData()
DXGI_HDR_METADATA_HDR10 CRendererBase::GetDXGIHDR10MetaData |
( |
CRenderBuffer * | rb | ) |
|
|
static |
◆ GetRenderInfo()
◆ GetRenderMethodDebugInfo()
virtual std::string CRendererBase::GetRenderMethodDebugInfo |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ IntendToRenderAsHDR()
Call before rendering begins to find out if rendering will be attempted as SDR or HDR.
- Parameters
-
picture | description of the source |
- Returns
- true: intent to render as HDR, false: intent to render as SDR
◆ ManageTextures()
void CRendererBase::ManageTextures |
( |
| ) |
|
◆ NeedBuffer()
virtual bool CRendererBase::NeedBuffer |
( |
int | idx | ) |
|
|
inlinevirtual |
◆ NextBuffer()
int CRendererBase::NextBuffer |
( |
| ) |
const |
◆ OnCMSConfigChanged()
void CRendererBase::OnCMSConfigChanged |
( |
AVColorPrimaries | srcPrimaries | ) |
|
|
protected |
◆ OnOutputReset()
virtual void CRendererBase::OnOutputReset |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ OnViewSizeChanged()
virtual void CRendererBase::OnViewSizeChanged |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ ProcessHDR()
◆ ReleaseBuffer()
void CRendererBase::ReleaseBuffer |
( |
int | idx | ) |
|
◆ Render() [1/2]
◆ Render() [2/2]
◆ RenderImpl()
◆ ReorderDrawPoints()
void CRendererBase::ReorderDrawPoints |
( |
const CRect & | destRect, |
|
|
CPoint(&) | rotatedPoints[4] ) const |
|
protected |
◆ SetBufferSize()
void CRendererBase::SetBufferSize |
( |
int | numBuffers | ) |
|
|
inline |
◆ Supports() [1/2]
◆ Supports() [2/2]
◆ UpdateVideoFilters()
void CRendererBase::UpdateVideoFilters |
( |
| ) |
|
|
protectedvirtual |
◆ WantsDoublePass()
virtual bool CRendererBase::WantsDoublePass |
( |
| ) |
|
|
inlinevirtual |
◆ m_AutoSwitchHDR
bool CRendererBase::m_AutoSwitchHDR = false |
|
protected |
◆ m_cmsOn
bool CRendererBase::m_cmsOn = false |
|
protected |
◆ m_cmsToken
int CRendererBase::m_cmsToken = -1 |
|
protected |
◆ m_colorManager
◆ m_ditherDepth
int CRendererBase::m_ditherDepth = 0 |
|
protected |
◆ m_format
AVPixelFormat CRendererBase::m_format = AV_PIX_FMT_NONE |
|
protected |
◆ m_fps
float CRendererBase::m_fps = 0.0f |
|
protected |
◆ m_frameIdx
uint64_t CRendererBase::m_frameIdx = 0 |
|
protected |
◆ m_HdrType
◆ m_iBufferIndex
int CRendererBase::m_iBufferIndex = 0 |
|
protected |
◆ m_iBuffersRequired
int CRendererBase::m_iBuffersRequired = 0 |
|
protected |
◆ m_initialHdrEnabled
bool CRendererBase::m_initialHdrEnabled = false |
|
protected |
◆ m_IntermediateTarget
◆ m_iNumBuffers
int CRendererBase::m_iNumBuffers = 0 |
|
protected |
◆ m_lastHdr10
DXGI_HDR_METADATA_HDR10 CRendererBase::m_lastHdr10 = {} |
|
protected |
◆ m_lutIsLoading
bool CRendererBase::m_lutIsLoading = false |
|
protected |
◆ m_lutSize
int CRendererBase::m_lutSize = 0 |
|
protected |
◆ m_outputShader
◆ m_pLUTView
Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> CRendererBase::m_pLUTView |
|
protected |
◆ m_renderBuffers
◆ m_renderMethodName
std::string CRendererBase::m_renderMethodName |
|
protected |
◆ m_renderOrientation
unsigned CRendererBase::m_renderOrientation = 0 |
|
protected |
◆ m_sourceHeight
unsigned CRendererBase::m_sourceHeight = 0 |
|
protected |
◆ m_sourceWidth
unsigned CRendererBase::m_sourceWidth = 0 |
|
protected |
◆ m_toneMapMethod
◆ m_toneMapping
bool CRendererBase::m_toneMapping = false |
|
protected |
◆ m_useDithering
bool CRendererBase::m_useDithering = false |
|
protected |
◆ m_useHLGtoPQ
bool CRendererBase::m_useHLGtoPQ = false |
|
protected |
◆ m_videoSettings
◆ m_viewHeight
unsigned CRendererBase::m_viewHeight = 0 |
|
protected |
◆ m_viewWidth
unsigned CRendererBase::m_viewWidth = 0 |
|
protected |
The documentation for this class was generated from the following files: