d3d11window: Prefer full color range for display target colorspace
authorSeungha Yang <seungha@centricular.com>
Mon, 16 Nov 2020 11:44:06 +0000 (20:44 +0900)
committerSeungha Yang <seungha@centricular.com>
Mon, 16 Nov 2020 11:48:35 +0000 (20:48 +0900)
commita516c79ac998c15993655bcb595e6acde82283d1
treee8616d1077ec25e484ca8b607af9486359edbed5
parent92472ef0887e2eb817c8250b4273601738f6ca11
d3d11window: Prefer full color range for display target colorspace

We don't need to preserve input color range for transformed target
color space. Also some GPUs doesn't seem to be happy with 16-235
color range for RGB color space.
Also, since our default display target color space is
DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709, choosing full color range
would make more sense.

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