kodi
xbmc
cores
VideoPlayer
VideoRenderers
windows
RendererHQ.h
1
/*
2
* Copyright (C) 2017-2019 Team Kodi
3
* This file is part of Kodi - https://kodi.tv
4
*
5
* SPDX-License-Identifier: GPL-2.0-or-later
6
* See LICENSES/README.md for more information.
7
*/
8
#pragma once
9
10
#include "RendererBase.h"
11
12
class
CRendererHQ
:
public
CRendererBase
13
{
14
public
:
15
bool
Supports(ESCALINGMETHOD method)
const override
;
16
17
protected
:
18
explicit
CRendererHQ
(
CVideoSettings
& videoSettings) :
CRendererBase
(videoSettings) {}
19
virtual
~
CRendererHQ
() =
default
;
20
21
void
OnOutputReset()
override
;
22
void
CheckVideoParameters()
override
;
23
void
UpdateVideoFilters()
override
;
24
void
FinalOutput(
CD3DTexture
& source,
CD3DTexture
& target,
const
CRect
& sourceRect,
const
CPoint
(&destPoints)[4])
override
;
25
26
void
SelectPSVideoFilter();
27
bool
HasHQScaler()
const
;
28
29
ESCALINGMETHOD m_scalingMethod = VS_SCALINGMETHOD_AUTO;
30
ESCALINGMETHOD m_scalingMethodGui = VS_SCALINGMETHOD_AUTO;
31
std::unique_ptr<CConvolutionShader> m_scalerShader =
nullptr
;
32
bool
m_bUseHQScaler =
false
;
33
};
CD3DTexture
Definition:
D3DResource.h:90
CRectGen< float >
CPointGen< float >
CRendererHQ
Definition:
RendererHQ.h:12
CVideoSettings
Definition:
VideoSettings.h:194
CRendererBase
Definition:
RendererBase.h:111
Generated by
1.8.13