@@ -500,8 +500,9 @@ exiftool "-icc_profile<=p3.icc" paris_exif_xmp_icc_gainmap_bigendian.jpg
500500
501501License: [ same as libavif] ( https://github.com/AOMediaCodec/libavif/blob/main/LICENSE )
502502
503- Source: generated with a modified libavif at https://github.com/maryla-uc/libavif/tree/weirdgainmaps
504- by running ` ./tests/avifgainmaptest --gtest_filter=GainMapTest.CreateGainMapImages ../tests/data/ `
503+ Source: generated by ` avifgainmaptest.cc ` . To update, set ` kUpdateTestImages ` to true
504+ in ` avifgainmaptest.cc ` and run the test:
505+ ` ./tests/avifgainmaptest --gtest_filter=GainMapTest.CreateTestImages ../tests/data/ `
505506
506507Contains a 4x3 color grid, a 4x3 alpha grid, and a 2x2 gain map grid.
507508
@@ -511,8 +512,9 @@ Contains a 4x3 color grid, a 4x3 alpha grid, and a 2x2 gain map grid.
511512
512513License: [ same as libavif] ( https://github.com/AOMediaCodec/libavif/blob/main/LICENSE )
513514
514- Source: generated with a modified libavif at https://github.com/maryla-uc/libavif/tree/weirdgainmaps
515- by running ` ./tests/avifgainmaptest --gtest_filter=GainMapTest.CreateGainMapImages ../tests/data/ `
515+ Source: generated by ` avifgainmaptest.cc ` . To update, set ` kUpdateTestImages ` to true
516+ in ` avifgainmaptest.cc ` and run the test:
517+ ` ./tests/avifgainmaptest --gtest_filter=GainMapTest.CreateTestImages ../tests/data/ `
516518
517519Contains a single color image, single alpha image, and a 2x2 gain map grid.
518520
@@ -522,8 +524,9 @@ Contains a single color image, single alpha image, and a 2x2 gain map grid.
522524
523525License: [ same as libavif] ( https://github.com/AOMediaCodec/libavif/blob/main/LICENSE )
524526
525- Source: generated with a modified libavif at https://github.com/maryla-uc/libavif/tree/weirdgainmaps
526- by running ` ./tests/avifgainmaptest --gtest_filter=GainMapTest.CreateGainMapImages ../tests/data/ `
527+ Source: generated by ` avifgainmaptest.cc ` . To update, set ` kUpdateTestImages ` to true
528+ in ` avifgainmaptest.cc ` and run the test:
529+ ` ./tests/avifgainmaptest --gtest_filter=GainMapTest.CreateTestImages ../tests/data/ `
527530
528531Contains a 4x3 color grid, a 4x3 alpha grid, and a single gain map image.
529532
@@ -533,8 +536,9 @@ Contains a 4x3 color grid, a 4x3 alpha grid, and a single gain map image.
533536
534537License: [ same as libavif] ( https://github.com/AOMediaCodec/libavif/blob/main/LICENSE )
535538
536- Source: generated with a modified libavif at https://github.com/maryla-uc/libavif/tree/weirdgainmaps
537- by running ` ./tests/avifgainmaptest --gtest_filter=GainMapTest.CreateGainMapImages ../tests/data/ `
539+ Source: generated by ` avifgainmaptest.cc ` . To update, set ` kUpdateTestImages ` to true
540+ in ` avifgainmaptest.cc ` and run the test:
541+ ` ./tests/avifgainmaptest --gtest_filter=GainMapTest.CreateTestImages ../tests/data/ `
538542
539543Contains a gain map with the ` version ` field set to 99 in the tmap box.
540544` minimum_version ` and ` writer_version ` are 0.
@@ -545,8 +549,9 @@ Contains a gain map with the `version` field set to 99 in the tmap box.
545549
546550License: [ same as libavif] ( https://github.com/AOMediaCodec/libavif/blob/main/LICENSE )
547551
548- Source: generated with a modified libavif at https://github.com/maryla-uc/libavif/tree/weirdgainmaps
549- by running ` ./tests/avifgainmaptest --gtest_filter=GainMapTest.CreateGainMapImages ../tests/data/ `
552+ Source: generated by ` avifgainmaptest.cc ` . To update, set ` kUpdateTestImages ` to true
553+ in ` avifgainmaptest.cc ` and run the test:
554+ ` ./tests/avifgainmaptest --gtest_filter=GainMapTest.CreateTestImages ../tests/data/ `
550555
551556Contains a gain map with the ` minimum_version ` field set to 99 in the tmap box.
552557` version ` and ` writer_version ` are 0.
@@ -557,8 +562,9 @@ Contains a gain map with the `minimum_version` field set to 99 in the tmap box.
557562
558563License: [ same as libavif] ( https://github.com/AOMediaCodec/libavif/blob/main/LICENSE )
559564
560- Source: generated with a modified libavif at https://github.com/maryla-uc/libavif/tree/weirdgainmaps
561- by running ` ./tests/avifgainmaptest --gtest_filter=GainMapTest.CreateGainMapImages ../tests/data/ `
565+ Source: generated by ` avifgainmaptest.cc ` . To update, set ` kUpdateTestImages ` to true
566+ in ` avifgainmaptest.cc ` and run the test:
567+ ` ./tests/avifgainmaptest --gtest_filter=GainMapTest.CreateTestImages ../tests/data/ `
562568
563569Contains a gain map with the ` writer_version ` field set to 99 in the tmap box,
564570and some extra unexpected bytes at the end of the gain map metadata.
@@ -570,8 +576,9 @@ and some extra unexpected bytes at the end of the gain map metadata.
570576
571577License: [ same as libavif] ( https://github.com/AOMediaCodec/libavif/blob/main/LICENSE )
572578
573- Source: generated with a modified libavif at https://github.com/maryla-uc/libavif/tree/weirdgainmaps
574- by running ` ./tests/avifgainmaptest --gtest_filter=GainMapTest.CreateGainMapImages ../tests/data/ `
579+ Source: generated by ` avifgainmaptest.cc ` . To update, set ` kUpdateTestImages ` to true
580+ in ` avifgainmaptest.cc ` and run the test:
581+ ` ./tests/avifgainmaptest --gtest_filter=GainMapTest.CreateTestImages ../tests/data/ `
575582
576583Contains a gain map with some extra unexpected bytes at the end of the gain map metadata.
577584Contains ` version ` , ` minimum_version ` and ` writer_version ` are 0.
@@ -631,7 +638,8 @@ SDR image with a gain map to allow tone mapping to HDR.
631638![ ] ( seine_sdr_gainmap_big_srgb.avif )
632639
633640Source : modified version of ` seine_sdr_gainmap_srgb.avif ` with an upscaled gain map, generated using libavif's API.
634- See ` CreateTestImages ` in ` avifgainmaptest.cc ` (set kUpdateTestImages to update images).
641+ To update, set ` kUpdateTestImages ` to true in ` avifgainmaptest.cc ` and run the test:
642+ ` ./tests/avifgainmaptest --gtest_filter=GainMapTest.CreateTestImages ../tests/data/ `
635643
636644SDR image with a gain map to allow tone mapping to HDR. The gain map's width and height are doubled compared to the base image.
637645This is an atypical image just for testing. Typically, the gain map would be either the same size or smaller as the base image.
@@ -643,7 +651,8 @@ This is an atypical image just for testing. Typically, the gain map would be eit
643651License: [ same as libavif] ( https://github.com/AOMediaCodec/libavif/blob/main/LICENSE )
644652
645653Source : created from ` seine_hdr_srgb.avif ` (for the base image) and ` seine_sdr_gainmap_srgb.avif ` (for the gain map) with libavif's API.
646- See ` CreateTestImages ` in ` avifgainmaptest.cc ` (set kUpdateTestImages to update images).
654+ To update, set ` kUpdateTestImages ` to true in ` avifgainmaptest.cc ` and run the test:
655+ ` ./tests/avifgainmaptest --gtest_filter=GainMapTest.CreateTestImages ../tests/data/ `
647656
648657HDR image with a gain map to allow tone mapping to SDR.
649658
@@ -654,7 +663,8 @@ HDR image with a gain map to allow tone mapping to SDR.
654663License: [ same as libavif] ( https://github.com/AOMediaCodec/libavif/blob/main/LICENSE )
655664
656665Source : modified version of ` seine_hdr_gainmap_srgb.avif ` with a downscaled gain map, generated using libavif's API.
657- See ` CreateTestImages ` in ` avifgainmaptest.cc ` (set kUpdateTestImages to update images).
666+ To update, set ` kUpdateTestImages ` to true in ` avifgainmaptest.cc ` and run the test:
667+ ` ./tests/avifgainmaptest --gtest_filter=GainMapTest.CreateTestImages ../tests/data/ `
658668
659669SDR image with a gain map to allow tone mapping to HDR. The gain map's width and height are halved compared to the base image.
660670
0 commit comments