<!DOCTYPE html>
<title>Test copyTo() performance with VideoFrame from VideoDecoder</title>
<script src="../resources/runner.js"></script>
<script src="videoFrame-utils.js"></script>
<script src="copyTo-test.js"></script>
<script>
(async function() {
let frame = await createDecodedFrame();
if (frame == null) {
PerfTestRunner.logFatalError("No frame decoded");
return;
}
runCopyToTest(
frame, "CPU time for copyTo() w/ VideoFrame from VideoDecoder");
})();
</script>