[vlc-commits] dxgi_fmt: add some common formats that may be supported
Steve Lhomme
git at videolan.org
Thu Oct 12 23:27:11 CEST 2017
vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Thu Oct 12 12:56:20 2017 +0200| [3d3dadcf4c34f1bf44000f2c640285d3666cb0ea] | committer: Jean-Baptiste Kempf
dxgi_fmt: add some common formats that may be supported
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3d3dadcf4c34f1bf44000f2c640285d3666cb0ea
---
modules/video_chroma/dxgi_fmt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/video_chroma/dxgi_fmt.c b/modules/video_chroma/dxgi_fmt.c
index bacf329cac..7e1b60cee0 100644
--- a/modules/video_chroma/dxgi_fmt.c
+++ b/modules/video_chroma/dxgi_fmt.c
@@ -55,10 +55,12 @@ static const dxgi_format_t dxgi_formats[] = {
{ "B5G6R5", DXGI_FORMAT_B5G6R5_UNORM, VLC_CODEC_RGB16 },
{ "Y416", DXGI_FORMAT_Y416, 0 },
{ "P010", DXGI_FORMAT_P010, VLC_CODEC_P010 },
+ { "P016", DXGI_FORMAT_P016, 0 },
{ "Y210", DXGI_FORMAT_Y210, VLC_CODEC_YUYV }, /* AV_PIX_FMT_YUYV422 */
{ "Y410", DXGI_FORMAT_Y410, 0 },
{ "NV11", DXGI_FORMAT_NV11, 0 },
{ "RGB10A2", DXGI_FORMAT_R10G10B10A2_UNORM, 0 },
+ { "RGB16", DXGI_FORMAT_R16G16B16A16_UNORM, 0 },
{ "RGB16_FLOAT", DXGI_FORMAT_R16G16B16A16_FLOAT, 0 },
{ "UNKNOWN", DXGI_FORMAT_UNKNOWN, 0 },
More information about the vlc-commits
mailing list