[vlc-commits] direct3d11: allow output to HLG

Steve Lhomme git at videolan.org
Tue May 21 14:14:56 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue May 21 12:55:00 2019 +0200| [21bfc7051159df1cf704b355cdf89ce2d9f5737b] | committer: Steve Lhomme

direct3d11: allow output to HLG

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=21bfc7051159df1cf704b355cdf89ce2d9f5737b
---

 modules/video_output/win32/direct3d11.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index d0bd833ab7..e057f20fbd 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -1216,6 +1216,8 @@ static const dxgi_color_space color_spaces[] = {
     DXGIMAP(YCBCR, STUDIO, 2084,    LEFT,  2020)
     DXGIMAP(RGB,   STUDIO, 2084,    NONE,  2020)
     DXGIMAP(YCBCR, STUDIO, 2084, TOPLEFT,  2020)
+    DXGIMAP(YCBCR, STUDIO,  HLG, TOPLEFT,  2020)
+    DXGIMAP(YCBCR, FULL,    HLG, TOPLEFT,  2020)
     /*DXGIMAP(YCBCR, FULL,     22,    NONE,  2020, 601)*/
     {DXGI_COLOR_SPACE_RESERVED, NULL, 0, 0, 0, 0, 0},
 #undef DXGIMAP



More information about the vlc-commits mailing list