[vlc-devel] [PATCH] directx_va: list when VP9 Profile 2 is supported

Steve Lhomme robux4 at videolabs.io
Tue Aug 8 17:22:25 CEST 2017


---
replaces https://patches.videolan.org/patch/17846/
- fix obvious wrong copy paste
---
 modules/codec/avcodec/directx_va.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/codec/avcodec/directx_va.c b/modules/codec/avcodec/directx_va.c
index a8645e1e55..ea2c2095a6 100644
--- a/modules/codec/avcodec/directx_va.c
+++ b/modules/codec/avcodec/directx_va.c
@@ -157,6 +157,7 @@ DEFINE_GUID(DXVA_ModeH263_F,                        0x1b81be08, 0xa0c7, 0x11d3,
 
 DEFINE_GUID(DXVA_ModeVP8_VLD,                       0x90b899ea, 0x3a62, 0x4705, 0x88, 0xb3, 0x8d, 0xf0, 0x4b, 0x27, 0x44, 0xe7);
 DEFINE_GUID(DXVA_ModeVP9_VLD_Profile0,              0x463707f8, 0xa1d0, 0x4585, 0x87, 0x6d, 0x83, 0xaa, 0x6d, 0x60, 0xb8, 0x9e);
+DEFINE_GUID(DXVA_ModeVP9_VLD_10bit_Profile2,        0xa4c749ef, 0x6ecf, 0x48aa, 0x84, 0x48, 0x50, 0xa7, 0xa1, 0x16, 0x5f, 0xf7);
 
 typedef struct {
     const char   *name;
@@ -259,6 +260,7 @@ static const directx_va_mode_t DXVA_MODES[] = {
 #else
     { "VP9 profile 0",                                                                &DXVA_ModeVP9_VLD_Profile0,             0, NULL },
 #endif
+    { "VP9 profile 2",                                                                &DXVA_ModeVP9_VLD_10bit_Profile2,       0, NULL },
 
     { NULL, NULL, 0, NULL }
 };
-- 
2.12.1



More information about the vlc-devel mailing list