Enable HEVC RFI for DXVA2 and D3D11VA
This commit is contained in:
parent
3679964cf8
commit
9e8a4cab7b
4 changed files with 12 additions and 0 deletions
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue