)]}'
{
  "commit": "f469a9e23ebec4168a645c29a5845ebee9e04e64",
  "tree": "1f305b93428de75584cf4008080b41fcef58844a",
  "parents": [
    "e025e24ca102d04f8b0329929aa302d2d4c5ce07"
  ],
  "author": {
    "name": "Ihor Buhaiov",
    "email": "freedbrt@gmail.com",
    "time": "Thu Oct 15 20:06:18 2026 +0200"
  },
  "committer": {
    "name": "Marco Paniconi",
    "email": "marpan@google.com",
    "time": "Wed Nov 04 10:55:28 2026 -0800"
  },
  "message": "Add CRC kernels for the IntraBC hash passes\n\nOn every key frame with IntraBC on, av1_generate_block_hash_value()\nhashes each pixel position once per block size. It did that by calling\nav1_get_crc32c_value() through RTCD for every 16 byte input, after\ncopying the 4 input values into a stack array. The call and the copy\ncost more than the 2 CRC instructions that do the work.\n\nMove the whole pass into a new RTCD function,\nav1_combine_block_hashes(). The SSE4.2 and Arm CRC32 versions keep the\ninputs in registers and inline the CRC instructions. The C version is\nthe old loop. The hashes are the same, so the output does not change.\n\nTested on seven screen clips, 20 frames each, at speed 11 with IntraBC\non and every frame a key frame. Six are 2560x1440 or 2559x1372\nrecordings and one is a 1920x1080 CTC clip. Change in CPU time at 1\nthread and in wall time at 4 threads with 2x2 tiles, per clip, on an\nApple M3 Pro (clang) and an AMD Ryzen 9 5900X (MSVC):\n\n                      4:2:0             4:4:4\n  M3 Pro, 1 thread    -5.2% to -7.3%    -4.9% to -6.9%\n  M3 Pro, 4 threads   -2.8% to -5.2%    -3.0% to -4.8%\n  5900X, 1 thread     -6.6% to -11.4%   -7.7% to -9.3%\n  5900X, 4 threads    -4.1% to -7.5%    -3.9% to -6.8%\n\nThe streams match before and after on both machines.\n\nThe new unit test compares each version with the C one for every sub\nblock size, odd widths and flat input.\n\nBug: 576320193\nChange-Id: If0559605bf0e88f0e7458b433fc676e03875319b\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b906ba03fd69f1b07d56cd4666bf18fc2f7f21ac",
      "old_mode": 33188,
      "old_path": "av1/common/av1_rtcd_defs.pl",
      "new_id": "3981c57579a92250bff0b0ecfcfe6cd63e53d465",
      "new_mode": 33188,
      "new_path": "av1/common/av1_rtcd_defs.pl"
    },
    {
      "type": "modify",
      "old_id": "0712b80154064aa898e903ab80d05ffcca21891e",
      "old_mode": 33188,
      "old_path": "av1/encoder/arm/hash_arm_crc32.c",
      "new_id": "6b2baec2dd8b7463a2769d78306c526cd4802ffe",
      "new_mode": 33188,
      "new_path": "av1/encoder/arm/hash_arm_crc32.c"
    },
    {
      "type": "modify",
      "old_id": "bcb91478702c53fc1f4204975340214d09e7b7d1",
      "old_mode": 33188,
      "old_path": "av1/encoder/hash.c",
      "new_id": "6fae8465c76e59ae1b1e86ac6118c87e59842777",
      "new_mode": 33188,
      "new_path": "av1/encoder/hash.c"
    },
    {
      "type": "modify",
      "old_id": "74f410951f184cc33881cced50fcf49faaff625e",
      "old_mode": 33188,
      "old_path": "av1/encoder/hash_motion.c",
      "new_id": "eaf9633e8fe7c1a5ac08073e52b01def7a58b1da",
      "new_mode": 33188,
      "new_path": "av1/encoder/hash_motion.c"
    },
    {
      "type": "modify",
      "old_id": "3c618cc3c5c24f5cfbe52d7dd13299c89263f3e9",
      "old_mode": 33188,
      "old_path": "av1/encoder/x86/hash_sse42.c",
      "new_id": "53df63a567390ea380ae977eef613dcce6892715",
      "new_mode": 33188,
      "new_path": "av1/encoder/x86/hash_sse42.c"
    },
    {
      "type": "modify",
      "old_id": "adc072e1330e64a848ee54ff4dd23c97b34c2d79",
      "old_mode": 33188,
      "old_path": "test/hash_test.cc",
      "new_id": "e481203145dbfcd0ca544919651a4edc65a16e19",
      "new_mode": 33188,
      "new_path": "test/hash_test.cc"
    }
  ]
}
