Skip to content

d3d11: Add support for zero copy playback with d3d11 decoder

d3d11 texture array (a type of single d3d11 texture which contains multiple surfaces) is the most commonly used decoder surface type. Note that array of texture (array of single d3d11 texture) is also possibly supported type depending on device but it's not implemented yet on our side.

To convert color space of texture array typed decoder output surface, d3d11 video processor (equivalent to DXVA-HD and VAAPI image processor) must be placed. It cannot be an input resource of shader pipeline. Otherwise we need to copy the decoder surface to normal texture to use shader.

This MR contains the d3d11 video processor part and zero-copying implementation at decoder/bufferpool/allocator side.

Merge request reports

Loading