From patchwork Fri Nov 12 10:03:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 14586 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 71B9FBF415 for ; Fri, 12 Nov 2021 10:03:44 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D5CCF6033C; Fri, 12 Nov 2021 11:03:43 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="CXIWVDDf"; dkim-atps=neutral Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2B5FF60234 for ; Fri, 12 Nov 2021 11:03:42 +0100 (CET) Received: by mail-wr1-x42b.google.com with SMTP id u1so14465068wru.13 for ; Fri, 12 Nov 2021 02:03:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bHxNiOeobB0iIFukEOvXOq+egDQzp+ycRrwhN8lxWy0=; b=CXIWVDDfmYsa4xv9DpZSa1Bx/hvilQWWz8GR+LKP0MlkiSX+waUOzmE1Q24OttDdou VERUpVk90/DK4MrmLeSMzNyu70KNF5x7zFE+P3XelIDazsJBGa110z+Vf9ETjZsTpT0s YgGbA8H6yman2ItNrcCDDyduyVKarAL3TtzT2NjdRfk5A6SFHFqubFpIJCfS2eMF3Rzm 7c8B/DXSrdTQGIGhKEJkQQKBcSgRG3b5zkbnUYvLOxZqZGrQ3A3KBy1ywmZzWkrvMFMg 3FOl1OdD2SclmJ3EUVz+x/e7f4TFi/H1gd5zBmd6GF84UYIXPNO/be025TX9+g+sXQdM vXGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bHxNiOeobB0iIFukEOvXOq+egDQzp+ycRrwhN8lxWy0=; b=womRni6f87xqDtuVrGNd3VDfndWAOvkBhLghhBNsl2LyN5UFTcF7IlCY66d8HyHEI4 CJTMxFSw5qwE2ar4j4r406i3XptGlGkmzSPLZ/wX5o6YU9+yRYPriqGVb1WwZ/tUzG9k k3+yZBTe0rIGCoSEu5Hn9omNWgXQPY/PnDQ7qBZH9F12wDKu9hAXSxAmyX0o7ChKFKxp 7jjSKc0Mh7B7Ih8PZnPq0fTfki6K9gnpTyk4E/Lkh7BxH1Z7QQ8MFSxCrRtPDMMpbTIz 0uzAApIMac54xFCSYvxr92oeMBb928iAxA0hyK9u+Wo3Yc4WtYkDDm6gk5Sq7ZRcbpjL 4HTg== X-Gm-Message-State: AOAM531PVTfz2yrrofFsj+lY7Vrbj2q3XnFGEbZekTW9afhYTefJ1L9G duC5MVW7d5PhYfHj7xW0AmGCDMsArl7YyXAk X-Google-Smtp-Source: ABdhPJymSfV8mj7hUx+zGO/aDw+7fPzGUkZL9wA9IXCNwsGnGye2jlcbGU/gij6rgdsgO7EvRg9Vzg== X-Received: by 2002:adf:f489:: with SMTP id l9mr17517439wro.268.1636711421649; Fri, 12 Nov 2021 02:03:41 -0800 (PST) Received: from naush-laptop.pitowers.org ([93.93.133.154]) by smtp.gmail.com with ESMTPSA id o9sm5283155wrs.4.2021.11.12.02.03.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Nov 2021 02:03:41 -0800 (PST) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Fri, 12 Nov 2021 10:03:02 +0000 Message-Id: <20211112100305.2217099-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 0/3] raspberrypi: Rework the internal buffer allocation scheme X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Roman Stratiienko Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi, The second version of this series changes the following over v1: - Apply Laurent's suggestions in patch 2/3. - Allocate 2 internal buffers for Unicam instead of one in patch 2/3. Thanks, Naush Naushir Patuck (3): pipeline: raspberrypi: Add const qualifer in isRaw() pipeline: raspberrypi: Rework the internal buffer allocation scheme pipeline: raspberrypi: Increase the V4L2BufferCache slot allocations .../pipeline/raspberrypi/raspberrypi.cpp | 45 ++++++++++++++----- .../pipeline/raspberrypi/rpi_stream.cpp | 8 ++++ 2 files changed, 41 insertions(+), 12 deletions(-)