)]}'
{
  "commit": "d5925756980f6e82a55f57532c8d855e954459fb",
  "tree": "78674b3405a39f733773f8d6ee238f69e6922ca8",
  "parents": [
    "33c0c342f60b4365b2c7773c73ae489d4e32149b"
  ],
  "author": {
    "name": "Erik Språng",
    "email": "sprang@webrtc.org",
    "time": "Thu Jun 11 16:24:22 2020"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Thu Jun 11 17:43:27 2020"
  },
  "message": "VP9 decoder: Sets thread count based on resolution, reinit on change.\n\nPreviously, number of decoder threads for VP9 were always set to 8 but\nwith a cap at number of cores. This was done since we \"can\u0027t know\" the\nresolution that will be used.\n\nWith this change, we now intialize the number of threads based on\nresolution given in InitDecode(). If a resolution change happens in\nflight, it requires a keyframe. We therefore parse the header from\nany key frame and if it has a new resolution, we re-initialize the\ndecoder.\n\nThe number of threads used is based on pixel count. We set one thread\nas target for 1280x720, and scale up lineraly from there. The 8-thread\ncap is gone, but still limit it core count.\n\nThis means for instance: 1 \u003c\u003d 720p, 2 for 1080p, 4 for 1440p, 9 for 4K.\n\nBug: webrtc:11551\nChange-Id: I14c169a6c651c50bd1b870c4b22bc4495c8448fd\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/174460\nCommit-Queue: Erik Språng \u003csprang@webrtc.org\u003e\nReviewed-by: Ilya Nikolaevskiy \u003cilnik@webrtc.org\u003e\nCr-Commit-Position: refs/heads/master@{#31507}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b0dc108daac31b681771ebfb92c05002095ca52a",
      "old_mode": 33188,
      "old_path": "modules/video_coding/codecs/vp9/vp9_impl.cc",
      "new_id": "8230ba3a18983ee09b7e110d491267d1b12a7c91",
      "new_mode": 33188,
      "new_path": "modules/video_coding/codecs/vp9/vp9_impl.cc"
    },
    {
      "type": "modify",
      "old_id": "2126044dcca9994b97736d6cd689a8418a991bd0",
      "old_mode": 33188,
      "old_path": "modules/video_coding/codecs/vp9/vp9_impl.h",
      "new_id": "066ce20a6af857715c5d42b8f88b29943d1e05fb",
      "new_mode": 33188,
      "new_path": "modules/video_coding/codecs/vp9/vp9_impl.h"
    },
    {
      "type": "modify",
      "old_id": "9c89235fe211fe16ed67b10df565d9ffdf4970bd",
      "old_mode": 33188,
      "old_path": "modules/video_coding/utility/vp9_uncompressed_header_parser.cc",
      "new_id": "f8ddd4db41ca83467f834baaecf478e78ba980b9",
      "new_mode": 33188,
      "new_path": "modules/video_coding/utility/vp9_uncompressed_header_parser.cc"
    },
    {
      "type": "modify",
      "old_id": "69e8de87df03df684021d263acaf0f0ad7f0b70a",
      "old_mode": 33188,
      "old_path": "modules/video_coding/utility/vp9_uncompressed_header_parser.h",
      "new_id": "a7f04670d224f0b6d93e859c3e2f3a4ee36fc2b4",
      "new_mode": 33188,
      "new_path": "modules/video_coding/utility/vp9_uncompressed_header_parser.h"
    }
  ]
}
