[vlc-commits] dxgi_fmt: log RGB16 floats
Steve Lhomme
git at videolan.org
Fri Jan 20 14:31:46 CET 2017
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu Jan 19 11:10:39 2017 +0100| [f27e16ec8c4a1b18c9120fcf4a23eb9109708437] | committer: Jean-Baptiste Kempf
dxgi_fmt: log RGB16 floats
Apparently some GPUs handle this format: 16 bits per colour with alpha in float.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f27e16ec8c4a1b18c9120fcf4a23eb9109708437
---
modules/video_chroma/dxgi_fmt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/video_chroma/dxgi_fmt.c b/modules/video_chroma/dxgi_fmt.c
index 67ffbf3..d956085 100644
--- a/modules/video_chroma/dxgi_fmt.c
+++ b/modules/video_chroma/dxgi_fmt.c
@@ -54,6 +54,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_FLOAT", DXGI_FORMAT_R16G16B16A16_FLOAT, 0 },
{ "UNKNOWN", DXGI_FORMAT_UNKNOWN, 0 },
{ NULL, 0, 0}
More information about the vlc-commits
mailing list