vd_lavc: add d3d11va hwdec

This commit adds the d3d11va-copy hwdec mode using the ffmpeg d3d11va
api. Functions in common with dxva2 are handled in a separate decode/d3d.c
file. A future commit will rewrite decode/dxva2.c to share this code.
This commit is contained in:
Kevin Mitchell
2016-03-17 23:28:29 -07:00
parent 872d0838a4
commit a7110862c8
13 changed files with 933 additions and 4 deletions

View File

@@ -15,8 +15,9 @@ enum hwdec_type {
HWDEC_VAAPI_COPY = 5,
HWDEC_DXVA2 = 6,
HWDEC_DXVA2_COPY = 7,
HWDEC_RPI = 8,
HWDEC_MEDIACODEC = 9,
HWDEC_D3D11VA_COPY = 8,
HWDEC_RPI = 9,
HWDEC_MEDIACODEC = 10,
};
// hwdec_type names (options.c)