Cover Letter Detail
Show a cover letter.
GET /api/covers/10400/?format=api
{ "id": 10400, "url": "https://patchwork.libcamera.org/api/covers/10400/?format=api", "web_url": "https://patchwork.libcamera.org/cover/10400/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20201110002710.3233696-1-niklas.soderlund@ragnatech.se>", "date": "2020-11-10T00:27:02", "name": "[libcamera-devel,v2,0/8] Add helper for controls that take effect with a delay", "submitter": { "id": 5, "url": "https://patchwork.libcamera.org/api/people/5/?format=api", "name": "Niklas Söderlund", "email": "niklas.soderlund@ragnatech.se" }, "mbox": "https://patchwork.libcamera.org/cover/10400/mbox/", "series": [ { "id": 1454, "url": "https://patchwork.libcamera.org/api/series/1454/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1454", "date": "2020-11-10T00:27:02", "name": "Add helper for controls that take effect with a delay", "version": 2, "mbox": "https://patchwork.libcamera.org/series/1454/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/covers/10400/comments/", "headers": { "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>", "X-Original-To": "parsemail@patchwork.libcamera.org", "Delivered-To": "parsemail@patchwork.libcamera.org", "Received": [ "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 03F9CBDB89\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 10 Nov 2020 00:27:58 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 8510B630BA;\n\tTue, 10 Nov 2020 01:27:57 +0100 (CET)", "from bin-mail-out-05.binero.net (bin-mail-out-05.binero.net\n\t[195.74.38.228])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 2BD8662E35\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 10 Nov 2020 01:27:56 +0100 (CET)", "from bismarck.berto.se (p4fca2458.dip0.t-ipconnect.de\n\t[79.202.36.88])\n\tby bin-vsp-out-02.atm.binero.net (Halon) with ESMTPA\n\tid b70b37fa-22ea-11eb-bcc0-005056917f90;\n\tTue, 10 Nov 2020 01:22:05 +0100 (CET)" ], "X-Halon-ID": "b70b37fa-22ea-11eb-bcc0-005056917f90", "Authorized-sender": "niklas.soderlund@fsdn.se", "From": "=?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>", "To": "libcamera-devel@lists.libcamera.org,\n\tnaush@raspberrypi.com", "Date": "Tue, 10 Nov 2020 01:27:02 +0100", "Message-Id": "<20201110002710.3233696-1-niklas.soderlund@ragnatech.se>", "X-Mailer": "git-send-email 2.29.2", "MIME-Version": "1.0", "Subject": "[libcamera-devel] [PATCH v2 0/8] Add helper for controls that take\n\teffect with a delay", "X-BeenThere": "libcamera-devel@lists.libcamera.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "<libcamera-devel.lists.libcamera.org>", "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>", "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>", "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>", "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>", "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "Hello,\n\nThis series adds a new helper class to libcamera-core based on the\nStaggerdCtrl principle from the Raspberry Pi pipeline handler. The new\nhelper matches perfectly the RPi implementation and can therefore\nreplace the pipeline specific implementation. There are slight changes\nin the API of the two but noting preventing it to be a drop in\nreplacement.\n\nThe major new addition to the DelayedControls implementation is the\nability to queue controls a hard of time. This allows the concept of\npipeline depth we already have for buffers to be extended to controls.\n\nPatch 1/8 adds the new core helper and its unit test. Patch 2/8\nand 3/8 replaces StaggerdCtrl with DelayedControls in the Raspberry Pi\npipeline handler. Patch 4/8 adds an interface based on DelayedControls\nto CameraSensor. And last 5/8 - 8/8 make use of the new helper in the\nRkISP1 pipeline to completely remove another local helper (Timeline).\n\nThe RkISP1 IPA feels much snappier after this change but this is\nanecdotal and no real measurements have been done as the RkISP1 IPA at\nthis stage is neither advanced nor tuned.\n\nNiklas Söderlund (8):\n libcamera: delayed_controls: Add helper for controls that applies with\n a delay\n test: delayed_controls: Add test case for DelayedControls\n libcamera: raspberrypi: Switch to DelayedControls\n libcamera: raspberrypi: Remove StaggeredCtrl\n libcamera: camera_sensor: Expose a DelayedControls interface\n libcamera: pipeline: rkisp1: Use CameraSensor and delayed controls\n libcamera: pipeline: rkisp1: Use SOF event to warn about late\n parameters\n libcamera: pipeline: rkisp1: Remove Timeline\n\n include/libcamera/internal/camera_sensor.h | 5 +\n include/libcamera/internal/delayed_controls.h | 87 +++++\n src/libcamera/camera_sensor.cpp | 31 ++\n src/libcamera/delayed_controls.cpp | 260 +++++++++++++++\n src/libcamera/meson.build | 1 +\n .../pipeline/raspberrypi/meson.build | 1 -\n .../pipeline/raspberrypi/raspberrypi.cpp | 44 ++-\n .../pipeline/raspberrypi/staggered_ctrl.cpp | 174 ----------\n .../pipeline/raspberrypi/staggered_ctrl.h | 96 ------\n src/libcamera/pipeline/rkisp1/meson.build | 1 -\n src/libcamera/pipeline/rkisp1/rkisp1.cpp | 158 +++------\n src/libcamera/pipeline/rkisp1/timeline.cpp | 227 -------------\n src/libcamera/pipeline/rkisp1/timeline.h | 72 ----\n test/delayed_contols.cpp | 307 ++++++++++++++++++\n test/meson.build | 1 +\n 15 files changed, 749 insertions(+), 716 deletions(-)\n create mode 100644 include/libcamera/internal/delayed_controls.h\n create mode 100644 src/libcamera/delayed_controls.cpp\n delete mode 100644 src/libcamera/pipeline/raspberrypi/staggered_ctrl.cpp\n delete mode 100644 src/libcamera/pipeline/raspberrypi/staggered_ctrl.h\n delete mode 100644 src/libcamera/pipeline/rkisp1/timeline.cpp\n delete mode 100644 src/libcamera/pipeline/rkisp1/timeline.h\n create mode 100644 test/delayed_contols.cpp" }