amfenc: Add DXVA2 hardware frame input support
authorAlexander Kravchenko <akravchenko188@gmail.com>
Sat, 14 Apr 2018 14:46:10 +0000 (15:46 +0100)
committerMark Thompson <sw@jkqxz.net>
Sun, 15 Apr 2018 15:46:17 +0000 (16:46 +0100)
commit2c6ca2b54968ad3d2c947cdc16f92b6867f29f3a
tree6e6a17088cef75dd00b2af045ca3375850d7e64e
parentab7eed13a789b3f709a8964b0337bc69f152a9d7
amfenc: Add DXVA2 hardware frame input support

Adds support for AMF initialisation from a DXVA2 (Direct3D9) device, and
then allows passing DXVA2 surfaces into an AMF encoder.

Signed-off-by: Mark Thompson <sw@jkqxz.net>
libavcodec/amfenc.c