Show a patch.

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

{
    "id": 8842,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/8842/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/8842/",
    "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": "<20200717085410.732308-5-naush@raspberrypi.com>",
    "date": "2020-07-17T08:54:04",
    "name": "[libcamera-devel,v3,04/10] libcamera: pipeline: raspberrypi: Increase the number of RAW buffers",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "ee9c461e2dc5e97b912e958e5d93cfb3f5ad0c38",
    "submitter": {
        "id": 34,
        "url": "https://patchwork.libcamera.org/api/1.1/people/34/?format=api",
        "name": "Naushir Patuck",
        "email": "naush@raspberrypi.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/8842/mbox/",
    "series": [
        {
            "id": 1114,
            "url": "https://patchwork.libcamera.org/api/1.1/series/1114/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1114",
            "date": "2020-07-17T08:54:00",
            "name": "Zero-copy RAW stream work",
            "version": 3,
            "mbox": "https://patchwork.libcamera.org/series/1114/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/8842/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/8842/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 3590EC0109\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 17 Jul 2020 08:54:24 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id DF88460559;\n\tFri, 17 Jul 2020 10:54:23 +0200 (CEST)",
            "from mail-wr1-x444.google.com (mail-wr1-x444.google.com\n\t[IPv6:2a00:1450:4864:20::444])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3FE1E6053B\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 17 Jul 2020 10:54:19 +0200 (CEST)",
            "by mail-wr1-x444.google.com with SMTP id f7so10183288wrw.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 17 Jul 2020 01:54:19 -0700 (PDT)",
            "from naushir-VirtualBox.patuck.local ([88.97.76.4])\n\tby smtp.gmail.com with ESMTPSA id\n\t92sm14582375wrr.96.2020.07.17.01.54.17\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 17 Jul 2020 01:54:18 -0700 (PDT)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"aDcUXoMF\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=IFCGyub9tpAoeli8G8pn/dDsrLoClgTuujJSvmNbE4o=;\n\tb=aDcUXoMF/tqN3qCzsEgoZjk8t+8+USsq0ZlrKaUlWusuI/ZXe9nqWM2wBFmmsy8ym2\n\tBtvfW/SGbxPyoKJwz6w54wr0rVP0qoNY1Q1MbHLd3uFn7FgkPYTGzM11TWo4MIY3vSCm\n\tExAvEwolAhnWSxScJMaF35i0QPT+rQTtdsL5qLaXa80Rv7eA6E4esNOaIYH5NBzUa9bA\n\txH48P4NeUxz2cKErr18pjQBVhsFi+1eifzfCCNO8j7vqhFMeD6a6W6+O02/wWBwyAXvG\n\tyV6aQjNB5GLUD3Lj4GQfgGVZOBXUJTOE20NfYmUH6wO7LCXfgwqW43sxjmwQGq0qRB68\n\tCZwQ==",
        "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=IFCGyub9tpAoeli8G8pn/dDsrLoClgTuujJSvmNbE4o=;\n\tb=O8dZCGmH42ADUO0X1dFRiKphloEkfqD3C73xGbD+58rVNZFp/zxD84JBEqOvZTYqMx\n\tkTLoweIdQtNfso8oObNTw2AK+cT4yxSmbZvZih/b/WhWnl5c5V4PUPHn6IuKhYpkWXi+\n\t+kLT9vgQWq8j2VBtyR1A6zhFKHdiwNOmslAgv/W4mTfn+m9ESU6RxAm/0vICcftBiNed\n\tv/Z2v//sIxLlTEmnjYu2Ta7Bv1LODq1TrFgLEFEwznQZ3zqfkA+2JmTYVtSxFfrbMdOq\n\tkYW7vyig0YTuivvUeyWiVwGoiHc33rT+rIkfhakx8isnCMGz/NEVQGM/LBzM7Xi7CdnK\n\tC4zA==",
        "X-Gm-Message-State": "AOAM530sWI2D1Ytko37jhV/AigIDe26m4IkvrMV177STw4BnO/5h6m0O\n\tIrQnx84iOawZEvbooFgzyINN6EgQK7s=",
        "X-Google-Smtp-Source": "ABdhPJwjybkplxXGKS8mywb7nVbEDvx601aTfa7YAOnRsYrLr2Z49dpbGSTO46rYbcxJSGkPEOH8HA==",
        "X-Received": "by 2002:adf:80c7:: with SMTP id 65mr9490291wrl.246.1594976058729;\n\tFri, 17 Jul 2020 01:54:18 -0700 (PDT)",
        "From": "Naushir Patuck <naush@raspberrypi.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Fri, 17 Jul 2020 09:54:04 +0100",
        "Message-Id": "<20200717085410.732308-5-naush@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20200717085410.732308-1-naush@raspberrypi.com>",
        "References": "<20200717085410.732308-1-naush@raspberrypi.com>",
        "MIME-Version": "1.0",
        "Subject": "[libcamera-devel] [PATCH v3 04/10] libcamera: pipeline:\n\traspberrypi: Increase the number of RAW buffers",
        "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": "Increase the number of expected RAW buffers in the stream configuration\nto 2. This will avoid dropping Unicam frames when exporting RAW streams.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\nReviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\n---\n src/libcamera/pipeline/raspberrypi/raspberrypi.cpp | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\nindex 56b7ee99..c324efc1 100644\n--- a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\n+++ b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\n@@ -391,7 +391,7 @@ CameraConfiguration *PipelineHandlerRPi::generateConfiguration(Camera *camera,\n \t\t\tsensorFormat = findBestMode(fmts, size);\n \t\t\tpixelFormat = sensorFormat.fourcc.toPixelFormat();\n \t\t\tASSERT(pixelFormat.isValid());\n-\t\t\tbufferCount = 1;\n+\t\t\tbufferCount = 2;\n \t\t\trawCount++;\n \t\t\tbreak;\n \n",
    "prefixes": [
        "libcamera-devel",
        "v3",
        "04/10"
    ]
}