Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: media/test/data/blackwhite.html

Issue 591313008: Add support for Rec709 color space videos in software YUV convert path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add enum to mojom Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 body { 5 body {
6 color: white; 6 color: white;
7 background-color: black; 7 background-color: black;
8 } 8 }
9 </style> 9 </style>
10 </head> 10 </head>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 buttonsElem.appendChild(buttonElem); 65 buttonsElem.appendChild(buttonElem);
66 } 66 }
67 67
68 var VIDEOS = [ 68 var VIDEOS = [
69 'yuv420p.ogv', 69 'yuv420p.ogv',
70 'yuv422p.ogv', 70 'yuv422p.ogv',
71 'yuv444p.ogv', 71 'yuv444p.ogv',
72 'yuv420p.webm', 72 'yuv420p.webm',
73 'yuv444p.webm', 73 'yuv444p.webm',
74 'yuv420p.mp4', 74 'yuv420p.mp4',
75 'yuv420p_rec709.mp4',
75 'yuvj420p.mp4', 76 'yuvj420p.mp4',
76 'yuv422p.mp4', 77 'yuv422p.mp4',
77 'yuv444p.mp4', 78 'yuv444p.mp4',
78 'yuv420p.avi' 79 'yuv420p.avi'
79 ]; 80 ];
80 81
81 for (var i = 0; i < VIDEOS.length; ++i) { 82 for (var i = 0; i < VIDEOS.length; ++i) {
82 createButton(VIDEOS[i]); 83 createButton(VIDEOS[i]);
83 } 84 }
84 85
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 meanSquaredError /= width * height; 223 meanSquaredError /= width * height;
223 log('Mean squared error: ' + meanSquaredError); 224 log('Mean squared error: ' + meanSquaredError);
224 diffCtx.putImageData(diffIData, 0, 0); 225 diffCtx.putImageData(diffIData, 0, 0);
225 maskCtx.putImageData(maskIData, 0, 0); 226 maskCtx.putImageData(maskIData, 0, 0);
226 document.getElementById('diff').style.visibility = 'visible'; 227 document.getElementById('diff').style.visibility = 'visible';
227 document.getElementById('mask').style.visibility = 'visible'; 228 document.getElementById('mask').style.visibility = 'visible';
228 } 229 }
229 </script> 230 </script>
230 </body> 231 </body>
231 </html> 232 </html>
OLDNEW
« no previous file with comments | « media/mojo/services/media_type_converters.cc ('k') | media/test/data/blackwhite_yuv420p_709.mp4 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698