http://wiki.xbmc.org/index.php?title=HOW-TO:Enable_Hardware_Accelerated_Decoding_via_DXVA2_in_XBMC_for_Windows