dxva: add support for new dxva2 and d3d11 hwaccel APIs
authorwm4 <nfxjfg@googlemail.com>
Wed, 7 Jun 2017 15:11:17 +0000 (17:11 +0200)
committerDiego Biurrun <diego@biurrun.de>
Thu, 8 Jun 2017 19:20:18 +0000 (21:20 +0200)
commitf9e7a2f95a7194a8736cc1416a03a1a0155a3e9f
tree838be3f83c9fe4cc5a4be77cc51bc38bac134120
parent831cfe10b40414915fe7b6088158421fe02e2b2d
dxva: add support for new dxva2 and d3d11 hwaccel APIs

This also adds support to avconv (which is trivial due to the new
hwaccel API being generic enough).

The new decoder setup code in dxva2.c is significantly based on work by
Steve Lhomme <robux4@gmail.com>, but with heavy changes/rewrites.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
20 files changed:
Changelog
avtools/Makefile
avtools/avconv.h
avtools/avconv_dxva2.c [deleted file]
avtools/avconv_opt.c
configure
doc/APIchanges
libavcodec/allcodecs.c
libavcodec/dxva2.c
libavcodec/dxva2_h264.c
libavcodec/dxva2_hevc.c
libavcodec/dxva2_internal.h
libavcodec/dxva2_mpeg2.c
libavcodec/dxva2_vc1.c
libavcodec/h264_slice.c
libavcodec/hevcdec.c
libavcodec/mpeg12dec.c
libavcodec/vc1dec.c
libavcodec/version.h
libavutil/hwcontext_dxva2.h