Add a decoder/renderer callback to specify the desired color range

This commit is contained in:
Cameron Gutman
2022-10-12 23:59:01 -05:00
parent 7a39daf179
commit c55af7fff3
7 changed files with 20 additions and 2 deletions

View File

@@ -68,6 +68,7 @@ public:
virtual bool isHdrSupported() = 0;
virtual int getDecoderCapabilities() = 0;
virtual int getDecoderColorspace() = 0;
virtual int getDecoderColorRange() = 0;
virtual QSize getDecoderMaxResolution() = 0;
virtual int submitDecodeUnit(PDECODE_UNIT du) = 0;
virtual void renderFrameOnMainThread() = 0;