[vlc-commits] [Git][videolan/vlc][master] dxgi_fmt: handle the black color for DXGI_FORMAT_R16G16B16A16_UNORM

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat May 31 06:54:19 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
56b7d150 by Steve Lhomme at 2025-05-31T06:39:27+00:00
dxgi_fmt: handle the black color for DXGI_FORMAT_R16G16B16A16_UNORM

- - - - -


1 changed file:

- modules/video_chroma/dxgi_fmt.c


Changes:

=====================================
modules/video_chroma/dxgi_fmt.c
=====================================
@@ -212,6 +212,7 @@ void DXGI_GetBlackColor( const d3d_format_t *pixelFormat,
     case DXGI_FORMAT_B8G8R8X8_UNORM:
     case DXGI_FORMAT_R10G10B10A2_UNORM:
     case DXGI_FORMAT_B5G6R5_UNORM:
+    case DXGI_FORMAT_R16G16B16A16_UNORM:
         colors[0] = 4; black[0] = blackRGBA;
         colors[1] = 0;
         break;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/56b7d150acf1770564b8b94920cbafc548a0471c

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/56b7d150acf1770564b8b94920cbafc548a0471c
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list