mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 13:31:41 +00:00
Enable HEVC RFI for DXVA2 and D3D11VA
This commit is contained in:
1 parent
3679964cf8
commit
9e8a4cab7b
4 files changed
+12
No files matched your search
@@ -1004,6 +1004,11 @@ int DXVA2Renderer::getDecoderColorspace()
|
||||
}
|
||||
}
|
||||
|
||||
int DXVA2Renderer::getDecoderCapabilities()
|
||||
{
|
||||
return CAPABILITY_REFERENCE_FRAME_INVALIDATION_HEVC;
|
||||
}
|
||||
|
||||
void DXVA2Renderer::renderFrame(AVFrame *frame)
|
||||
{
|
||||
IDirect3DSurface9* surface = reinterpret_cast<IDirect3DSurface9*>(frame->data[3]);
|
||||
|
||||
Reference in new issue
Block a user