Add Hardware Accelerated VP9 Support

This is Windows 10+ only for now due to a vp9 decoder mft being needed
Fix for older windows is being worked on.
This commit is contained in:
EAZYBLACK 2026-09-13 10:42:24 +03:00
commit 6ad01d940b
9 changed files with 74 additions and 9 deletions

View file

@ -1419,6 +1419,13 @@ 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.
*/
readonly attribute jsval supportsHardwareVP9Decoding;
/**
* Returns the current audio backend as a free-form string.