)]}'
{
  "commit": "e39b3b8b962fa5e563d019c2287c0c6238d9c830",
  "tree": "9425be47a03d3e7c8e3cf57d3d5c8158a48b6830",
  "parents": [
    "edc7346f0f4b5bc8dd3948f29cd0e6f15bba71c9"
  ],
  "author": {
    "name": "Yaowu Xu",
    "email": "yaowu@google.com",
    "time": "Tue Oct 31 16:11:59 2017 -0700"
  },
  "committer": {
    "name": "Yaowu Xu",
    "email": "yaowu@google.com",
    "time": "Wed Nov 01 22:45:15 2017 +0000"
  },
  "message": "Correct token allocation size for tiles\n\nWith --enable-ext-partition, it is possible to have superblock size at\nboth 64x64 and 128x128. But MAX_SB_SIZE_LOG2 is defined to be 7, i.e.\n128x128 size. In get_token_alloc(), the token count for a tile or a\nframe is always computed based on \"tokens/superblock * number of\nsuperblocks\", so it should use the actual superblock size, instead of\n128x128.\n\nThe segfault in #988 is a result when every tile is defined at one\nsingle superblock of 64x64, the token size computation for each tile\nwas assuming it is 128x128, resulting 4x overestimate of the token\ncount for every tile. This caused the pointer for many tiles to go\nbeyond the allocated token arrary, which is correctly allocated at\nframe level.\n\nBUG\u003daomedia:988\n\nChange-Id: I2da21f181446ad7117ce3269f01a43950c379028\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "00c56240df3c39aff5e8cad7db017a7bffc6e6e0",
      "old_mode": 33188,
      "old_path": "av1/encoder/encodeframe.c",
      "new_id": "36584a047ad9a0dcae4e33ac78c3d78113b08ea3",
      "new_mode": 33188,
      "new_path": "av1/encoder/encodeframe.c"
    },
    {
      "type": "modify",
      "old_id": "f8326145f8033385219032aaaaab703f2f5f17b3",
      "old_mode": 33188,
      "old_path": "av1/encoder/encoder.c",
      "new_id": "62e7950d197215be5455d79340d22324f7d27131",
      "new_mode": 33188,
      "new_path": "av1/encoder/encoder.c"
    },
    {
      "type": "modify",
      "old_id": "9328f0d3097a0557478434ca67a7d5d46587c702",
      "old_mode": 33188,
      "old_path": "av1/encoder/encoder.h",
      "new_id": "ff978a2ceeb0a3a556e7c61aec976a6d36696973",
      "new_mode": 33188,
      "new_path": "av1/encoder/encoder.h"
    }
  ]
}
