Show a patch.

GET /api/1.1/patches/12655/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 12655,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/12655/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/12655/",
    "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": "<20210618200247.624987-3-vedantparanjape160201@gmail.com>",
    "date": "2021-06-18T20:02:47",
    "name": "[libcamera-devel,2/2] libcamera: Update V4L2 pixel format to libcamera pixel format mapping",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "5f2026baea2f8ededb3f6c01dd4d5ffb772fa608",
    "submitter": {
        "id": 85,
        "url": "https://patchwork.libcamera.org/api/1.1/people/85/?format=api",
        "name": "Vedant Paranjape",
        "email": "vedantparanjape160201@gmail.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/12655/mbox/",
    "series": [
        {
            "id": 2154,
            "url": "https://patchwork.libcamera.org/api/1.1/series/2154/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2154",
            "date": "2021-06-18T20:02:45",
            "name": "Fixed mismatch of pixel formats of V4L2 and libcamera",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/2154/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/12655/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/12655/checks/",
    "tags": {},
    "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 87FE9C3218\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 18 Jun 2021 20:03:34 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 49FC368943;\n\tFri, 18 Jun 2021 22:03:34 +0200 (CEST)",
            "from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com\n\t[IPv6:2607:f8b0:4864:20::1031])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 99D0F60298\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 18 Jun 2021 22:03:32 +0200 (CEST)",
            "by mail-pj1-x1031.google.com with SMTP id\n\tg6-20020a17090adac6b029015d1a9a6f1aso7694042pjx.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 18 Jun 2021 13:03:32 -0700 (PDT)",
            "from localhost.localdomain ([1.186.76.76])\n\tby smtp.googlemail.com with ESMTPSA id\n\ta11sm8852972pfl.168.2021.06.18.13.03.29\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 18 Jun 2021 13:03:30 -0700 (PDT)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"WVuco+hs\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=a+aT9bwoTRcZvUsMhCXLUl4ULDFmKxQcWZQlI7JO0Ng=;\n\tb=WVuco+hsMb7gHycKcBpwJMg5PHNXHq3AREogXs9dop8mvmvm6IWu1QEkOBrdM1BIag\n\t64kYrDvIL6+q8hFaaxj18CHA23Y5yTUgtDekUnIpjvC2xwvYpMQ+LmUiUDOKN2S6wXrl\n\tiAsKyxN68+dI3KeBAhE++6z7kFAl0yEqLvo2ELsOVXenMaJe5niFytQ/i8ioePsuxzu0\n\tOHfZrhKnO8CWRMXXlGaeZrA9ypVT4mS679oWUzol4o97ix3eRSguCJaMN0s9+kwt3XlX\n\t7Z8b31ycxZ4FKGVa+EcWpViIFukdQ58kmeCXv/kInP92qj7m/MUkPCTREGheRnJnp8BA\n\td2dw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=a+aT9bwoTRcZvUsMhCXLUl4ULDFmKxQcWZQlI7JO0Ng=;\n\tb=kQQGlqyMtynAQD9O8JhvHgOuh88/l8fRR5aj3ueRmHZZeXgZu9BMtghnkoJ/ELqoLd\n\tKyAutCmBcbSdhxKzb2Vn4F1eCGIEJV5VzJuo0awh+ilPPV+VfMxbpjxSBwBYdhVdcoEW\n\tmQY15WiYcE3GwPV4VeiU1HDFKvWci3s9DVzhVkO1EdnO6pXKlz4G/QRog2Sp9z4QaIAV\n\tKp+QwQj/+xwIlXv8ldJJbDRq40Vs6VK12v6UayhiTAad4CLCs5EYvt+Qo67hsZMNLyvI\n\tSqp2PSbB0Px/q7Ia5eWdgbyNkVGI27ubqEtulvZ/V/zSc/0Y2f/6M4vWiL7cUEO8sb8e\n\tZ3Qw==",
        "X-Gm-Message-State": "AOAM532w83MGzxK26QOaK51/i4G1PF+C7KxC5/5mZWn8vU4OQPtztzdU\n\tH7WInT5GhITCg2fQD8hETzHYNoc/gs78ZQ==",
        "X-Google-Smtp-Source": "ABdhPJxaw3VuwVH2e1rkqFA3aWojf4zPOA1yngLzzFAd3WBLo/WphIv01D9wlXaBDxFg6IE/fqUKmQ==",
        "X-Received": "by 2002:a17:90a:20c:: with SMTP id\n\tc12mr4650678pjc.7.1624046611222; \n\tFri, 18 Jun 2021 13:03:31 -0700 (PDT)",
        "From": "Vedant Paranjape <vedantparanjape160201@gmail.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Sat, 19 Jun 2021 01:32:47 +0530",
        "Message-Id": "<20210618200247.624987-3-vedantparanjape160201@gmail.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20210618200247.624987-1-vedantparanjape160201@gmail.com>",
        "References": "<20210618200247.624987-1-vedantparanjape160201@gmail.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH 2/2] libcamera: Update V4L2 pixel format\n\tto libcamera pixel format mapping",
        "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>",
        "Cc": "Vedant Paranjape <vedantparanjape160201@gmail.com>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "This patch adds mapping between V4L2_PIX_FMT_RGBX32 and formats::XBGR8888\n\nSigned-off-by: Vedant Paranjape <vedantparanjape160201@gmail.com>\n---\n src/libcamera/v4l2_pixelformat.cpp | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/src/libcamera/v4l2_pixelformat.cpp b/src/libcamera/v4l2_pixelformat.cpp\nindex 950cbda4..78a08303 100644\n--- a/src/libcamera/v4l2_pixelformat.cpp\n+++ b/src/libcamera/v4l2_pixelformat.cpp\n@@ -52,6 +52,7 @@ const std::map<V4L2PixelFormat, PixelFormat> vpf2pf{\n \t{ V4L2PixelFormat(V4L2_PIX_FMT_BGR24), formats::RGB888 },\n \t{ V4L2PixelFormat(V4L2_PIX_FMT_XBGR32), formats::XRGB8888 },\n \t{ V4L2PixelFormat(V4L2_PIX_FMT_XRGB32), formats::BGRX8888 },\n+\t{ V4L2PixelFormat(V4L2_PIX_FMT_RGBX32), formats::XBGR8888 },\n \t{ V4L2PixelFormat(V4L2_PIX_FMT_RGBA32), formats::ABGR8888 },\n \t{ V4L2PixelFormat(V4L2_PIX_FMT_ABGR32), formats::ARGB8888 },\n \t{ V4L2PixelFormat(V4L2_PIX_FMT_ARGB32), formats::BGRA8888 },\n",
    "prefixes": [
        "libcamera-devel",
        "2/2"
    ]
}