mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-26 05:50:49 +00:00
Refactor parameter passing to decoders and split backend/decode-only and frontend renderers
This commit is contained in:
1 parent
9dcd770df2
commit
25e5175c54
16 files changed
+173
-168
No files matched your search
@@ -30,12 +30,7 @@ class VAAPIRenderer : public IFFmpegRenderer
|
||||
public:
|
||||
VAAPIRenderer();
|
||||
virtual ~VAAPIRenderer();
|
||||
virtual bool initialize(SDL_Window* window,
|
||||
int videoFormat,
|
||||
int width,
|
||||
int height,
|
||||
int maxFps,
|
||||
bool enableVsync);
|
||||
virtual bool initialize(PDECODER_PARAMETERS params);
|
||||
virtual bool prepareDecoderContext(AVCodecContext* context);
|
||||
virtual void renderFrame(AVFrame* frame);
|
||||
virtual bool needsTestFrame();
|
||||
|
||||
Reference in new issue
Block a user