platformQuery and platformOrder bind wai::platform_decode behind the
platform_decode feature, built as its own bundle, so the main bundle is
unchanged. demo/platform_decode.html queries and decodes every AV1 floor
object of the packaging corpus through WebCodecs with the derived
configuration, asks about the same family at 1920x1080, encodes HEVC with
the platform's own encoder and decodes it back with the codec string read
from the stream, and orders a learned entry and an AV1 entry from the
answers; verify_platform_decode.mjs drives it in a headless browser.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit fed8694f43)
6 lines
392 B
HTML
6 lines
392 B
HTML
<!doctype html>
|
|
<meta charset="utf-8">
|
|
<title>Platform decode in dispatch</title>
|
|
<p>The query the reference reads from each payload, this platform's Media Capabilities and WebCodecs answers to it, a decode through WebCodecs, and the default order those answers give (extensions/platform-decode.md).</p>
|
|
<pre id="report">running</pre>
|
|
<script type="module" src="platform_decode.js"></script>
|