Enable HEVC RFI for CUDA, VAAPI, and VDPAU decoders

This commit is contained in:
Cameron Gutman
2022-10-05 18:47:43 -05:00
parent a1694ab951
commit 413ef42a34
6 changed files with 18 additions and 0 deletions

View File

@@ -57,6 +57,11 @@ bool CUDARenderer::isDirectRenderingSupported()
return false;
}
int CUDARenderer::getDecoderCapabilities()
{
return CAPABILITY_REFERENCE_FRAME_INVALIDATION_HEVC;
}
CUDAGLInteropHelper::CUDAGLInteropHelper(AVHWDeviceContext* context)
: m_Funcs(nullptr),
m_Context((AVCUDADeviceContext*)context->hwctx)