Re: [FFmpeg-devel] [PATCH] d3d11va: let user can create SRV from output

2022-03-08 Thread Hendrik Leppkes
On Wed, Mar 9, 2022 at 7:56 AM Wang Chuan wrote: > > Starting from Windows 8, users can create SRV from video resource > and bind it to shaders directly. This can avoid unnecessary memcpy > (ID3D11DeviceContext::CopyResource, etc), so create texture with > [D3D11_BIND_SHADER_RESOURCE] as

[FFmpeg-devel] [PATCH] d3d11va: let user can create SRV from output

2022-03-08 Thread Wang Chuan
Starting from Windows 8, users can create SRV from video resource and bind it to shaders directly. This can avoid unnecessary memcpy (ID3D11DeviceContext::CopyResource, etc), so create texture with [D3D11_BIND_SHADER_RESOURCE] as decoder's output if possible. Signed-off-by: Wang Chuan ---