Patch Detail
Show a patch.
GET /api/1.1/patches/17606/?format=api
{ "id": 17606, "url": "https://patchwork.libcamera.org/api/1.1/patches/17606/?format=api", "web_url": "https://patchwork.libcamera.org/patch/17606/", "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": "<20221014131846.27169-11-naush@raspberrypi.com>", "date": "2022-10-14T13:18:46", "name": "[libcamera-devel,v1,10/10] pipeline: raspberrypi: Add libcamera-apps and picamera2 config file", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "67bcbb968982b4677fa7e82665551e0209add9c9", "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/17606/mbox/", "series": [ { "id": 3555, "url": "https://patchwork.libcamera.org/api/1.1/series/3555/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3555", "date": "2022-10-14T13:18:37", "name": "Raspberry Pi: Platform configuration and buffer allocation improvements", "version": 1, "mbox": "https://patchwork.libcamera.org/series/3555/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/17606/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/17606/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 D89CFC3289\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 14 Oct 2022 13:19:05 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 8158562DE5;\n\tFri, 14 Oct 2022 15:19:05 +0200 (CEST)", "from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com\n\t[IPv6:2a00:1450:4864:20::42a])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id B5E5062DBC\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 14 Oct 2022 15:18:59 +0200 (CEST)", "by mail-wr1-x42a.google.com with SMTP id a10so7490070wrm.12\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 14 Oct 2022 06:18:59 -0700 (PDT)", "from naush-laptop.localdomain ([93.93.133.154])\n\tby smtp.gmail.com with ESMTPSA id\n\tg17-20020a05600c001100b003c6bbe910fdsm8282458wmc.9.2022.10.14.06.18.58\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 14 Oct 2022 06:18:58 -0700 (PDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1665753545;\n\tbh=ERKArs7cOeZTf0Yw25fWwNSNlv+k2iN2RGQWLJgVFpY=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=2D2Xwn++UQla5GX/IqYyPdSZgqT6eWm2jgGoMY2fQAuCPrA9UsHSP9cPUiWb7HCGy\n\txgB154pyjjrcsnFwTqgr22H32kCuQm8PTnrL6J049AKIGRqESCpVP2YlUX/gbnsZeV\n\tS908/pMQJZsIOzT+hqNGlaNvEB3LoUgU5hMM1RnWBhyvuIk64Lfxv3mmrBBwBA92Iu\n\tAVrpk6m5Z4owZQS9hEH+4qw0n/EYszpGo25oIGTOxOVCQuBNypsCKYhTJA4M7w3O3T\n\tFrFeJR6hLwfjU6abmM7aC5Jxu299kfa9/aTYgXCB5SWeoEH4Z4mqgVis8Ezk6gB2RJ\n\tGu+xZmF9nFD7w==", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date\n\t:message-id:reply-to;\n\tbh=6br7n78pq5/RQvdP/HX1IT/EAJ79ReExaMx4vcs66GE=;\n\tb=oJW9Tx5qe4QEtNKtFQkgiucf+fT2wSGJqEf12oH5mKcVf6M6IaTQK9t5KC7k6MpJH4\n\tsP3VBW71dE+zGsedDHpO2B2fHAMnHFqovEWHOeBBjmAQs5zzsf8ZPwejdVfwJK5ZBOzn\n\ttvNUHEIoZjFZFtnknh/jhoOqT7TmjBHsEAp4vGsw/4vBm9rBmM/z9DR1vlZRGuB539Lg\n\ttSexT5AIZXlW7VFQ+eVwZmolxuBPH/ELnBKyLLXV4547kpfifFe4wdFqk7GuyXgXFRUU\n\tMa5tKpegDqIETzLuJWKO1tCvlhlaeT6+3g3sN0TwFScllTkWFFDc02A2V26U1bTjVibJ\n\tt62g==" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"oJW9Tx5q\"; dkim-atps=neutral", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n\t:subject:date:message-id:reply-to;\n\tbh=6br7n78pq5/RQvdP/HX1IT/EAJ79ReExaMx4vcs66GE=;\n\tb=f2n2NSi+4uCAIG5UVdjxg2ciEPkaIvItIYmdkBXadI613jDqDNuJ1oqZZ7jio5+Htk\n\t7HX1fX0Q8REDEkT+uaz72FoYhJtYhuf1O45RFRKVzFRsGZiBjRGb2/i9KmHqo+BAE+u7\n\tdx8zYUKcElQR/LmLj5qVw9wnlGTQxgnUaBSC3wnzT4FwYFWpVMbyLhqFdwwsxEYu8E82\n\tk0XUsyyaf1qWPK2ddCBBzmZD9xaaRk8wVkF4XPa+qR3WOEWCrk516TM8BA3jbDq1SIM4\n\tR1EkPwQdZGmBCHeq6hXirsx4PU8x6lpdNh5vUbVKBHSJfmb3OBT+l9kYxCfFX481RKfV\n\tPTNw==", "X-Gm-Message-State": "ACrzQf0MILF3c9yWj8LdEzcZFMAW5lmO5Xdl17aBpgHYD60RuxW4xxAt\n\tm4hmaW2wJyLad0fHisuP5wfggh/Lor0/iQ==", "X-Google-Smtp-Source": "AMsMyM6C06d2AGlAfTj3wWq2HK34op6PR1yZ7jYKs3JFq3SXuMwD8WEHTYC1bVEsHpUWiRN7fn/hhA==", "X-Received": "by 2002:a5d:6c6b:0:b0:225:dde:ab40 with SMTP id\n\tr11-20020a5d6c6b000000b002250ddeab40mr3394490wrz.690.1665753539070; \n\tFri, 14 Oct 2022 06:18:59 -0700 (PDT)", "To": "libcamera-devel@lists.libcamera.org", "Date": "Fri, 14 Oct 2022 14:18:46 +0100", "Message-Id": "<20221014131846.27169-11-naush@raspberrypi.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20221014131846.27169-1-naush@raspberrypi.com>", "References": "<20221014131846.27169-1-naush@raspberrypi.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v1 10/10] pipeline: raspberrypi: Add\n\tlibcamera-apps and picamera2 config file", "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>", "From": "Naushir Patuck via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>", "Reply-To": "Naushir Patuck <naush@raspberrypi.com>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "Add a platform configuration file optimised for use with the Raspberry Pi\nsuite of libcamera-apps and the picamera2 framework.\n\nThis configuration minimises the number of internal buffers allocated, with\nthe expectation that applications will always provide buffers in request for\nany configured stream.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\n---\n .../pipeline/raspberrypi/data/meson.build | 1 +\n .../pipeline/raspberrypi/data/rpi_apps.json | 28 +++++++++++++++++++\n 2 files changed, 29 insertions(+)\n create mode 100644 src/libcamera/pipeline/raspberrypi/data/rpi_apps.json", "diff": "diff --git a/src/libcamera/pipeline/raspberrypi/data/meson.build b/src/libcamera/pipeline/raspberrypi/data/meson.build\nindex 0592fc53877d..aabde57f25c6 100644\n--- a/src/libcamera/pipeline/raspberrypi/data/meson.build\n+++ b/src/libcamera/pipeline/raspberrypi/data/meson.build\n@@ -3,6 +3,7 @@\n conf_files = files([\n 'default.json',\n 'minimal_mem.json',\n+ 'rpi_apps.json',\n ])\n \n install_data(conf_files,\ndiff --git a/src/libcamera/pipeline/raspberrypi/data/rpi_apps.json b/src/libcamera/pipeline/raspberrypi/data/rpi_apps.json\nnew file mode 100644\nindex 000000000000..6a3eebf4fac7\n--- /dev/null\n+++ b/src/libcamera/pipeline/raspberrypi/data/rpi_apps.json\n@@ -0,0 +1,28 @@\n+{\n+ \"version\": 1.0,\n+ \"target\": \"bcm2835\",\n+\n+ \"pipeline_handler\":\n+ {\n+ # The minimum number of internal buffers to be allocated for Unicam.\n+ # This value must less than or equal to min_total_unicam_buffers.\n+ \"min_unicam_buffers\": 0,\n+\n+ # The minimum total (internal + external) buffer count used for Unicam.\n+ # The number of internal buffers allocated for Unicam is given by:\n+ # internal buffer count = max(min_unicam_buffers,\n+ # min_total_unicam_buffers - external buffer count)\n+ \"min_total_unicam_buffers\": 4,\n+\n+ # The number of internal buffers used for ISP Output0.\n+ \"num_output0_buffers\": 0,\n+\n+ # Override any request from the IPA to drop a number of startup frames.\n+ \"disable_startup_frame_drops\": false,\n+\n+ # Always process a pending request with the last captured sensor frame.\n+ # Note that this might lead to avoidable frame drops during periods\n+ # of transient heavey CPU loading.\n+ \"return_newest_frames\": false\n+ }\n+}\n\\ No newline at end of file\n", "prefixes": [ "libcamera-devel", "v1", "10/10" ] }