d3d11memory: Implement ID3D11VideoDecoderOutputView pool
authorSeungha Yang <seungha@centricular.com>
Mon, 19 Oct 2020 16:59:35 +0000 (01:59 +0900)
committerSeungha Yang <seungha@centricular.com>
Tue, 20 Oct 2020 08:56:52 +0000 (17:56 +0900)
commita4f324d6680472fc53a521b794128d555f452c1f
treed9a02a38233bf1ae80b810358d7c7a73002b87fb
parent04376397eb92c123d2ca3eda0109ffe375e8de02
d3d11memory: Implement ID3D11VideoDecoderOutputView pool

Similar to texture-array pool, we can reuse decoder output view
since the life time of output view is identical to that of texture-array.
In this way, we can avoid frequent output view alloc/free.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1712>
sys/d3d11/gstd3d11memory.c
sys/d3d11/gstd3d11memory.h