Show a cover letter.

GET /api/1.1/covers/20097/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 20097,
    "url": "https://patchwork.libcamera.org/api/1.1/covers/20097/?format=api",
    "web_url": "https://patchwork.libcamera.org/cover/20097/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/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": "<20240524135256.649406-1-kieran.bingham@ideasonboard.com>",
    "date": "2024-05-24T13:52:54",
    "name": "[v2,0/2] libipa: Fix CameraSensorHelper gain helpers",
    "submitter": {
        "id": 4,
        "url": "https://patchwork.libcamera.org/api/1.1/people/4/?format=api",
        "name": "Kieran Bingham",
        "email": "kieran.bingham@ideasonboard.com"
    },
    "mbox": "https://patchwork.libcamera.org/cover/20097/mbox/",
    "series": [
        {
            "id": 4325,
            "url": "https://patchwork.libcamera.org/api/1.1/series/4325/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4325",
            "date": "2024-05-24T13:52:54",
            "name": "libipa: Fix CameraSensorHelper gain helpers",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/4325/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/covers/20097/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 40F2ABD87C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 24 May 2024 13:53:04 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 291CB634AC;\n\tFri, 24 May 2024 15:53:03 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id BFEC561A49\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 24 May 2024 15:53:00 +0200 (CEST)",
            "from Monstersaurus.local\n\t(cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 719A69CE;\n\tFri, 24 May 2024 15:52:46 +0200 (CEST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"FucXFEm3\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1716558766;\n\tbh=64k5JTMW/sow+w0th+Ie81vmaywMX3vE69Fxtet592k=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=FucXFEm3+YM9H72l1RguWlGUPya4btK9n8F/0+jBIT+J4249I5KPVfsXz0NTqxb8R\n\tyKfyIOfdFT98kaatr0cjIMPtxH4S0yx1xPCZiEh4ycSAFrq6dWdvp+qAwlL07gy+II\n\t/ekpojYo9GrTCeAJusEcDJRWtB90ja+lDkBTgWdI=",
        "From": "Kieran Bingham <kieran.bingham@ideasonboard.com>",
        "To": "libcamera devel <libcamera-devel@lists.libcamera.org>",
        "Cc": "Kieran Bingham <kieran.bingham@ideasonboard.com>",
        "Subject": "[PATCH v2 0/2] libipa: Fix CameraSensorHelper gain helpers",
        "Date": "Fri, 24 May 2024 14:52:54 +0100",
        "Message-Id": "<20240524135256.649406-1-kieran.bingham@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "The CameraSensorHelper class provides helpers to simplify the\ndescriptions of gain models of the sensors.\n\nThis provides an implementation of converting a gain-code to a linear\ngain value, and a return calculation that converts a linear gain to a\ngain code.\n\nIt could be expected that a gain value reported by the 'gain(code)'\nfunction should itself generate the same code when called into\n'gainCode(gain)' but this is not the case.\n\nThis series addresses this by correcting the rounding issue and adding a\ntest to ensure all CameraSensorHelpers meet this expectation.\n\nThe test is introduced first and marked as 'should_fail', which is\nsubsequently updated with the fix.\n\nv2:\n - The test now only validates a single instance of each of the linear\n   and exponential uses of the helpers.\n\nKieran Bingham (2):\n  test: ipa: libipa: Add CameraSensorHelper Gain Model tests\n  libipa: camera_sensor_helper: Fix rounding of gainCode\n\n src/ipa/libipa/camera_sensor_helper.cpp |   6 +-\n test/ipa/camera_sensor_helper.cpp       | 101 ++++++++++++++++++++++++\n test/ipa/meson.build                    |   4 +-\n 3 files changed, 107 insertions(+), 4 deletions(-)\n create mode 100644 test/ipa/camera_sensor_helper.cpp"
}