d3d11decoder: Do not preallocate texture using downstream d3d11 buffer pool
authorSeungha Yang <seungha@centricular.com>
Sun, 17 Apr 2022 14:55:55 +0000 (23:55 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 18 Apr 2022 18:31:02 +0000 (18:31 +0000)
commitdd32e2efbcf0d6141bcaf7eaca2bc3c777ba7117
tree3b79e586c4cc0c397ba1d2047ea63f7ddd5031d0
parentcf684051dda593a71688980fe83263a48941be44
d3d11decoder: Do not preallocate texture using downstream d3d11 buffer pool

Our decoder implementation does not use downstream d3d11 pool for
decoding because of special requirement of D3D11/DXVA. So preallocation
using the downstream buffer pool will waste GPU memory in most cases.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2211>
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11decoder.cpp