#include <DXVAHD.h>
|
bool | ReInit () |
|
bool | InitProcessor () |
|
bool | CheckFormats () const |
|
bool | OpenProcessor () |
|
void | ApplyFilter (D3D11_VIDEO_PROCESSOR_FILTER filter, int value, int min, int max, int def) const |
|
ComPtr< ID3D11VideoProcessorInputView > | GetInputView (CRenderBuffer *view) const |
|
bool | CheckVideoParameters (const CRect &src, const CRect &dst, const UINT &rotation, const float &contrast, const float &brightness, const CRenderBuffer &rb) |
| Apply new video settings if there was a change. Returns true if a parameter changed, false otherwise.
|
|
void | EnableIntelVideoSuperResolution () |
|
void | EnableNvidiaRTXVideoSuperResolution () |
|
void | Register () |
|
void | Unregister () |
|
◆ CProcessorHD()
CProcessorHD::CProcessorHD |
( |
| ) |
|
|
explicit |
◆ ~CProcessorHD()
CProcessorHD::~CProcessorHD |
( |
| ) |
|
◆ ApplyFilter()
void CProcessorHD::ApplyFilter |
( |
D3D11_VIDEO_PROCESSOR_FILTER | filter, |
|
|
int | value, |
|
|
int | min, |
|
|
int | max, |
|
|
int | def ) const |
|
protected |
◆ CheckFormats()
bool CProcessorHD::CheckFormats |
( |
| ) |
const |
|
protected |
◆ CheckVideoParameters()
bool CProcessorHD::CheckVideoParameters |
( |
const CRect & | src, |
|
|
const CRect & | dst, |
|
|
const UINT & | rotation, |
|
|
const float & | contrast, |
|
|
const float & | brightness, |
|
|
const CRenderBuffer & | rb ) |
|
protected |
Apply new video settings if there was a change. Returns true if a parameter changed, false otherwise.
◆ Close()
void CProcessorHD::Close |
( |
| ) |
|
◆ EnableIntelVideoSuperResolution()
void CProcessorHD::EnableIntelVideoSuperResolution |
( |
| ) |
|
|
protected |
◆ EnableNvidiaRTXVideoSuperResolution()
void CProcessorHD::EnableNvidiaRTXVideoSuperResolution |
( |
| ) |
|
|
protected |
◆ GetInputView()
ComPtr< ID3D11VideoProcessorInputView > CProcessorHD::GetInputView |
( |
CRenderBuffer * | view | ) |
const |
|
protected |
◆ InitProcessor()
bool CProcessorHD::InitProcessor |
( |
| ) |
|
|
protected |
◆ IsSuperResolutionSuitable()
◆ IsVideoSuperResolutionEnabled()
bool DXVA::CProcessorHD::IsVideoSuperResolutionEnabled |
( |
| ) |
const |
|
inline |
◆ OnCreateDevice()
void DXVA::CProcessorHD::OnCreateDevice |
( |
void | | ) |
|
|
inlineoverridevirtual |
◆ OnDestroyDevice()
void DXVA::CProcessorHD::OnDestroyDevice |
( |
bool | | ) |
|
|
inlineoverridevirtual |
◆ Open()
◆ OpenProcessor()
bool CProcessorHD::OpenProcessor |
( |
| ) |
|
|
protected |
◆ PastRefs()
uint8_t DXVA::CProcessorHD::PastRefs |
( |
| ) |
const |
|
inline |
◆ ReInit()
bool CProcessorHD::ReInit |
( |
| ) |
|
|
protected |
◆ Render()
bool CProcessorHD::Render |
( |
CRect | src, |
|
|
CRect | dst, |
|
|
ID3D11Resource * | target, |
|
|
CRenderBuffer ** | views, |
|
|
DWORD | flags, |
|
|
UINT | frameIdx, |
|
|
UINT | rotation, |
|
|
float | contrast, |
|
|
float | brightness ) |
◆ SetConversion()
Configure the processor for the provided conversion.
- Parameters
-
- Returns
- success status, true = success, false = error
◆ Supports()
◆ TryEnableVideoSuperResolution()
void CProcessorHD::TryEnableVideoSuperResolution |
( |
| ) |
|
◆ UnInit()
void CProcessorHD::UnInit |
( |
| ) |
|
◆ m_color_primaries
AVColorPrimaries DXVA::CProcessorHD::m_color_primaries {AVCOL_PRI_UNSPECIFIED} |
|
protected |
◆ m_color_transfer
AVColorTransferCharacteristic DXVA::CProcessorHD::m_color_transfer {AVCOL_TRC_UNSPECIFIED} |
|
protected |
◆ m_configured
bool DXVA::CProcessorHD::m_configured {false} |
|
protected |
true when at least one frame has been processed successfully since init
◆ m_conversion
◆ m_enumerator
◆ m_isValidConversion
bool DXVA::CProcessorHD::m_isValidConversion {false} |
|
protected |
◆ m_lastBrightness
float DXVA::CProcessorHD::m_lastBrightness {.0f} |
|
protected |
◆ m_lastColorSpace
AVColorSpace DXVA::CProcessorHD::m_lastColorSpace {AVCOL_SPC_UNSPECIFIED} |
|
protected |
◆ m_lastContrast
float DXVA::CProcessorHD::m_lastContrast {.0f} |
|
protected |
◆ m_lastConversion
◆ m_lastDst
CRect DXVA::CProcessorHD::m_lastDst {} |
|
protected |
◆ m_lastFullRange
bool DXVA::CProcessorHD::m_lastFullRange {false} |
|
protected |
◆ m_lastInputFrameOrField
UINT DXVA::CProcessorHD::m_lastInputFrameOrField {0} |
|
protected |
◆ m_lastOutputIndex
UINT DXVA::CProcessorHD::m_lastOutputIndex {0} |
|
protected |
◆ m_lastRotation
UINT DXVA::CProcessorHD::m_lastRotation {0} |
|
protected |
◆ m_lastSrc
CRect DXVA::CProcessorHD::m_lastSrc {} |
|
protected |
◆ m_procCaps
◆ m_pVideoContext
ComPtr<ID3D11VideoContext> DXVA::CProcessorHD::m_pVideoContext |
|
protected |
◆ m_pVideoDevice
ComPtr<ID3D11VideoDevice> DXVA::CProcessorHD::m_pVideoDevice |
|
protected |
◆ m_pVideoProcessor
ComPtr<ID3D11VideoProcessor> DXVA::CProcessorHD::m_pVideoProcessor |
|
protected |
◆ m_section
CCriticalSection DXVA::CProcessorHD::m_section |
|
protected |
◆ m_superResolutionEnabled
bool DXVA::CProcessorHD::m_superResolutionEnabled {false} |
|
protected |
The documentation for this class was generated from the following files: