)]}'
{
  "commit": "17e182085b6871f8ab84c3e064ce6e37e3dcbfd4",
  "tree": "785dc2a0149c113045f6b8ecbbb42cccb050ee17",
  "parents": [
    "6446d6609a6f5004fac8e2a174e0c177a0906f81"
  ],
  "author": {
    "name": "Chen-Yu Tsai",
    "email": "wenst@chromium.org",
    "time": "Thu Oct 06 04:35:56 2022"
  },
  "committer": {
    "name": "Chromeos LUCI",
    "email": "chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Fri Oct 07 09:49:59 2022"
  },
  "message": "libv4l-rockchip_v2: Adjust height for I420 to fit DMA alignment\n\nChromium sometimes uses USERPTR buffers to pass raw frames to the\nencoder. USERPTR requires the size of the buffer fit cache alignment\nfor reliable DMA, which on ARM64 happens to be 128.\n\nNormally we would adjust sizeimage to fit the alignment, but Chromium\ncurrently ignores sizeimage passed back by V4L2, and only uses width\nand height to compute a buffer size. To work around this, have the\nlibv4l plugin round up the height of the output format before it is\npassed to the kernel, such that it fits the DMA alignment.\n\nBUG\u003db:250800750\nBUG\u003dchromium:1362996\nTEST\u003dScreen share on Kevin should use hardware encoder\n\nChange-Id: I3e4c63bb45b7bc9d50216371b0f7dcaf384c04a7\nReviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/libv4lplugins/+/3933923\nReviewed-by: Brian Norris \u003cbriannorris@chromium.org\u003e\nReviewed-by: Hirokazu Honda \u003chiroh@chromium.org\u003e\nTested-by: Hirokazu Honda \u003chiroh@chromium.org\u003e\nCommit-Queue: Chen-Yu Tsai \u003cwenst@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "af75efbfd3357b452017709b2c3485750e29a95c",
      "old_mode": 33188,
      "old_path": "libv4l-rockchip_v2/libv4l-encplugin-rockchip.c",
      "new_id": "93e086cea627207ff0f2c438d451e347837259e2",
      "new_mode": 33188,
      "new_path": "libv4l-rockchip_v2/libv4l-encplugin-rockchip.c"
    }
  ]
}
