diff options
author | Hal Canary <halcanary@google.com> | 2017-12-08 10:21:31 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-08 17:16:00 +0000 |
commit | c465d13e6fca5e171bde45d35b2dd43117f4702e (patch) | |
tree | 588b2b31ffba95ed8eecb5327cb4335f35c8c1bd /tests/YUVTest.cpp | |
parent | 4bcef3c40ad8d3a16bbca4ab74fa15256fb4b125 (diff) |
resources: orgainize directory.
Should make it easier to ask just for images.
Change-Id: If821743dc924c4bfbc6b2b2d29b14affde7b3afd
Reviewed-on: https://skia-review.googlesource.com/82684
Commit-Queue: Hal Canary <halcanary@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'tests/YUVTest.cpp')
-rw-r--r-- | tests/YUVTest.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/YUVTest.cpp b/tests/YUVTest.cpp index 825e2d1628..3862952742 100644 --- a/tests/YUVTest.cpp +++ b/tests/YUVTest.cpp @@ -81,46 +81,46 @@ DEF_TEST(Jpeg_YUV_Codec, r) { sizes[0].set(128, 128); sizes[1].set(64, 64); sizes[2].set(64, 64); - codec_yuv(r, "color_wheel.jpg", sizes); + codec_yuv(r, "images/color_wheel.jpg", sizes); // H2V2 sizes[0].set(512, 512); sizes[1].set(256, 256); sizes[2].set(256, 256); - codec_yuv(r, "mandrill_512_q075.jpg", sizes); + codec_yuv(r, "images/mandrill_512_q075.jpg", sizes); // H1V1 sizes[1].set(512, 512); sizes[2].set(512, 512); - codec_yuv(r, "mandrill_h1v1.jpg", sizes); + codec_yuv(r, "images/mandrill_h1v1.jpg", sizes); // H2V1 sizes[1].set(256, 512); sizes[2].set(256, 512); - codec_yuv(r, "mandrill_h2v1.jpg", sizes); + codec_yuv(r, "images/mandrill_h2v1.jpg", sizes); // Non-power of two dimensions sizes[0].set(439, 154); sizes[1].set(220, 77); sizes[2].set(220, 77); - codec_yuv(r, "cropped_mandrill.jpg", sizes); + codec_yuv(r, "images/cropped_mandrill.jpg", sizes); sizes[0].set(8, 8); sizes[1].set(4, 4); sizes[2].set(4, 4); - codec_yuv(r, "randPixels.jpg", sizes); + codec_yuv(r, "images/randPixels.jpg", sizes); // Progressive images sizes[0].set(512, 512); sizes[1].set(512, 512); sizes[2].set(512, 512); - codec_yuv(r, "brickwork-texture.jpg", sizes); - codec_yuv(r, "brickwork_normal-map.jpg", sizes); + codec_yuv(r, "images/brickwork-texture.jpg", sizes); + codec_yuv(r, "images/brickwork_normal-map.jpg", sizes); // A CMYK encoded image should fail. - codec_yuv(r, "CMYK.jpg", nullptr); + codec_yuv(r, "images/CMYK.jpg", nullptr); // A grayscale encoded image should fail. - codec_yuv(r, "grayscale.jpg", nullptr); + codec_yuv(r, "images/grayscale.jpg", nullptr); // A PNG should fail. - codec_yuv(r, "arrow.png", nullptr); + codec_yuv(r, "images/arrow.png", nullptr); } |