)]}'
{
  "commit": "b10eed72ebc006292fa26d5f132bf03ef66e7a04",
  "tree": "eab4d413b052809d2fb786d7474cdbb5d8a765ef",
  "parents": [
    "494ba40f1cf5dfc0a945b941f2b31006a4b494ad"
  ],
  "author": {
    "name": "Cheng Chen",
    "email": "chengchen@google.com",
    "time": "Thu Oct 01 15:32:24 2026 -0700"
  },
  "committer": {
    "name": "Cheng Chen",
    "email": "chengchen@google.com",
    "time": "Mon Oct 05 13:09:03 2026 -0700"
  },
  "message": "Don\u0027t allow global motion to be enabled after the first frame\n\nGlobal motion search needs an image pyramid in every source and\nreference frame buffer, but pyramids are only allocated while global\nmotion is enabled, and existing buffers are not reallocated when the\nsetting changes. So enabling global motion after the first frame,\neither with AV1E_SET_ENABLE_GLOBAL_MOTION or implicitly by changing\nlarge_scale_tile from 1 to 0 with aom_codec_enc_config_set(), caused\nan assertion failure in av1_encode_frame() in debug builds:\n\n  Assertion `buf-\u003ebuf.y_pyramid\u0027 failed.\n\n\nand a NULL pointer dereference in aom_compute_pyramid() in release\nbuilds.\n\nOnce the first frame has been received (i.e., the lookahead has been\ncreated), ignore requests to enable global motion. Global motion can\nstill be disabled. Check the primary compressor\u0027s state so that all\ncompressors sharing the lookahead and frame buffers agree, including\nany created after the first frame (e.g., by AV1E_SET_FP_MT).\n\nAdd tests to test/encode_api_test.cc.\n\nBug:565488030\n\nChange-Id: Id3255978dcf17a5c98f08a28da0e7e7692915b4d\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8b2d854a723cea8d53361fb787ad423ab04c66d1",
      "old_mode": 33188,
      "old_path": "aom/aomcx.h",
      "new_id": "23d10a26f5e567b98f6695eca18803865c3105ad",
      "new_mode": 33188,
      "new_path": "aom/aomcx.h"
    },
    {
      "type": "modify",
      "old_id": "add8abaab4ac8c1ae39b3a08f09d999a7c6ccb94",
      "old_mode": 33188,
      "old_path": "av1/encoder/encoder.c",
      "new_id": "cd38437aa2bde99caa048593caa018410f0214ac",
      "new_mode": 33188,
      "new_path": "av1/encoder/encoder.c"
    },
    {
      "type": "modify",
      "old_id": "ea2e88b13113cc30f43ceba807339b21cf24b290",
      "old_mode": 33188,
      "old_path": "test/encode_api_test.cc",
      "new_id": "eb1ce6f9141c3c25f9abc68b07ca5c1fb5205c0b",
      "new_mode": 33188,
      "new_path": "test/encode_api_test.cc"
    }
  ]
}
