{"id":8827,"url":"https://patchwork.libcamera.org/api/1.1/patches/8827/?format=json","web_url":"https://patchwork.libcamera.org/patch/8827/","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":"<20200715140703.566298-5-naush@raspberrypi.com>","date":"2020-07-15T14:06:57","name":"[libcamera-devel,v2,04/10] 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/8827/mbox/","series":[{"id":1111,"url":"https://patchwork.libcamera.org/api/1.1/series/1111/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1111","date":"2020-07-15T14:06:53","name":"Zero-copy RAW stream work","version":2,"mbox":"https://patchwork.libcamera.org/series/1111/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/8827/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/8827/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 DD74FBD790\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 15 Jul 2020 14:07:18 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id A1D37609A5;\n\tWed, 15 Jul 2020 16:07:18 +0200 (CEST)","from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com\n\t[IPv6:2a00:1450:4864:20::42c])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 4210F60487\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 15 Jul 2020 16:07:16 +0200 (CEST)","by mail-wr1-x42c.google.com with SMTP id k6so2879206wrn.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 15 Jul 2020 07:07:16 -0700 (PDT)","from naushir-VirtualBox.patuck.local ([88.97.76.4])\n\tby smtp.gmail.com with ESMTPSA id\n\tl67sm4195339wml.13.2020.07.15.07.07.13\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 15 Jul 2020 07:07:13 -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=\"NzKZfcTU\"; 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=LZGD0uLcsL+C84A+8e4/kmbzXQMygMHVTfZe4dBWDLo=;\n\tb=NzKZfcTUrTIx1FaIXSndiZz3NNorocrT0olZBLdWMeq2QYbZ4zva9FLEJ6FG4qMbcZ\n\t41riHzcpvEd1hTFeYCHAYWI7MbTohwanUnFh/HMRe1nyFlJcwWjDE2qRRNc4fShcl96C\n\tCIAU0pn/DbrIbl2M0yhK5D4kQ3/k53iSXwbGyWEunfs2wiEiHKLUQ38+Gc5U7ufoDU6I\n\tzYLRg3OaWZz6JiQGXPpYyVdfymDuSRFlSKQgcrU9ozm6dKGTE5jy0feqfV9yjUtrYI9W\n\tPtwLFO/JkziureOmINTRmgPZZz9rrjuzEJKWGzBhKbDFVrqCAQEdopzEs9SE1UAs89IO\n\tZ9iw==","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=LZGD0uLcsL+C84A+8e4/kmbzXQMygMHVTfZe4dBWDLo=;\n\tb=IwbiFy3Pyxt8yV2HtB16YVFYX9+koUhnfT9NBVa2JygqkfgB/GyMlhLGr+1tGfY9YY\n\tWWaTRCesMy8mIectnU+oaH01AkkrR6loIqu8g8tVZd3y1DpLFp9rv9f0C7zU9IG3HQF4\n\t1mYjMgTwUz5buaWfkfHrjbAhKjyoXztriNLsKp3OYz14IxvKprocScUpr4nXLymiBWcW\n\t2ZxzCcRvf1oVmLzUJ6nBrpP0q6Eh0MMEClXRncSLz78//HjbRPQJwQg/f6mmKhbmfeCu\n\tqht9PKtZYop12zvsUFUXeSvZ4WENYYrEQbSygvA1ia1n2Ug3g2KDr8ZKr9XUlPwDw2ZQ\n\tAAfQ==","X-Gm-Message-State":"AOAM5309o4Y/bHdmqqJ7Ihk6AM6cG40hnUZ+V5POIKXhM8/tfGmXvhy+\n\t4Aw7GuLIYoeBFE7k3u+XKd+LRY+r5h8=","X-Google-Smtp-Source":"ABdhPJygsGzfiM94Sx5UFG7AGtCduevdkAVgj0L4OYxlEs1hlGODO6kML1ewgWTiT/4h2+oIUvwu4w==","X-Received":"by 2002:a5d:4e50:: with SMTP id\n\tr16mr11460765wrt.274.1594822035511; \n\tWed, 15 Jul 2020 07:07:15 -0700 (PDT)","From":"Naushir Patuck <naush@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Wed, 15 Jul 2020 15:06:57 +0100","Message-Id":"<20200715140703.566298-5-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","In-Reply-To":"<20200715140703.566298-1-naush@raspberrypi.com>","References":"<20200715140703.566298-1-naush@raspberrypi.com>","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v2 04/10] 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>\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","v2","04/10"]}