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

Unified 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: Adding expected file 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/images/jpeg-ycbcr-image-decoding-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..dbf9b74b6cad7a15549792207340c9a04240f6b9
--- /dev/null
+++ b/LayoutTests/fast/images/jpeg-ycbcr-image-decoding.html
@@ -0,0 +1,52 @@
+<html>
+<head>
+<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
+</head>
+<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>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/images/jpeg-ycbcr-image-decoding-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698