Refactor parameter passing to decoders and split backend/decode-only and frontend renderers
This commit is contained in:
parent
9dcd770df2
commit
25e5175c54
16 changed files with 173 additions and 168 deletions
|
|
@ -9,14 +9,7 @@ class SLVideoDecoder : public IVideoDecoder
|
|||
public:
|
||||
SLVideoDecoder(bool testOnly);
|
||||
virtual ~SLVideoDecoder();
|
||||
virtual bool initialize(StreamingPreferences::VideoDecoderSelection vds,
|
||||
SDL_Window* window,
|
||||
int videoFormat,
|
||||
int width,
|
||||
int height,
|
||||
int frameRate,
|
||||
bool enableVsync,
|
||||
bool enableFramePacing);
|
||||
virtual bool initialize(PDECODER_PARAMETERS params);
|
||||
virtual bool isHardwareAccelerated();
|
||||
virtual int getDecoderCapabilities();
|
||||
virtual int submitDecodeUnit(PDECODE_UNIT du);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue