Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/dom/media/webcodecs/crashtests/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  1897631.html

  Sprache: HTML
 

 products/Sources/formale Sprachen/C/Firefox/dom/media/webcodecs/crashtests/1897631.html


<!DOCTYPE html>
<html class="reftest-wait">
<head>
<title>Bug 1897631</title>
</head>
<body>
<script>
function createFrame(width, height, timestamp) {
  let duration = 33333; // 30fps
  let cnv = new OffscreenCanvas(width, height);
  let ctx = cnv.getContext("2d");
  ctx.fillStyle = "#FF0000";
  ctx.fillRect(00, width, height);
  return new VideoFrame(cnv, { timestamp, duration });
}

async function boom() {
  const decoder = new VideoDecoder({
    output: (frame) => { frame.close(); },
    error: (e) => {},
  });

  const encoder = new VideoEncoder({
    output: (chunk, metadata) => {
      if (metadata.decoderConfig) {
        decoder.configure(metadata.decoderConfig);
      }
      decoder.decode(chunk);
    },
    error: (e) => {}
  });

  encoder.configure({
    codec: "vp8",
    width: 640,
    height: 480,
    displayWidth: 640,
    displayHeight: 480,
  });

  // Refresh the page after a delay of 10 milliseconds
  setTimeout(() => {
    window.onload = null;
    location.reload();
    document.documentElement.removeAttribute("class");
  }, 10);

  function keepEncoding() {
    setTimeout(() => {
      encoder.encode(createFrame(6404800));
      keepEncoding();
    }, 0);
  }

  keepEncoding();
}

window.onload = boom;
</script>
</body>
</html>

Messung V0.5 in Prozent
C=97 H=94 G=95

¤ Dauer der Verarbeitung: 0.17 Sekunden  (vorverarbeitet am  2026-06-10) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.