[vlc-commits] direct3d11: adjust HLG luminance scaling

Steve Lhomme git at videolan.org
Tue Feb 13 10:57:33 CET 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Feb 13 10:46:10 2018 +0100| [a01d9fa288a7148b759bcf7cfd5c6084063f0338] | committer: Steve Lhomme

direct3d11: adjust HLG luminance scaling

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

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

diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 3f21572f8e..5be75a51fa 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -1094,7 +1094,7 @@ static float GetFormatLuminance(vlc_object_t *o, const video_format_t *fmt)
             /* that's the default PQ value if the metadata are not set */
             return MAX_PQ_BRIGHTNESS;
         case TRANSFER_FUNC_HLG:
-            return 1000;
+            return 2000;
         case TRANSFER_FUNC_BT470_BG:
         case TRANSFER_FUNC_BT470_M:
         case TRANSFER_FUNC_BT709:



More information about the vlc-commits mailing list