)]}'
{
  "commit": "0afe2dc801c2c06d9f0a7d6fa5e188cb4f8785aa",
  "tree": "cadf1574a62ede1df8709a1be40a6d5cc8eda331",
  "parents": [
    "7d8431daecaeca1f35404b5e19226275f6866f9f"
  ],
  "author": {
    "name": "Wan-Teh Chang",
    "email": "wtc@google.com",
    "time": "Mon Apr 22 16:52:03 2019 -0700"
  },
  "committer": {
    "name": "Wan-Teh Chang",
    "email": "wtc@google.com",
    "time": "Tue Apr 23 23:47:32 2019 +0000"
  },
  "message": "aom/aomcx.h should not test CONFIG_DENOISE.\n\nThe public header aom/aomcx.h cannot include config/aom_config.h, so it\nshould not test the CONFIG_DENOISE macro.\n\nAlso change the ctrl functions for AV1E_SET_DENOISE_NOISE_LEVEL and\nAV1E_SET_DENOISE_BLOCK_SIZE to return AOM_CODEC_INCAPABLE if\nCONFIG_DENOISE is disabled.\n\nBackground:\n\nThe current version of ffmpeg/libavcodec/libaomenc.c begins with:\n\n  #define AOM_DISABLE_CTRL_TYPECHECKS 1\n  #include \u003caom/aom_encoder.h\u003e\n  #include \u003caom/aomcx.h\u003e\n\nSince neither aom/aom_encoder.h nor aom/aomcx.h includes\nconfig/aom_config.h, the #ifdef CONFIG_DENOISE test in aom/aomcx.h\nevaluates to false and AOM_CTRL_AV1E_SET_DENOISE_NOISE_LEVEL and\nAOM_CTRL_AV1E_SET_DENOISE_BLOCK_SIZE are not defined. So the code in\nffmpeg/libavcodec/libaomenc.c that is conditioned on\nAOM_CTRL_AV1E_SET_DENOISE_NOISE_LEVEL and\nAOM_CTRL_AV1E_SET_DENOISE_BLOCK_SIZE being defined is not compiled.\n\nChange-Id: I594b02c7792521540bdbcde2eccfa009db07cc61\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2cf4ad731fe2d1df80ffbf82d940f0afd3619b9c",
      "old_mode": 33188,
      "old_path": "aom/aomcx.h",
      "new_id": "759335423e2caf854064ebcc95f40f8ba2b1fe65",
      "new_mode": 33188,
      "new_path": "aom/aomcx.h"
    },
    {
      "type": "modify",
      "old_id": "e800287a35d113e10d2bb9683d45f32b9ef64cb8",
      "old_mode": 33188,
      "old_path": "av1/av1_cx_iface.c",
      "new_id": "664575bd7e2e7a0df311f1de87d0af87b96015c2",
      "new_mode": 33188,
      "new_path": "av1/av1_cx_iface.c"
    }
  ]
}
