)]}'
{
  "commit": "84877ce80853dba082fc90ecd16380a7428cbae4",
  "tree": "e27d6c52eb7b808f33b39ece29beb344081afc7b",
  "parents": [
    "6c19fd1b11c376573b0d5e0e45a02d33ac9bec35"
  ],
  "author": {
    "name": "Ihor Buhaiov",
    "email": "freedbrt@gmail.com",
    "time": "Sat Oct 17 16:42:25 2026 +0200"
  },
  "committer": {
    "name": "Marco Paniconi",
    "email": "marpan@google.com",
    "time": "Thu Nov 12 14:21:02 2026 -0800"
  },
  "message": "Grow reference borders when the border grows\n\nThe frame border comes from av1_get_enc_border_size() and is\nrecomputed for every frame in av1_set_frame_size(). It is 288 pixels\nwhen the encoder may resize and the superblock size plus 32 otherwise.\nFrames coded before resizing was turned on keep the small border.\nav1_scale_references() only gives a reference the new border when it\nhas to scale it, so a reference with the same size as the new frame\nkeeps the old one.\n\nThe screen motion search in variance based partitioning reads up to\nborder_in_pixels around the reference, so it reads past the end of\nsuch a buffer. Setting AOME_SET_SCALEMODE to ONETWO before the first\nframe and again before the second one does it. So does turning on\nrc_resize_mode through aom_codec_enc_config_set() in the middle of a\nstream. ASan reports the read in the Neon, AVX2, SSE2 and C versions\nof aom_int_pro_col().\n\nGive such references the larger border in av1_set_frame_size(), with\nthe helper av1_scale_references() already uses. This costs one copy\nper reference, and only when the border grows.\n\nThe new EncodeAPI.ScaleModeBeforeFirstFrameScreen test fails under\nASan without this change.\n\nChange-Id: I09908d8e8e35cba715aa2f36b30bb7bf200ab085\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f3ded02c2bbfef44e365768345b2ba0c25875d3b",
      "old_mode": 33188,
      "old_path": "av1/encoder/encoder.c",
      "new_id": "fa9f81fca30da7429f97910360acf2e8f8a512c5",
      "new_mode": 33188,
      "new_path": "av1/encoder/encoder.c"
    },
    {
      "type": "modify",
      "old_id": "1a2e43c06df5a3c521a1d0e10a757427787cac4b",
      "old_mode": 33188,
      "old_path": "test/encode_api_test.cc",
      "new_id": "7a9e280b870bb88248bf973fa7ae533f63347be6",
      "new_mode": 33188,
      "new_path": "test/encode_api_test.cc"
    }
  ]
}
