)]}'
{
  "commit": "b49fbc9cfd3e71cf0838fd97b5b6748f16e01de0",
  "tree": "dbafb76fb9caab5b2e049de3700a308df083fd9f",
  "parents": [
    "70fabb41f223d3c2a3f2b06eee33e9a84c675479"
  ],
  "author": {
    "name": "Maryla Ustarroz-Calonge",
    "email": "maryla@google.com",
    "time": "Fri Mar 20 15:40:15 2026 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Mar 20 15:40:15 2026 +0100"
  },
  "message": "Fix setting of cicp values in avifgainmaputil combine and convert. (#3110)\n\nCICP must be set *before* calling ReadImage() so that the RGB-\u003eYUV\nconversion uses the right matrix coefficient for PNG/JPEG files.\nAlso explicitly set the default matrix coefficients when not specified.\n\nFor Avif files, we overwrite the CICP after reading the file in ReadImage()\n(keeps the previous behavior).\n\nFix --cicp-input flag not being used in tonemap command.\n\nFix memory leak when in \u0027combine\u0027 command when using with a file that already has a gain map.\nFix memory leak in \u0027tonemap\u0027 and \u0027swapbase\u0027 command with RGB pixels.\n\nFixes #3102 and #2869",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ac49f965565acc8cfaadab02f1a6b91f839fb499",
      "old_mode": 33188,
      "old_path": "CHANGELOG.md",
      "new_id": "658ee9533711b1b30ed53ecd24e9d653b814df2c",
      "new_mode": 33188,
      "new_path": "CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "d32d036fb7834b730f50c232b85d969d6ebb848f",
      "old_mode": 33188,
      "old_path": "apps/avifgainmaputil/combine_command.cc",
      "new_id": "654316d3e945f11c1d679925d921b6a604a13423",
      "new_mode": 33188,
      "new_path": "apps/avifgainmaputil/combine_command.cc"
    },
    {
      "type": "modify",
      "old_id": "58a769064e3a305f32711601ab981f00917902b3",
      "old_mode": 33188,
      "old_path": "apps/avifgainmaputil/convert_command.cc",
      "new_id": "06bb949d9cc9ab5ddc1e39514e355309d0b158ed",
      "new_mode": 33188,
      "new_path": "apps/avifgainmaputil/convert_command.cc"
    },
    {
      "type": "modify",
      "old_id": "9a7e4e880e07269b0d97fd6272d6387c8d833765",
      "old_mode": 33188,
      "old_path": "apps/avifgainmaputil/imageio.cc",
      "new_id": "1686f55330012c3e64f1b4848783dfe38bf6276d",
      "new_mode": 33188,
      "new_path": "apps/avifgainmaputil/imageio.cc"
    },
    {
      "type": "modify",
      "old_id": "441e5d70860a7872d61359c6294653677f14cf92",
      "old_mode": 33188,
      "old_path": "apps/avifgainmaputil/imageio.h",
      "new_id": "c3d494bb227f01c4aa86db545593e4593666e6d2",
      "new_mode": 33188,
      "new_path": "apps/avifgainmaputil/imageio.h"
    },
    {
      "type": "modify",
      "old_id": "e1d1e3b7194006e5c4d11e4d8ea16c87617ccdca",
      "old_mode": 33188,
      "old_path": "apps/avifgainmaputil/swapbase_command.cc",
      "new_id": "e6e44ec3723c52031def27416088bc36843bb1c4",
      "new_mode": 33188,
      "new_path": "apps/avifgainmaputil/swapbase_command.cc"
    },
    {
      "type": "modify",
      "old_id": "c5e5520d9d2266fb2d0ba766e840fa481140f211",
      "old_mode": 33188,
      "old_path": "apps/avifgainmaputil/tonemap_command.cc",
      "new_id": "1f2da42901a4fe99b9f7cb07e49380ed97576464",
      "new_mode": 33188,
      "new_path": "apps/avifgainmaputil/tonemap_command.cc"
    },
    {
      "type": "modify",
      "old_id": "dee211991867fcf5544763eaf4d35e26e0505552",
      "old_mode": 33188,
      "old_path": "tests/CMakeLists.txt",
      "new_id": "bb1199b7c838eb6902d93cbfa3f71d9342ccbc69",
      "new_mode": 33188,
      "new_path": "tests/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "25fc03ce4dbfe8975348da73fd0c362e9aea36fa",
      "old_mode": 33188,
      "old_path": "tests/data/README.md",
      "new_id": "1ad798b73d5c6b4ff251feb326c4176c2f5e9b0d",
      "new_mode": 33188,
      "new_path": "tests/data/README.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a020ba61ffe46b352d42bd27ce8ef5fdc579c676",
      "new_mode": 33188,
      "new_path": "tests/data/seine_sdr_gainmap_srgb_icc.avif"
    },
    {
      "type": "modify",
      "old_id": "d339aacab3a18bcc8f8e09799c6d424e90761d16",
      "old_mode": 33261,
      "old_path": "tests/test_cmd_avifgainmaputil.sh",
      "new_id": "9a30acbc1a8f485f2fbc5565e212e8fc4aa871ea",
      "new_mode": 33261,
      "new_path": "tests/test_cmd_avifgainmaputil.sh"
    }
  ]
}
