Add test/data/hippopotamus.* images

This commit is contained in:
Nigel Tao committed 2018-05-28 10:47:33 +10:00
1 parent 3df370e82c
commit b926cd1d02
9 files changed
+27 -10

No files matched your search

+22 -10
View File
@@ -878,11 +878,16 @@ bool do_bench_gif_decode(const char* (*decode_func)(wuffs_base__io_buffer*,
return true;
}
void bench_wuffs_gif_decode_1k() {
void bench_wuffs_gif_decode_1k_bw() {
CHECK_FOCUS(__func__);
do_bench_gif_decode(wuffs_gif_decode, "../../data/pjw-thumbnail.gif", 2000);
}
void bench_wuffs_gif_decode_1k_color() {
CHECK_FOCUS(__func__);
do_bench_gif_decode(wuffs_gif_decode, "../../data/hippopotamus.gif", 1000);
}
void bench_wuffs_gif_decode_10k() {
CHECK_FOCUS(__func__);
do_bench_gif_decode(wuffs_gif_decode, "../../data/hat.gif", 100);
@@ -902,11 +907,16 @@ void bench_wuffs_gif_decode_1000k() {
#ifdef WUFFS_MIMIC
void bench_mimic_gif_decode_1k() {
void bench_mimic_gif_decode_1k_bw() {
CHECK_FOCUS(__func__);
do_bench_gif_decode(mimic_gif_decode, "../../data/pjw-thumbnail.gif", 2000);
}
void bench_mimic_gif_decode_1k_color() {
CHECK_FOCUS(__func__);
do_bench_gif_decode(mimic_gif_decode, "../../data/hippopotamus.gif", 1000);
}
void bench_mimic_gif_decode_10k() {
CHECK_FOCUS(__func__);
do_bench_gif_decode(mimic_gif_decode, "../../data/hat.gif", 100);
@@ -980,17 +990,19 @@ proc benches[] = {
bench_wuffs_lzw_decode_20k, //
bench_wuffs_lzw_decode_100k, //
bench_wuffs_gif_decode_1k, //
bench_wuffs_gif_decode_10k, //
bench_wuffs_gif_decode_100k, //
bench_wuffs_gif_decode_1000k, //
bench_wuffs_gif_decode_1k_bw, //
bench_wuffs_gif_decode_1k_color, //
bench_wuffs_gif_decode_10k, //
bench_wuffs_gif_decode_100k, //
bench_wuffs_gif_decode_1000k, //
#ifdef WUFFS_MIMIC
bench_mimic_gif_decode_1k, //
bench_mimic_gif_decode_10k, //
bench_mimic_gif_decode_100k, //
bench_mimic_gif_decode_1000k, //
bench_mimic_gif_decode_1k_bw, //
bench_mimic_gif_decode_1k_color, //
bench_mimic_gif_decode_10k, //
bench_mimic_gif_decode_100k, //
bench_mimic_gif_decode_1000k, //
#endif // WUFFS_MIMIC
+5
View File
@@ -46,6 +46,11 @@ Comfort Tiffany, held by the Metropolitan Museum of Art.
`http://www.metmuseum.org/art/collection/search/13503` lists that image as in
the public domain.
hippopotamus.\* are various encodings of a cropping of a photo of "Hippopotamus
(William)", held by the Metropolitan Museum of Art.
`http://www.metmuseum.org/art/collection/search/544227` lists that image as in
the public domain.
`http://www.metmuseum.org/about-the-met/policies-and-documents/image-resources`
says that "You are welcome to use images of artworks in The Met collection that
the Museum believes to be in the public domain, or those to which the Museum
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.