libavutil/hwcontext_d3d11va: adding more texture information to the D3D11 hwcontext API

Microsoft VideoProcessor requires texture with D3DUSAGE_RENDERTARGET flag as output.
There is no way to allocate array of textures with D3D11_BIND_RENDER_TARGET flag
and .ArraySize > 2 by ID3D11Device_CreateTexture2D due to the Microsoft limitation.
Adding AVD3D11FrameDescriptors array to store array of single textures
instead of texture with multiple slices resolves this.

Signed-off-by: Artem Galin <artem.galin@intel.com>
This commit is contained in:
Artem Galin
2021-08-20 22:48:05 +01:00
committed by James Almer
parent f1cd1dc6ce
commit 4f78711f9c
5 changed files with 58 additions and 19 deletions

View File

@@ -14,6 +14,9 @@ libavutil: 2021-04-27
API changes, most recent first:
2021-09-08 - xxxxxxxxxx - lavu 57.5.100 - hwcontext_d3d11va.h
Add AVD3D11VAFramesContext.texture_infos
2021-09-06 - xxxxxxxxxx - lsws 6.1.100 - swscale.h
Add AVFrame-based scaling API:
- sws_scale_frame()