|
void | UnInit () |
|
bool | Open (const VideoPicture &picture, std::shared_ptr< DXVA::CEnumeratorHD > enumerator) |
|
void | Close () |
|
bool | Render (CRect src, CRect dst, ID3D11Resource *target, CRenderBuffer **views, DWORD flags, UINT frameIdx, UINT rotation, float contrast, float brightness) |
|
uint8_t | PastRefs () const |
|
bool | SetConversion (const ProcessorConversion &conversion) |
| Configure the processor for the provided conversion. More...
|
|
void | OnCreateDevice () override |
|
void | OnDestroyDevice (bool) override |
|
void | TryEnableVideoSuperResolution () |
|
bool | IsVideoSuperResolutionEnabled () const |
|
bool | Supports (ERENDERFEATURE feature) const |
|
|
static bool | IsSuperResolutionSuitable (const VideoPicture &picture) |
|
|
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 () |
|
|
CCriticalSection | m_section |
|
ComPtr< ID3D11VideoDevice > | m_pVideoDevice |
|
ComPtr< ID3D11VideoContext > | m_pVideoContext |
|
ComPtr< ID3D11VideoProcessor > | m_pVideoProcessor |
|
std::shared_ptr< CEnumeratorHD > | m_enumerator |
|
AVColorPrimaries | m_color_primaries {AVCOL_PRI_UNSPECIFIED} |
|
AVColorTransferCharacteristic | m_color_transfer {AVCOL_TRC_UNSPECIFIED} |
|
ProcessorCapabilities | m_procCaps |
|
bool | m_superResolutionEnabled {false} |
|
ProcessorConversion | m_conversion |
|
bool | m_isValidConversion {false} |
|
bool | m_configured {false} |
| true when at least one frame has been processed successfully since init
|
|
UINT | m_lastInputFrameOrField {0} |
|
UINT | m_lastOutputIndex {0} |
|
CRect | m_lastSrc {} |
|
CRect | m_lastDst {} |
|
UINT | m_lastRotation {0} |
|
float | m_lastContrast {.0f} |
|
float | m_lastBrightness {.0f} |
|
ProcessorConversion | m_lastConversion {} |
|
AVColorSpace | m_lastColorSpace {AVCOL_SPC_UNSPECIFIED} |
|
bool | m_lastFullRange {false} |
|
bool | m_bRegistered = false |
|
◆ SetConversion()
Configure the processor for the provided conversion.
- Parameters
-
- Returns
- success status, true = success, false = error
The documentation for this class was generated from the following files:
- xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/DXVAHD.h
- xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/DXVAHD.cpp