{"id":8862,"url":"https://patchwork.libcamera.org/api/1.1/covers/8862/?format=json","web_url":"https://patchwork.libcamera.org/cover/8862/","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-1-naush@raspberrypi.com>","date":"2020-07-20T09:13:02","name":"[libcamera-devel,v4,0/9] Zero-copy RAW stream work","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/1.1/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/8862/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/covers/8862/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 5CB57BD792\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 20 Jul 2020 09:13:29 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id B18BE605BB;\n\tMon, 20 Jul 2020 11:13:28 +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 691BB60496\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 20 Jul 2020 11:13:27 +0200 (CEST)","by mail-wm1-x333.google.com with SMTP id l2so24436168wmf.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 20 Jul 2020 02:13:27 -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.25\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 20 Jul 2020 02:13:25 -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=\"CsVZsIOZ\"; 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:mime-version\n\t:content-transfer-encoding;\n\tbh=WhR4QT3+YWaOAh5Rd7LokGr5HCLYxM4jiYvak70N94s=;\n\tb=CsVZsIOZw1fdrFW02gOu1iiteJ0zN6PTpZUb8zWSt1280UT6ucqs4LXTxM8EgP2WYv\n\tFCYZqSQVKJWpD3UorqO6CXyF0LcptBvycBo+zrwnOshci77akHimU4cYd2zRy5dunZqH\n\twUQZOxZREDxE5Qs6XCJRKVugQNqA6BGXjl7DydwWxQ11r9ERrPSVfP1XZpb9VMElnjf0\n\tugPwI684CJLU9a8NJdIcg7ScCwCwv9vJTQlxIMqWm6z+WNBLNb0tkRKVQeaOiym8p/x+\n\taKWqsBc3u9DFL4fUyPj0raXMf5dDYyzQn66pn5vLi5oxz23wWz6luJ8e+7tAVIxUbBse\n\tzBEQ==","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:mime-version\n\t:content-transfer-encoding;\n\tbh=WhR4QT3+YWaOAh5Rd7LokGr5HCLYxM4jiYvak70N94s=;\n\tb=YD0U+jchkNTdZPIKJqrdID4v4hWxPfWnnbjrCo+p98+jUbt2W+iyFIJ3dUDwKHFs0J\n\twFFl/9f1McOSjFpqBR9EDo+tqjKbkGwDvZFb3RHe4HwEKIJn9I2dkPhYEsgyIZonpgH9\n\tVRT7EKzgeevndSGcETF1vtTBO8BtNyJ9nQSBbBWG/RPRLnuql94d7Gn3/krpN6lKDGzG\n\tpvxE05Uid8f4nUwEgtnErA0vBHPVBORgjjizLkiT6TwBlkgCOLqDMwkETDYiMc0Rhjan\n\tnHqWIVAfcSinP8zlcfWO+QEqzg+QRcEqzFh41j0EIFiMTXOvfNaVtrfsu0CWWfg8DNrC\n\taPKQ==","X-Gm-Message-State":"AOAM530YwI63EL1QvYfPDUe8rN71yITu/QrcD2CLSAhm7oef9A+/4yUQ\n\tGk8Ig51Si3LnaqLqsIm1sdbKxUaL/e+cTA==","X-Google-Smtp-Source":"ABdhPJwScxSC07V3lytzzl6Nj/gvgPTK7ZspGzl/dJMA7+6Pj2Kc42FERsvXl2aQYyILzFNCeKRViA==","X-Received":"by 2002:a1c:3245:: with SMTP id\n\ty66mr19581681wmy.64.1595236406672; \n\tMon, 20 Jul 2020 02:13:26 -0700 (PDT)","From":"Naushir Patuck <naush@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Mon, 20 Jul 2020 10:13:02 +0100","Message-Id":"<20200720091311.805092-1-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v4 0/9] Zero-copy RAW stream work","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=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi,\n\nHere is v4 of the patch set.  I have removed the patch related to external buffer\nhandling.  This needs a bit more though on how to implement, but should be fine,\nas no application uses this method of buffer handling yet.  This will be added\nseparately.\n\nRegards,\nNaush\n\n\nNaushir Patuck (9):\n  libcamera: pipeline: raspberrypi: Move RPiStream into a separate file\n  libcamera: pipeline: ipa: raspberrypi: Rework drop frame signalling\n  libcamera: pipeline: raspberrypi: Add some debug logging\n  libcamera: pipeline: raspberrypi: Increase the number of RAW buffers\n  libcamera: pipeline: raspberrypi: Remove const qualifier from\n    RPiStream\n  libcamera: pipeline: raspberrypi: Rework stream buffer logic for\n    zero-copy\n  libcamera: pipeline: raspberrypi: Fix bug in passing configuration to\n    IPA\n  libcamera: pipeline: raspberrypi: Add more robust stream buffer logic\n  libcamera: pipeline: ipa: raspberrypi: Remove use of FrameBuffer\n    cookie\n\n include/libcamera/ipa/raspberrypi.h           |   2 +-\n src/ipa/raspberrypi/raspberrypi.cpp           |  20 +-\n .../pipeline/raspberrypi/meson.build          |   1 +\n .../pipeline/raspberrypi/raspberrypi.cpp      | 524 +++++++-----------\n .../pipeline/raspberrypi/rpi_stream.cpp       | 216 ++++++++\n .../pipeline/raspberrypi/rpi_stream.h         | 118 ++++\n 6 files changed, 546 insertions(+), 335 deletions(-)\n create mode 100644 src/libcamera/pipeline/raspberrypi/rpi_stream.cpp\n create mode 100644 src/libcamera/pipeline/raspberrypi/rpi_stream.h"}