{"id":9520,"url":"https://patchwork.libcamera.org/api/1.1/patches/9520/?format=json","web_url":"https://patchwork.libcamera.org/patch/9520/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/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":"<20200908074913.109244-5-naush@raspberrypi.com>","date":"2020-09-08T07:49:04","name":"[libcamera-devel,v7,04/12] libcamera: pipeline: raspberrypi: Increase the number of RAW buffers","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"ee9c461e2dc5e97b912e958e5d93cfb3f5ad0c38","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/1.1/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/9520/mbox/","series":[{"id":1271,"url":"https://patchwork.libcamera.org/api/1.1/series/1271/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1271","date":"2020-09-08T07:49:00","name":"Zero-copy RAW stream work","version":7,"mbox":"https://patchwork.libcamera.org/series/1271/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/9520/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/9520/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 776C5BDB1C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue,  8 Sep 2020 07:49:24 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 4585562C15;\n\tTue,  8 Sep 2020 09:49:24 +0200 (CEST)","from mail-wr1-x441.google.com (mail-wr1-x441.google.com\n\t[IPv6:2a00:1450:4864:20::441])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id C4FC562C08\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  8 Sep 2020 09:49:22 +0200 (CEST)","by mail-wr1-x441.google.com with SMTP id c18so17982922wrm.9\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 08 Sep 2020 00:49:22 -0700 (PDT)","from naushir-VirtualBox.patuck.local ([88.97.76.4])\n\tby smtp.gmail.com with ESMTPSA id\n\tq15sm32534502wrr.8.2020.09.08.00.49.21\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 08 Sep 2020 00:49:21 -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=\"spNUbmYh\"; 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=nE/emN/9YQ8F/OJCPwpwoa+soM6JSc3SLzfzjKB3NuU=;\n\tb=spNUbmYhTqbIIgGx3pTJrmVoC0A/ArDmmJMDZmmVQHr24H2GjGjdhg0hf1bDT6Xhd8\n\t29BE4gL8y4pIP4r4OV8V+7oD/+3HbtNidQrSxgFXId4/y90oG754zQnImRCnyuBEboQL\n\tYuKEM28KejS3BozmBQNX7NzRtthJBPvz4QjoM98gS0I+HBuL3VEbjCQn5NjK+3GFnFJa\n\tkLbOHY+EX2TLZNOAIR/UwcLoe8bGjVjZSEiLOzoeFOtie7HHVnMYlwDHYuc3cr4aRpYu\n\t4sPCg8Gyisjby/sydVdu9R0zZe4ax3/ujWC899rUmXpjw+2Pum+savK+Ua14rT7KPYuN\n\tgWOA==","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=nE/emN/9YQ8F/OJCPwpwoa+soM6JSc3SLzfzjKB3NuU=;\n\tb=mEu2gdRgDpoAhzg3X1d+b7bsooWDvi+X2eXouU66v6muzwpjw72IOXhLCJVfOmShSP\n\tlw2SnSpTKiluL0H4Y5taucHIKV9p2EmF7eCA7y+701RT7q0HiPDxYYej6P8YwrsCqEef\n\taqSu8yApr7YaMZpzru1aaTOezUgdDOekVQHR60Vn1RDkOIqh5ObtkibKpGzjspJZXADU\n\t0ZuBFoSIThprPqtamCIkekvOZwB4BmbbeZCzRjWgNR+FXepnQj5+UP+PwX9CV3j4nPLp\n\teNBmJuruuKDE2lptZO5OVhVm//Q3XPLkxwHlYHooNzi5lSQK+rTJMQCpUHik9nN5iEbM\n\tB2jg==","X-Gm-Message-State":"AOAM531dhBwQ7qgTupp40gJhEYMA0fxiM6zGh7vlHYCsbikvu0jXDWAx\n\t3Uz4H4JdHjp+EPB0TjBDop8X3bphY+HtlA==","X-Google-Smtp-Source":"ABdhPJwL0HIGJUrg765TS8ROGeAU8GJYU/2TLHoxcG1NlQLU3P+K2vOJ6tl/Z4khXIlHEI3k8zcpWA==","X-Received":"by 2002:adf:b306:: with SMTP id\n\tj6mr24317671wrd.279.1599551362253; \n\tTue, 08 Sep 2020 00:49:22 -0700 (PDT)","From":"Naushir Patuck <naush@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Tue,  8 Sep 2020 08:49:04 +0100","Message-Id":"<20200908074913.109244-5-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","In-Reply-To":"<20200908074913.109244-1-naush@raspberrypi.com>","References":"<20200908074913.109244-1-naush@raspberrypi.com>","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v7 04/12] 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>\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nTested-by: David Plowman <david.plowman@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 f15345ea..ed83a2c6 100644\n--- a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\n+++ b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\n@@ -378,7 +378,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","v7","04/12"]}