Show a cover letter.

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

{
    "id": 24023,
    "url": "https://patchwork.libcamera.org/api/covers/24023/?format=api",
    "web_url": "https://patchwork.libcamera.org/cover/24023/",
    "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": "<20250729153915.159243-1-uajain@igalia.com>",
    "date": "2025-07-29T15:39:12",
    "name": "[v5,0/3] gstreamer: Report camera properties as device properties",
    "submitter": {
        "id": 232,
        "url": "https://patchwork.libcamera.org/api/people/232/?format=api",
        "name": "Umang Jain",
        "email": "uajain@igalia.com"
    },
    "mbox": "https://patchwork.libcamera.org/cover/24023/mbox/",
    "series": [
        {
            "id": 5346,
            "url": "https://patchwork.libcamera.org/api/series/5346/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5346",
            "date": "2025-07-29T15:39:12",
            "name": "gstreamer: Report camera properties as device properties",
            "version": 5,
            "mbox": "https://patchwork.libcamera.org/series/5346/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/covers/24023/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 ECDF9BDCC1\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 29 Jul 2025 15:39:19 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id BDB1B691DF;\n\tTue, 29 Jul 2025 17:39:18 +0200 (CEST)",
            "from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 61C2469052\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 29 Jul 2025 17:39:13 +0200 (CEST)",
            "from [49.36.71.87] (helo=uajain) by fanzine2.igalia.com with\n\tesmtpsa \n\t(Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)\n\t(Exim) id 1ugmQ3-005UrS-Uu; Tue, 29 Jul 2025 17:39:12 +0200"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=igalia.com header.i=@igalia.com\n\theader.b=\"QKxzaHox\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com;\n\ts=20170329;\n\th=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:\n\tCc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tIn-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:\n\tList-Post:List-Owner:List-Archive;\n\tbh=PCeBHY6cZG507QtfshHQdcwD2+i7FL9Hiyfxg899Woc=;\n\tb=QKxzaHoxoVcPukzJAy+P3qy7Kg\n\tZVJymjfHAGwR7YmjZwpmuEWz9fXqRN9BeVLY6New871uBxnYZuFcJEWjF+gP/aO98FuYi9L8Ob5wy\n\tCp40IGpDaUOavZmaSzhSOmrXEAY68KAy2A966Hk83Fp48tdLnoZmQY1Q3xMUez02axtkTj6Uv0saE\n\th7V8ztIXiOGxN1AZysWRqdxAE9U+lzxXUVbWViy+o0ZqKthQXKnE3mfD3XcdPvfDToVA39i1oWD+P\n\tGkUnXqvVTTjo/b+qkxdE5OEK7yJsw+E5+goile2RV5EeRfqMbaa3zZBS8eAS5+LGVBWVR4cl2RLLN\n\tj7u5/rVw==;",
        "From": "Umang Jain <uajain@igalia.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Jaslo Ziska <jaslo@ziska.de>,\n\tNicolas Dufresne <nicolas.dufresne@collabora.com>,\n\tUmang Jain <uajain@igalia.com>",
        "Subject": "[PATCH v5 0/3] gstreamer: Report camera properties as device\n\tproperties",
        "Date": "Tue, 29 Jul 2025 21:09:12 +0530",
        "Message-ID": "<20250729153915.159243-1-uajain@igalia.com>",
        "X-Mailer": "git-send-email 2.50.0",
        "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": "This series aims to report camera properties from libcamera\nto device properties in gstreamer device provider.\n\nPatch 1/3 splits the Rectangle GValue helper into two:\nPoint and Size.\n\nPatch 2/3 moves all three 3 GValue helpers(Rectangle, Size, Point)\nfrom gstlibcamera-controls.cpp.in to libcamera-utils.cpp. This\nenables code sharing when we report properties which are\nRectangle, Size, Points types.\n\nPatch 3/3 is the integration patch. It maps all ControlType\nfrom libcamera to corresponding GType. If the ControlValue::isArray()\nis true, GST_VALUE_ARRAY is preferred to report all array values,\nwith corresponding type GType.\n\nOutput on RPi3:\n==============\nuajain1@uajain:~$ cam -c1 -p\n...\nProperty: SystemDevices = [ 20749, 20739, 20740, 20741 ]\nProperty: ScalerCropMaximum = (0, 0)/0x0\nProperty: PixelArrayActiveAreas = [ (8, 8)/3280x2464 ]\nProperty: PixelArraySize = 3280x2464\nProperty: Rotation = 180\nProperty: Location = 2 (CameraLocationExternal)\nProperty: ColorFilterArrangement = 0 (RGGB)\nProperty: UnitCellSize = 1120x1120\nProperty: Model = imx219\n\n\nuajain1@uajain:~$ gst-device-monitor-1.0 \n....\n\tproperties:\n\t\tapi.libcamera.SystemDevices = < (gint64)20749, (gint64)20739, (gint64)20740, (gint64)20741 >\n\t\tapi.libcamera.ScalerCropMaximum = < (int)0, (int)0, (int)0, (int)0 >\n\t\tapi.libcamera.PixelArrayActiveAreas = < (int)8, (int)8, (int)3280, (int)2464 >\n\t\tapi.libcamera.PixelArraySize = < (int)3280, (int)2464 >\n\t\tapi.libcamera.Rotation = 180\n\t\tapi.libcamera.Location = CameraLocationExternal\n\t\tapi.libcamera.ColorFilterArrangement = RGGB\n\t\tapi.libcamera.UnitCellSize = < (int)1120, (int)1120 >\n\t\tapi.libcamera.Model = imx219\n\tgst-launch-1.0 libcamerasrc camera-name=\"/base/soc/i2c0mux/i2c\\@1/imx219\\@10\" ! ...\n\nChanges in v5:\n- Use of g_auto() for GValue cleanups\n- Construct property string api.libcamera.xxx in\n  gst_libcamera_set_structure_field() directly\n- Unset GValue array before setting string type property\n- Use G_TYPE_INT for 32-bit integers (drop long-type) as per Nicolas'\n  comment.\n- few cosmetic changes for better readability\n\nChanges in v4:\n- Extensively reworked to map ControlType<>GType for ControlValues\n\nUmang Jain (3):\n  gstreamer: Split value_set_rectangle() GValue helper\n  gstreamer: Move existing GValue helpers to gstreamer-utils\n  gstreamer: Report camera properties as device properties\n\n src/gstreamer/gstlibcamera-controls.cpp.in |  50 +----\n src/gstreamer/gstlibcamera-utils.cpp       | 244 +++++++++++++++++++++\n src/gstreamer/gstlibcamera-utils.h         |   7 +\n src/gstreamer/gstlibcameraprovider.cpp     |  13 ++\n 4 files changed, 269 insertions(+), 45 deletions(-)"
}