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

Side by Side Diff: LayoutTests/fast/images/jpeg-ycbcr-image-decoding.html

Issue 561363002: Add layout test for JPEG with different YUV formats (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « LayoutTests/SmokeTests ('k') | LayoutTests/fast/images/resources/ycbcr-420.jpg » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
Noel Gordon 2014/09/12 02:52:29 I think a <meta> tag is needed here to enable YUV
2 <body>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
6
7 window.onload = function() {
8 document.getElementById('results').innerHTML =
9 document.getElementsByTagName('img')[0].width + 'x' +
10 document.getElementsByTagName('img')[0].height + ' ' +
11 document.getElementsByTagName('img')[1].width + 'x' +
12 document.getElementsByTagName('img')[1].height + ' ' +
13 document.getElementsByTagName('img')[2].width + 'x' +
14 document.getElementsByTagName('img')[2].height + ' ' +
15 document.getElementsByTagName('img')[3].width + 'x' +
16 document.getElementsByTagName('img')[3].height + ' ' +
17 document.getElementsByTagName('img')[4].width + 'x' +
18 document.getElementsByTagName('img')[4].height + ' ' +
19 document.getElementsByTagName('img')[5].width + 'x' +
20 document.getElementsByTagName('img')[5].height + ' ' +
21 document.getElementsByTagName('img')[6].width + 'x' +
22 document.getElementsByTagName('img')[6].height + ' ' +
23 document.getElementsByTagName('img')[7].width + 'x' +
24 document.getElementsByTagName('img')[7].height + ' ' +
25 document.getElementsByTagName('img')[8].width + 'x' +
26 document.getElementsByTagName('img')[8].height + ' ' +
27 document.getElementsByTagName('img')[9].width + 'x' +
28 document.getElementsByTagName('img')[9].height + ' ' +
29 document.getElementsByTagName('img')[10].width + 'x' +
30 document.getElementsByTagName('img')[10].height + ' ' +
31 document.getElementsByTagName('img')[11].width + 'x' +
32 document.getElementsByTagName('img')[11].height;
33 }
34 </script>
35 <img src="resources/ycbcr-420-fast_int-progressive.jpg">
36 <img src="resources/ycbcr-420-float-progressive.jpg">
37 <img src="resources/ycbcr-420-float.jpg">
38 <img src="resources/ycbcr-420-progressive-smooth.jpg">
39 <img src="resources/ycbcr-420-progressive.jpg">
40 <img src="resources/ycbcr-420.jpg">
41 <img src="resources/ycbcr-422-float.jpg">
42 <img src="resources/ycbcr-422.jpg">
43 <img src="resources/ycbcr-440-float.jpg">
44 <img src="resources/ycbcr-440.jpg">
45 <img src="resources/ycbcr-444-float.jpg">
46 <img src="resources/ycbcr-444.jpg">
47 <div id="results"></div>
48 </body>
49 </html>
OLDNEW
« no previous file with comments | « LayoutTests/SmokeTests ('k') | LayoutTests/fast/images/resources/ycbcr-420.jpg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698