vlc | branch: master | Steve Lhomme <rob...@videolabs.io> | Tue Aug  8 17:12:20 
2017 +0200| [b1a57ef255f3ee7866b8217fc5848ed90c28be93] | committer: 
Jean-Baptiste Kempf

directx_va: list when VP9 Profile 2 is supported

Signed-off-by: Jean-Baptiste Kempf <j...@videolan.org>

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

 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..d807f1dfdc 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,        0x463707f8, 0xa1d0, 
0x4585, 0x87, 0x6d, 0x83, 0xaa, 0x6d, 0x60, 0xb8, 0x9e);
 
 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 }
 };

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to