Show a patch.

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

{
    "id": 8754,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/8754/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/8754/",
    "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": "<20200713084727.232422-5-naush@raspberrypi.com>",
    "date": "2020-07-13T08:47:23",
    "name": "[libcamera-devel,4/9] 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/8754/mbox/",
    "series": [
        {
            "id": 1100,
            "url": "https://patchwork.libcamera.org/api/1.1/series/1100/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1100",
            "date": "2020-07-13T08:47:18",
            "name": "Zero-copy RAW stream work",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/1100/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/8754/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/8754/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 2546CBD790\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 13 Jul 2020 08:48:04 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 64655605C5;\n\tMon, 13 Jul 2020 10:48:03 +0200 (CEST)",
            "from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com\n\t[IPv6:2a00:1450:4864:20::42f])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id F1DB9605B4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 13 Jul 2020 10:48:01 +0200 (CEST)",
            "by mail-wr1-x42f.google.com with SMTP id f2so14986136wrp.7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 13 Jul 2020 01:48:01 -0700 (PDT)",
            "from naushir-VirtualBox.patuck.local ([88.97.76.4])\n\tby smtp.gmail.com with ESMTPSA id\n\tg14sm23203357wrm.93.2020.07.13.01.48.00\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 13 Jul 2020 01:48:00 -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=\"nqzM1Od1\"; 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=SzxleyS2L5G8oRnbBxFxOqT8fwhmy6L0kBRX2aN6Q4c=;\n\tb=nqzM1Od11c4ASESNB68kxs4Vg0B0odL/9jCD5tkJmLygMaKIErAYGELJIrQ89JuK+O\n\tGfB4rMzp1TS6ZKiiVI05Bj3B7Zd7WMIAHCpVYgqAk9OZbApSNINm6ahnbk9rignwaUUH\n\tfbxLZIbnPf0XYkuZDNTH0LX8UAowGUfr+srM7D9tnEmqmSnempMxZmGxkkugaT2xJ5jl\n\txgqk1bLt1h3B7bxOnc3xWG+nK5HQhVqCk+fhkSDDPFDhyFyHwoh9hIh5bVNIVDxX9Np3\n\t4eqayAtjOE5t1/ZMdmraCwvtwjWP5ZizO82DZJ2hue3sE2wJFFoxF7qJLf3EEbF6GgIG\n\t811g==",
        "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=SzxleyS2L5G8oRnbBxFxOqT8fwhmy6L0kBRX2aN6Q4c=;\n\tb=g5Vu2Cz6PpfS0PYKaocFO3n3Pp8VTe5uvxOWk3mqlOgS2uTzHFCaqZaF2Q/+jB6S5p\n\tZQsQXirPS4xcb3tn4SE9POD1ttJYYvWvmiUxBFqFZRPP2urNGg7Wt4v+TfViOEXv/wKp\n\thw0ztkoUVxOWAa0vcPuhCZ6FRJqhIOAgyWi3F6ScHZb6fyvZyZ5UNqplTc+ix2iADQ9x\n\tkgZlT7wkNdlreaQEPdZVBy1PXlQvixg25MHHtI6nxp5JMdz7e98WNNQcqjFaW4I5jHyR\n\tYu3vpsBLdQwmz33V31SPx08/zDLjqpUpXboQa0Nnb2AJvsH0bX2wdoNplK5zKgiklePk\n\tGxZw==",
        "X-Gm-Message-State": "AOAM530Pjs3Ur/ImyYHm82VvlnxzBMZYIe3oyn2MMNHfAixt0NmnxG+H\n\t+yEzIgz56GyySFo+XCz3hPoXfmdgvxE=",
        "X-Google-Smtp-Source": "ABdhPJyJ3zGKAZ42huAv7j8IpDVtPEUKQMoozpasqZQs/v1cjwNQC5BQZooC6XQfRbcHM4GBbS7Epw==",
        "X-Received": "by 2002:a5d:4a45:: with SMTP id\n\tv5mr79446110wrs.228.1594630081459; \n\tMon, 13 Jul 2020 01:48:01 -0700 (PDT)",
        "From": "Naushir Patuck <naush@raspberrypi.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Mon, 13 Jul 2020 09:47:23 +0100",
        "Message-Id": "<20200713084727.232422-5-naush@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20200713084727.232422-1-naush@raspberrypi.com>",
        "References": "<20200713084727.232422-1-naush@raspberrypi.com>",
        "MIME-Version": "1.0",
        "Subject": "[libcamera-devel] [PATCH 4/9] libcamera: pipeline: raspberrypi:\n\tIncrease 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=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "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>\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 65c8557d..a613ce65 100644\n--- a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\n+++ b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\n@@ -394,7 +394,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",
        "4/9"
    ]
}