vlc | branch: master | Steve Lhomme <[email protected]> | 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 <[email protected]>

> 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}

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to