Enable HEVC RFI for DXVA2 and D3D11VA

This commit is contained in:
Cameron Gutman
2022-10-04 22:56:21 -05:00
parent 3679964cf8
commit 9e8a4cab7b
4 changed files with 12 additions and 0 deletions

View File

@@ -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]);