mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-27 14:30:25 +00:00
Reduce code duplication in renderers
This commit is contained in:
1 parent
25e5175c54
commit
ada2270bd1
10 files changed
+31
-105
No files matched your search
@@ -15,15 +15,11 @@ class DXVA2Renderer : public IFFmpegRenderer
|
||||
{
|
||||
public:
|
||||
DXVA2Renderer();
|
||||
virtual ~DXVA2Renderer();
|
||||
virtual ~DXVA2Renderer() override;
|
||||
virtual bool initialize(PDECODER_PARAMETERS params) override;
|
||||
virtual bool prepareDecoderContext(AVCodecContext* context) override;
|
||||
virtual void renderFrame(AVFrame* frame) override;
|
||||
virtual bool needsTestFrame() override;
|
||||
virtual int getDecoderCapabilities() override;
|
||||
virtual FramePacingConstraint getFramePacingConstraint() override;
|
||||
virtual void notifyOverlayUpdated(Overlay::OverlayType) override;
|
||||
virtual bool isRenderThreadSupported() override;
|
||||
|
||||
private:
|
||||
bool initializeDecoder();
|
||||
|
||||
Reference in new issue
Block a user