Chromium Code Reviews| Index: LayoutTests/fast/images/jpeg-ycbcr-image-decoding.html |
| diff --git a/LayoutTests/fast/images/jpeg-ycbcr-image-decoding.html b/LayoutTests/fast/images/jpeg-ycbcr-image-decoding.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c36bb82f638bb08729b89633269c32c346710e84 |
| --- /dev/null |
| +++ b/LayoutTests/fast/images/jpeg-ycbcr-image-decoding.html |
| @@ -0,0 +1,49 @@ |
| +<html> |
|
Noel Gordon
2014/09/12 02:52:29
I think a <meta> tag is needed here to enable YUV
|
| +<body> |
| +<script> |
| +if (window.testRunner) |
| + testRunner.dumpAsText(); |
| + |
| +window.onload = function() { |
| + document.getElementById('results').innerHTML = |
| + document.getElementsByTagName('img')[0].width + 'x' + |
| + document.getElementsByTagName('img')[0].height + ' ' + |
| + document.getElementsByTagName('img')[1].width + 'x' + |
| + document.getElementsByTagName('img')[1].height + ' ' + |
| + document.getElementsByTagName('img')[2].width + 'x' + |
| + document.getElementsByTagName('img')[2].height + ' ' + |
| + document.getElementsByTagName('img')[3].width + 'x' + |
| + document.getElementsByTagName('img')[3].height + ' ' + |
| + document.getElementsByTagName('img')[4].width + 'x' + |
| + document.getElementsByTagName('img')[4].height + ' ' + |
| + document.getElementsByTagName('img')[5].width + 'x' + |
| + document.getElementsByTagName('img')[5].height + ' ' + |
| + document.getElementsByTagName('img')[6].width + 'x' + |
| + document.getElementsByTagName('img')[6].height + ' ' + |
| + document.getElementsByTagName('img')[7].width + 'x' + |
| + document.getElementsByTagName('img')[7].height + ' ' + |
| + document.getElementsByTagName('img')[8].width + 'x' + |
| + document.getElementsByTagName('img')[8].height + ' ' + |
| + document.getElementsByTagName('img')[9].width + 'x' + |
| + document.getElementsByTagName('img')[9].height + ' ' + |
| + document.getElementsByTagName('img')[10].width + 'x' + |
| + document.getElementsByTagName('img')[10].height + ' ' + |
| + document.getElementsByTagName('img')[11].width + 'x' + |
| + document.getElementsByTagName('img')[11].height; |
| +} |
| +</script> |
| +<img src="resources/ycbcr-420-fast_int-progressive.jpg"> |
| +<img src="resources/ycbcr-420-float-progressive.jpg"> |
| +<img src="resources/ycbcr-420-float.jpg"> |
| +<img src="resources/ycbcr-420-progressive-smooth.jpg"> |
| +<img src="resources/ycbcr-420-progressive.jpg"> |
| +<img src="resources/ycbcr-420.jpg"> |
| +<img src="resources/ycbcr-422-float.jpg"> |
| +<img src="resources/ycbcr-422.jpg"> |
| +<img src="resources/ycbcr-440-float.jpg"> |
| +<img src="resources/ycbcr-440.jpg"> |
| +<img src="resources/ycbcr-444-float.jpg"> |
| +<img src="resources/ycbcr-444.jpg"> |
| +<div id="results"></div> |
| +</body> |
| +</html> |