{"id":18126,"url":"https://patchwork.libcamera.org/api/covers/18126/?format=json","web_url":"https://patchwork.libcamera.org/cover/18126/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20230118085953.7027-1-naush@raspberrypi.com>","date":"2023-01-18T08:59:41","name":"[libcamera-devel,v5,00/12] Raspberry Pi: Platform configuration and buffer allocation improvements","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/18126/mbox/","series":[{"id":3713,"url":"https://patchwork.libcamera.org/api/series/3713/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3713","date":"2023-01-18T08:59:41","name":"Raspberry Pi: Platform configuration and buffer allocation improvements","version":5,"mbox":"https://patchwork.libcamera.org/series/3713/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/18126/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 EC291C3240\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 18 Jan 2023 09:01:17 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 343CF625E4;\n\tWed, 18 Jan 2023 10:01:17 +0100 (CET)","from mail-wr1-x435.google.com (mail-wr1-x435.google.com\n\t[IPv6:2a00:1450:4864:20::435])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id F189861EFD\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 18 Jan 2023 10:01:15 +0100 (CET)","by mail-wr1-x435.google.com with SMTP id r2so33183717wrv.7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 18 Jan 2023 01:01:15 -0800 (PST)","from localhost.localdomain ([93.93.133.154])\n\tby smtp.gmail.com with ESMTPSA id\n\ti6-20020adfe486000000b002423dc3b1a9sm30312464wrm.52.2023.01.18.01.01.14\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 18 Jan 2023 01:01:14 -0800 (PST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1674032477;\n\tbh=z+d/MyDXYhRwhD0vFIV5dTIM58sgPE2uLKz1sn1KuUQ=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=OAkfqyizw/9rN47QGNI70i9600Kz/Ry3wn2o4pwr9BN6J8WPRqUQvdK+THvuie0s+\n\t3Nn/4KSRL94h6oQkyLHpo44kqTXwY+PjHXrHCdgCslKfP0YhDdtUGg9bJQc8AZLiB1\n\t9bT1LJ0x0rPxa16LR/TN/NPytTNDmK1OxGLcpS6yHrJ/zQch9VaSpkOmj2968/1Ec4\n\t9d69E/3cCJMUlPpRMutszd+Mx10sy7VvgrC14yel2dJFctyvT6KERpkgonEGIiWLHe\n\tZ4n1SkN7SLexvduKpR1iluAtIHNt0OI+Bt4iI0tthN9wx18IjjiytvYg+gvzWJw07w\n\tsAGwsFX/3wxLg==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc\n\t:to:from:from:to:cc:subject:date:message-id:reply-to;\n\tbh=Odvx8Nt1pfL4pjWHPSpxaVU5KT92u273f/mo14UKVD4=;\n\tb=mi014qYSddowj1h3s+Nr/9rXDuTqvyyTXfv3oyom/5OIUJx/jydf8GKTIN+n2jRNL5\n\tn8d7phcjCXNbYu+Ca/G8igQZE3Hn8CbGH8Oc7PhVS6TE98rerWON4sWGtLfO12nrzNeO\n\tkjF319/OOnTsYaqWFi5vLW+5B1ACi72g/1jNYMBM9XN7mbsN1Oj0bzTLZwkwVF4VYXij\n\t/PidmZAVOGnJBP8S/xOrtavhawBpZNPm6QSnPbkeZycLSrYX48+TldSAqzWzyfnVYdPp\n\tvX6NYW7xnKJBKtqvmWBrk/h9kQ0l9//JYcAeVCk6kC85PzIXiQgAH+c4DmRhn6CYQBYx\n\tHVBQ=="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"mi014qYS\"; 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:message-id:date:subject:cc\n\t:to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n\t:reply-to;\n\tbh=Odvx8Nt1pfL4pjWHPSpxaVU5KT92u273f/mo14UKVD4=;\n\tb=1/wtcNOxTLvNwKq0nQs+29fH3n7MinKdOwG3QXsrPKt/EEc7mMJVBt3gL3afYsQnrH\n\t8zOoQ999UgRm+LDPNm0YZUAhGO0Q/cdcBAwwGyVlkI7hHJAonJF1vLKlFh1+eaAtGhkF\n\tz+mm/jX7zKIWbcSgnipJbrjrrom/jJ7FII3/F2KObgHpadAjlRMHsZ7yAz4MarNAYCS+\n\t5SGCMVY9FYuUaxDlsMU1x37dYWiDod3L/zHDN3hCFAPN8mf01ySDsaaXjwyE9fGxC1Da\n\tH4rLwFIYO57wJVp4zjXKTM4/VAuyfP95udJmZyaXA2J4tgUylGZ2ccl0rcsRHe2gBQWq\n\t8meQ==","X-Gm-Message-State":"AFqh2kok8XeJ25k7Q7PlMt/WxsLS+56Dfr7QpT7JB+r+EiXQ5VkmczpR\n\tQZAo+a5RNKuZzncCUDNv8FnWBsyH90Z1JW58j7U=","X-Google-Smtp-Source":"AMrXdXuGU/xFYNa01v9BrQzEZdaV0IcdDKcCmrj7GYZEnYoKtoA7Y59WgNox3hzoyr94e4TFg22lWA==","X-Received":"by 2002:a5d:4388:0:b0:293:1868:3a15 with SMTP id\n\ti8-20020a5d4388000000b0029318683a15mr5739144wrq.34.1674032475298; \n\tWed, 18 Jan 2023 01:01:15 -0800 (PST)","To":"libcamera-devel@lists.libcamera.org","Date":"Wed, 18 Jan 2023 08:59:41 +0000","Message-Id":"<20230118085953.7027-1-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v5 00/12] Raspberry Pi: Platform\n\tconfiguration and buffer allocation improvements","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":"Hi,\n\nVersion 5 addresses Kieran's comments and we switch the sense of the hint.\nSo we replace the enum MandatoryRequestBuffer with OptionalStream. No other\nchanges in this version over v4.\n\nThanks,\nNaush\n\nNaushir Patuck (12):\n  libcamera: stream: Add stream hints to StreamConfiguration\n  libcamera: pipeline: Add a platform configuration file helper\n  pipeline: raspberrypi: Add a pipeline config structure\n  pipeline: raspberrypi: Reorder startup drop frame initialisation\n  pipeline: raspberrypi: Handle OptionalStream hints for Unicam Image\n  libcamera: pipeline: build: Add pipeline_data_dir variable\n  pipeline: raspberrypi: Read config parameters from a file\n  pipeline: raspberrypi: Handle OptionalStream hints for ISP Output0\n  pipeline: raspberrypi: Validate OptionalStream in queueRequestDevice()\n  pipeline: raspberrypi: Add a parameter to disable startup drop frames\n  pipeline: raspberrypi: Allow pipeline handler to always use the newest\n    frame\n  pipeline: raspberrypi: Add minimal memory usage config file\n\n include/libcamera/internal/pipeline_handler.h |   3 +\n include/libcamera/stream.h                    |   8 +\n src/libcamera/pipeline/meson.build            |   3 +\n .../pipeline/raspberrypi/data/example.yaml    |  29 +++\n .../pipeline/raspberrypi/data/meson.build     |   9 +\n .../raspberrypi/data/minimal_mem.yaml         |  29 +++\n .../pipeline/raspberrypi/meson.build          |   2 +\n .../pipeline/raspberrypi/raspberrypi.cpp      | 215 +++++++++++++++---\n src/libcamera/pipeline_handler.cpp            |  60 +++++\n src/libcamera/stream.cpp                      |  24 ++\n 10 files changed, 351 insertions(+), 31 deletions(-)\n create mode 100644 src/libcamera/pipeline/raspberrypi/data/example.yaml\n create mode 100644 src/libcamera/pipeline/raspberrypi/data/meson.build\n create mode 100644 src/libcamera/pipeline/raspberrypi/data/minimal_mem.yaml"}