)]}'
{
  "commit": "43f561e19a9170e9b58f88da2ae8f6a43acda818",
  "tree": "84e6a609d8f509c87c6ca90a1a5c5b6d1ac1750c",
  "parents": [
    "560a39293ab1bf8ac8270736a695c8c998dee339"
  ],
  "author": {
    "name": "Elliott Karpilovsky",
    "email": "elliottk@google.com",
    "time": "Thu Apr 30 19:19:27 2020 -0700"
  },
  "committer": {
    "name": "Jerome Jiang",
    "email": "jianj@google.com",
    "time": "Wed May 06 22:01:10 2020 +0000"
  },
  "message": "Remove surprises from aom_codec_control\n\nThe aom_codec_control API has surprising behavior:\n\n----\naom_codec_control(\u0026ctx, AOME_SET_CPUUSED, 8);  // Fine\n\nint ctrl_id \u003d AOME_SET_CPUUSED;\naom_codec_control(\u0026ctx, ctrl_id, 8);  // Compiler error\n----\n\naom_codec_control is a macro that expands to\naom_codec_control_##ctrl_id for each control type.\nWhen users encounter the above problem, they must either\ncall aom_codec_control_ (which is the underlying function\nwithout type-checking) or define AOM_DISABLE_CTRL_TYPECHECKS.\nDue to this behavior, both versions are used in the codebase.\n\nThis patch:\n\n1. Renames aom_codec_control_ to aom_codec_control\n2. Creates the macro AOM_CODEC_CONTROL_TYPECHECKED to perform\n   the same type-checking as before, with a simpler implementation\n\nNote that the macro-define AOM_DISABLE_CTRL_TYPECHECKS is no longer\nchecked; when upgrading to libaom 2.0.0, it is advised to remove\nreferences to this macro-define.\n\nBUG\u003daomedia:2651\n\nChange-Id: Ic2ec82ccc7a5b68f9a3fe6185f8fc297b4fcafd7\n(cherry picked from commit 60dd0f988ec989c998a418dc8b9511c267248c0c)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6a5eee5b1619d73a1787d910f8cbd21ec1146b42",
      "old_mode": 33188,
      "old_path": "aom/aom.h",
      "new_id": "c591dc9a4388c10d68b31f10456636d252dd40ab",
      "new_mode": 33188,
      "new_path": "aom/aom.h"
    },
    {
      "type": "modify",
      "old_id": "9ac56198f33e2b371c83997f185ef9d76f249ebe",
      "old_mode": 33188,
      "old_path": "aom/aom_codec.h",
      "new_id": "75f6a1af22cea2cd05547e131f01d8df3a57404c",
      "new_mode": 33188,
      "new_path": "aom/aom_codec.h"
    },
    {
      "type": "modify",
      "old_id": "7515ef98e4a79af6d258dc21a98efe3f2de4d281",
      "old_mode": 33188,
      "old_path": "aom/aomcx.h",
      "new_id": "051d33e7bf3c71123f02846c626568a477a88355",
      "new_mode": 33188,
      "new_path": "aom/aomcx.h"
    },
    {
      "type": "modify",
      "old_id": "1f0414b592dca2048378cb38bd8ced072d7381a6",
      "old_mode": 33188,
      "old_path": "aom/aomdx.h",
      "new_id": "8cd5de39593ca027e4b40ffc94ad599ea79addf8",
      "new_mode": 33188,
      "new_path": "aom/aomdx.h"
    },
    {
      "type": "modify",
      "old_id": "68dbfe0d6644845686836664a174c9e449625d2c",
      "old_mode": 33188,
      "old_path": "aom/exports_com",
      "new_id": "6f796f5db0d23868eedfbd9baac918f634afd00d",
      "new_mode": 33188,
      "new_path": "aom/exports_com"
    },
    {
      "type": "modify",
      "old_id": "c3afa100910f2523b5be68fd59287c757ac69ae0",
      "old_mode": 33188,
      "old_path": "aom/internal/aom_codec_internal.h",
      "new_id": "efe09acc9133ab673189ba62a817e40bfed72a52",
      "new_mode": 33188,
      "new_path": "aom/internal/aom_codec_internal.h"
    },
    {
      "type": "modify",
      "old_id": "733bffb25dbb18c175c2ec4c7a792d1b87e463d8",
      "old_mode": 33188,
      "old_path": "aom/src/aom_codec.c",
      "new_id": "196ab8354d5d3d1b87e84ea93e89d6bb6227865c",
      "new_mode": 33188,
      "new_path": "aom/src/aom_codec.c"
    },
    {
      "type": "modify",
      "old_id": "86b0e0002dfb513b005e4911a59ed31dadd1e2c2",
      "old_mode": 33188,
      "old_path": "apps/aomdec.c",
      "new_id": "2591d41a6cf5c3f69cb305a1d3b983136e3c4537",
      "new_mode": 33188,
      "new_path": "apps/aomdec.c"
    },
    {
      "type": "modify",
      "old_id": "4e1568365325b049c3004963081ca8340b1eecc9",
      "old_mode": 33188,
      "old_path": "apps/aomenc.c",
      "new_id": "bb57726b4d73a5ad99a8c6341e725ad92ce0e77e",
      "new_mode": 33188,
      "new_path": "apps/aomenc.c"
    },
    {
      "type": "modify",
      "old_id": "afacf44043795d36cf0f5abc81bbae07617fb3cf",
      "old_mode": 33188,
      "old_path": "examples/lightfield_bitstream_parsing.c",
      "new_id": "ffcbcb9cb9b0cb54a427cf652d63e760e3076a25",
      "new_mode": 33188,
      "new_path": "examples/lightfield_bitstream_parsing.c"
    },
    {
      "type": "modify",
      "old_id": "c26af4dc70436d96b2e6c37697356bffdb374464",
      "old_mode": 33188,
      "old_path": "examples/lightfield_decoder.c",
      "new_id": "a292e9c75e00579e5e63f763657846dd316310ed",
      "new_mode": 33188,
      "new_path": "examples/lightfield_decoder.c"
    },
    {
      "type": "modify",
      "old_id": "a5b8f7311079545adee9a93d15f8dc9c3c054f24",
      "old_mode": 33188,
      "old_path": "examples/lightfield_tile_list_decoder.c",
      "new_id": "3b928df2c3029b831bab0ceb53bcae8427161cb0",
      "new_mode": 33188,
      "new_path": "examples/lightfield_tile_list_decoder.c"
    },
    {
      "type": "modify",
      "old_id": "438ff21c61dfa75433570885110f21112fb345b0",
      "old_mode": 33188,
      "old_path": "examples/lossless_encoder.c",
      "new_id": "e0253d2b34eda6530bf4315e4f88291ef2910b47",
      "new_mode": 33188,
      "new_path": "examples/lossless_encoder.c"
    },
    {
      "type": "modify",
      "old_id": "d13e13ea1fad46a9134ae2a34323223b25977753",
      "old_mode": 33188,
      "old_path": "test/decode_test_driver.h",
      "new_id": "64722f43a7f5835fd64655400062f67cfdf0dc54",
      "new_mode": 33188,
      "new_path": "test/decode_test_driver.h"
    },
    {
      "type": "modify",
      "old_id": "cce8653d006b8de8e4032fb7efb254b9489ea554",
      "old_mode": 33188,
      "old_path": "test/encode_test_driver.h",
      "new_id": "6319a522020d2d663ae74fa25ed3176d3d01193a",
      "new_mode": 33188,
      "new_path": "test/encode_test_driver.h"
    },
    {
      "type": "modify",
      "old_id": "73e52e33539db5c54dffd55898300b60c9406e3d",
      "old_mode": 33188,
      "old_path": "test/level_test.cc",
      "new_id": "a9613c5f76c25a980946aaff3c9370522db9fe28",
      "new_mode": 33188,
      "new_path": "test/level_test.cc"
    }
  ]
}
