1 2 3 4 5 6 7 8 9 10 11 12
<!DOCTYPE html> <title>Convert frames to RGB</title> <script src="webcodecs_common.js"></script> <script src="convert-to-rgb.js"></script> <script type="text/javascript"> 'use strict'; addManualTestButton([{'source_type': 'offscreen'}, {'source_type': 'sw_decoder'}, {'source_type': 'capture'}]); </script> <canvas id="cnv"></canvas>