[vlc-commits] dxgi_fmt: map DXGI_FORMAT_R16G16B16A16_UNORM to RGBA64

Steve Lhomme git at videolan.org
Tue Feb 20 16:07:18 CET 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Oct 31 13:46:48 2017 +0100| [82ae0d1c2d4ff626960f05e29fd00fd1274af531] | committer: Steve Lhomme

dxgi_fmt: map DXGI_FORMAT_R16G16B16A16_UNORM to RGBA64

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

 modules/video_chroma/dxgi_fmt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_chroma/dxgi_fmt.c b/modules/video_chroma/dxgi_fmt.c
index cca20680b3..12eb7036de 100644
--- a/modules/video_chroma/dxgi_fmt.c
+++ b/modules/video_chroma/dxgi_fmt.c
@@ -56,7 +56,7 @@ static const dxgi_format_t dxgi_formats[] = {
     { "Y410",        DXGI_FORMAT_Y410,                0                  },
     { "NV11",        DXGI_FORMAT_NV11,                0                  },
     { "RGB10A2",     DXGI_FORMAT_R10G10B10A2_UNORM,   0                  },
-    { "RGB16",       DXGI_FORMAT_R16G16B16A16_UNORM,  0                  },
+    { "RGB16",       DXGI_FORMAT_R16G16B16A16_UNORM,  VLC_CODEC_RGBA64   },
     { "RGB16_FLOAT", DXGI_FORMAT_R16G16B16A16_FLOAT,  0                  },
     { "UNKNOWN",     DXGI_FORMAT_UNKNOWN,             0                  },
 



More information about the vlc-commits mailing list