[vlc-commits] dxgi_fmt: map DXGI_FORMAT_R10G10B10A2_UNORM to RGBA10

Steve Lhomme git at videolan.org
Wed Oct 17 12:02:33 CEST 2018


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Oct 31 13:51:07 2017 +0100| [2e39bc43d528dfbefacc17fa4b9822ca8f3fb2ed] | committer: Steve Lhomme

dxgi_fmt: map DXGI_FORMAT_R10G10B10A2_UNORM to RGBA10

(cherry picked from commit 754904d22175371232fa6e5e9f2b13c61be3a792)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=2e39bc43d528dfbefacc17fa4b9822ca8f3fb2ed
---

 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 919ae2a3df..16b64a2518 100644
--- a/modules/video_chroma/dxgi_fmt.c
+++ b/modules/video_chroma/dxgi_fmt.c
@@ -55,7 +55,7 @@ static const dxgi_format_t dxgi_formats[] = {
     { "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                  },
+    { "RGB10A2",     DXGI_FORMAT_R10G10B10A2_UNORM,   VLC_CODEC_RGBA10   },
     { "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