d3d11: Disable packed and subsampled YUV formats
authorSeungha Yang <seungha@centricular.com>
Sun, 20 Jun 2021 15:19:17 +0000 (00:19 +0900)
committerSeungha Yang <seungha@centricular.com>
Thu, 29 Jul 2021 13:33:30 +0000 (22:33 +0900)
commit554855f87fca8acd9b18c5374bd2cbaff61d8dc5
tree6598ca5dfe2c560028e0090f2b4460b12454f856
parent0f8631c476763a7de7e1537d8432a003edfbe60d
d3d11: Disable packed and subsampled YUV formats

Direct3D11 sampler doesn't support them very well, and conversion
outputs usually result in poor visual quality with our shader code.
Should disable support for such formats for now

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2344>
gst-libs/gst/d3d11/gstd3d11device.cpp
gst-libs/gst/d3d11/gstd3d11format.h
tests/check/elements/d3d11colorconvert.c