Add VP9 Hardware Decoding with DXVA (Non-MFT), Vista+

Thanks to Maggie (imjustsomeoneiguess) on discord for helping with a lot of this VP9 media code.
This is the first browser so far to support VP9 Non MFT
This commit is contained in:
EAZYBLACK 2026-09-15 18:34:43 +03:00
commit 1414824320
18 changed files with 1747 additions and 34 deletions

View file

@ -49,7 +49,7 @@ interface nsIJSRAIIHelper;
interface nsIContentPermissionRequest;
interface nsIObserver;
[scriptable, uuid(58e97ce9-1d9e-4576-aabf-89480fdeb16d)]
[scriptable, uuid(16ed093c-84a7-4ca3-84c8-9ad71f8b5d82)]
interface nsIDOMWindowUtils : nsISupports {
/**
@ -1419,11 +1419,10 @@ interface nsIDOMWindowUtils : nsISupports {
* in hardware.
*/
readonly attribute jsval supportsHardwareH264Decoding;
/**
* Returns a Promise that will be resolved with a string once the capabilities
* of the vp9 decoder have been determined.
* Success does not mean that all vp9 video decoding will be done
* in hardware.
* Returns a Promise resolved with a string describing whether VP9 hardware
* decoding is available through the Windows MFT or direct DXVA2 path.
*/
readonly attribute jsval supportsHardwareVP9Decoding;