Enable HEVC RFI for DXVA2 and D3D11VA

This commit is contained in:
Cameron Gutman committed 2022-10-04 22:56:21 -05:00
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]);