{"id":8866,"url":"https://patchwork.libcamera.org/api/1.1/patches/8866/?format=json","web_url":"https://patchwork.libcamera.org/patch/8866/","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":"<20200720091311.805092-5-naush@raspberrypi.com>","date":"2020-07-20T09:13:06","name":"[libcamera-devel,v4,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=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/8866/mbox/","series":[{"id":1117,"url":"https://patchwork.libcamera.org/api/1.1/series/1117/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1117","date":"2020-07-20T09:13:02","name":"Zero-copy RAW stream work","version":4,"mbox":"https://patchwork.libcamera.org/series/1117/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/8866/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/8866/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 09CCABD792\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 20 Jul 2020 09:13:34 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id C9F9060729;\n\tMon, 20 Jul 2020 11:13:33 +0200 (CEST)","from mail-wm1-x333.google.com (mail-wm1-x333.google.com\n\t[IPv6:2a00:1450:4864:20::333])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 2FEEB60717\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 20 Jul 2020 11:13:31 +0200 (CEST)","by mail-wm1-x333.google.com with SMTP id o2so24447669wmh.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 20 Jul 2020 02:13:31 -0700 (PDT)","from naushir-VirtualBox.patuck.local ([88.97.76.4])\n\tby smtp.gmail.com with ESMTPSA id\n\tu1sm38137185wrb.78.2020.07.20.02.13.29\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 20 Jul 2020 02:13:29 -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=\"JGpeFBBk\"; 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=6HHVIiW2Zt33xaBdxR4KVZKDUQQdUezTVtI0Akxm8s4=;\n\tb=JGpeFBBkGR6oP9JT4e5rNe4x60EZzKiuIUtDA7kuNyn5oO2UZHuYglmmldpuAHm8es\n\t5XBzzOM3/O8jvikCz701H5qQr96DaGyNsz7/+6Eh4ldqgN+0G7AxIuWL93fL7ylCrD6x\n\tAYZ6gGY7r8JIriIqQkDy+PFOLONsEVR1R6ucuAAE58tu2BRWCa3bzc63P5Uxs9otZKgJ\n\t6POz6CAscvFscj0N84e7VcacjRXup5uCd6Vruy8vhpaA1Wx9W2V6uWUti6RwqvpOADSx\n\tTSOD7Khku+Q1NQ63S9CLXwFP5hIwnErys0MJICcx4dlUdm7IlamfojAPP9r7PGsAh8IE\n\tLuLw==","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=6HHVIiW2Zt33xaBdxR4KVZKDUQQdUezTVtI0Akxm8s4=;\n\tb=m8LTDCbr+4/OZ8FP8xFZsdJxDbwKA64qIv7lCRj1WuMvFAiks7TEMVyujIUAOm6zXb\n\tHcHLjgte+fI6VTb/Msy9Gl48OVZFTEyBlZU91GODntu2av7zOqwfePKgnCuFBpvqU/jS\n\tQzFYFncZLqXiaHZab5ZtejBEXqB6MiBb/XWcvs2A20VZTpFAS+yNPlzdSpbgZ/GThGbY\n\t6jhMNi5TDTk0y1OQsf7Nu2kCFlyyDpE5GaDsKeZd4AJ+6x2zf0i/Vld3thcY4OaFHkL+\n\t3XcaLVj2u7YFAB/ucqQ11nsGaUZrXdfANeVl9Q+4mXsiNf3plSOQ8nPIZcqoTJVW+oP5\n\tndig==","X-Gm-Message-State":"AOAM532Q+jJSMf4pnJLQ19kNxJ+jjqLYILiddpoIE3sF7tDh75QO9DIW\n\tdMyJ9M5+x+eWkigDQCwMP3PCIJEqWrBvvA==","X-Google-Smtp-Source":"ABdhPJwzcHPCHWs8yDMFfxGcfQepyT3uvXNcWxyTkoNiKGpuT23CvkcNrjokJHYJDGPQ+fFoRFXIEw==","X-Received":"by 2002:a05:600c:4114:: with SMTP id\n\tj20mr20293949wmi.74.1595236410564; \n\tMon, 20 Jul 2020 02:13:30 -0700 (PDT)","From":"Naushir Patuck <naush@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Mon, 20 Jul 2020 10:13:06 +0100","Message-Id":"<20200720091311.805092-5-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","In-Reply-To":"<20200720091311.805092-1-naush@raspberrypi.com>","References":"<20200720091311.805092-1-naush@raspberrypi.com>","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v4 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=\"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 35f14dda..486345fa 100644\n--- a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\n+++ b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\n@@ -379,7 +379,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","v4","4/9"]}