Remove obsolete comments re s/gAMA/hAMA/ PNG chunk

The one-byte patch was added in commit 88616cc9 but no longer applied as
of commit 54771322.
This commit is contained in:
Nigel Tao committed 2021-09-06 23:14:29 +10:00
1 parent 9d10438914
commit c8592d2b7a
1 file changed
-8
-8
View File
@@ -564,10 +564,6 @@ test_mimic_png_decode_bad_crc32_checksum_critical() {
const char* //
bench_wuffs_png_decode_image_19k_8bpp() {
CHECK_FOCUS(__func__);
// libpng automatically applies the "gAMA" chunk (with no matching "sRGB"
// chunk) but Wuffs does not. To make the comparison more like-for-like,
// especially in emitting identical BGRA pixels, patch the source file by
// replacing the "gAMA" with the nonsense "hAMA". ASCII 'g' is 0x67.
return do_bench_image_decode(
&wuffs_png_decode, WUFFS_INITIALIZE__LEAVE_INTERNAL_BUFFERS_UNINITIALIZED,
wuffs_base__make_pixel_format(WUFFS_BASE__PIXEL_FORMAT__Y), NULL, 0,
@@ -744,10 +740,6 @@ bench_wuffs_png_decode_filt_4_dist_4() {
const char* //
bench_mimic_png_decode_image_19k_8bpp() {
CHECK_FOCUS(__func__);
// libpng automatically applies the "gAMA" chunk (with no matching "sRGB"
// chunk) but Wuffs does not. To make the comparison more like-for-like,
// especially in emitting identical BGRA pixels, patch the source file by
// replacing the "gAMA" with the nonsense "hAMA". ASCII 'g' is 0x67.
return do_bench_image_decode(
&mimic_png_decode, WUFFS_INITIALIZE__LEAVE_INTERNAL_BUFFERS_UNINITIALIZED,
wuffs_base__make_pixel_format(WUFFS_BASE__PIXEL_FORMAT__Y), NULL, 0,