DXVA: factor out interface to dxva decoder into singleton
DXVA: only allow a single dxva decoder to be opened
DXVA: refcount decoder on get/release buffer
Merge pull request #5335 from FernetMenta/dxva

DXVA: fixes related to ffmpeg