xbmc/xbmc — pull request #4850 by afedchin (2014-06-04 15:19:57+00:00)
Title: [RFC/WIP] DXVA improvements

Most important changes:
* Reusing existing dxva decoder if it possible at each GetFormat call. Will fix dxva2 decoding on older ATI GPUs
* Create more then before ref surfaces that needed to prevent possible using surface which can be in use.
* Prefer the VC1_D2010 decoder over the older variant.
* Prevents destroying surface and dxva decoder while they used by the decoder.
* Slipt DXVA decoder and DXVA renderer.