diff options
author | Rodeo <[email protected]> | 2015-06-23 16:21:18 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2015-06-23 16:21:18 +0000 |
commit | a94ce281bb6883ea3d3cb11a20d8879e9c3675d2 (patch) | |
tree | 0c17dd018ace40dca38844ce4c4dc52293d2d331 /libhb/vadxva2.h | |
parent | 627c34a7be7178928e62437d79538b28a9e81b22 (diff) |
libhb: add DXVA2-accelerated HEVC decoding.
Patch by Zhang Zhiqiang. Thanks!
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7308 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/vadxva2.h')
-rw-r--r-- | libhb/vadxva2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/vadxva2.h b/libhb/vadxva2.h index 9f0e19705..d095d0c93 100644 --- a/libhb/vadxva2.h +++ b/libhb/vadxva2.h @@ -57,6 +57,7 @@ static const GUID DXVA2_ModeVC1_A = { 0x1b81beA0, 0xa0c7, 0x11d3, {0xb9, 0x84, 0 static const GUID DXVA2_ModeVC1_B = { 0x1b81beA1, 0xa0c7, 0x11d3, {0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5} }; static const GUID DXVA2_ModeVC1_C = { 0x1b81beA2, 0xa0c7, 0x11d3, {0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5} }; static const GUID DXVA2_ModeVC1_D = { 0x1b81beA3, 0xa0c7, 0x11d3, {0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5} }; +static const GUID DXVA2_ModeHEVC_VLD_Main = { 0x5b11d51b, 0x2f4c,0x4452, {0xbc, 0xc3, 0x09, 0xf2, 0xa1, 0x16, 0x0c, 0xc0} }; typedef struct { @@ -187,6 +188,8 @@ static const hb_dx_mode_t dxva2_modes[] = { "VC-1 IDCT", &DXVA2_ModeVC1_C, 0 }, { "VC-1 MoComp", &DXVA2_ModeVC1_B, 0 }, { "VC-1 post processing", &DXVA2_ModeVC1_A, 0 }, + + { "DXVA2_ModeHEVC_VLD_Main", &DXVA2_ModeHEVC_VLD_Main, AV_CODEC_ID_HEVC }, { NULL, NULL, 0 } }; |