{"id":9165,"url":"https://patchwork.libcamera.org/api/covers/9165/?format=json","web_url":"https://patchwork.libcamera.org/cover/9165/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/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":"<20200804095850.275499-1-naush@raspberrypi.com>","date":"2020-08-04T09:58:38","name":"[libcamera-devel,v6,00/12] Zero-copy RAW stream work","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/9165/mbox/","series":[{"id":1187,"url":"https://patchwork.libcamera.org/api/series/1187/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1187","date":"2020-08-04T09:58:38","name":"Zero-copy RAW stream work","version":6,"mbox":"https://patchwork.libcamera.org/series/1187/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/9165/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 60BFEBD86F\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue,  4 Aug 2020 09:58:57 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id E3FDB603C9;\n\tTue,  4 Aug 2020 11:58:56 +0200 (CEST)","from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com\n\t[IPv6:2a00:1450:4864:20::42b])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 16B6E6039D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  4 Aug 2020 11:58:56 +0200 (CEST)","by mail-wr1-x42b.google.com with SMTP id a5so26836293wrm.6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 04 Aug 2020 02:58:56 -0700 (PDT)","from naushir-VirtualBox.patuck.local ([88.97.76.4])\n\tby smtp.gmail.com with ESMTPSA id\n\t32sm34047234wrh.18.2020.08.04.02.58.54\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 04 Aug 2020 02:58:54 -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=\"Csk1+Tty\"; 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=DG/EvSFlJn6+vakpIWVJIrecEcXChEigahyu7FEmt1k=;\n\tb=Csk1+TtySII14anwi5ZI6Ij6G9KXtWyulG6d1zEhldJPWVtmtW1mjudW0h0v930H82\n\t4r0uH5RD+CpiO4hqutnBaG7aUlR/2I7CaXOo5id2LacUhiq8+5ymU7dZINuyRf0kRYqt\n\txcD8HXv9/kh6KQ5lxmNWdvEAmeBkM8uWUqdD3mD4JC9p1Muk0YhKkiBbnkNRDH0bsDTs\n\tJNO/TpipiD6Np2qrNsovN6IUQqsbV6OA8AmC/w65nUvgD6qUYYCLFLQn5Fn3TbDTOrv4\n\tvemFLWkT0BU+Zio0c//FdprX9EW3rkFnARwCLM2D2opbsGsjKtkX2BYPtDqQ9gPJIhpC\n\tUsFg==","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=DG/EvSFlJn6+vakpIWVJIrecEcXChEigahyu7FEmt1k=;\n\tb=PiyOkye4bXfNNFpdrOeYl1FhsRZ3LV2GNSszpkYaHhc92fXH6hwLy59S80mVafYU1c\n\t/wgSq5zvW+HM1PfuPIODuzYMS76jMdA+i42uJmysNySfRCSZCSXQX6ZcELT92vLGRHhn\n\t7rnU90KF2Wkw9MoMV4jj2tQUZEspDrN7IATG2hBps8xZs/IkfHXsEFCkbznX0aikmArM\n\t0zPe/Sl5M16j3jpFbu0feTnujBF/ldXL7AOQzeKx+RKsdJcnuA5Il0qS4gnGExjPF8F0\n\tUf1AqLgbKqfdQaJQ4V6m5OWFN4Iu+6kUGKtslFshJqDe6I27tPE5XDNnah17msxTUOVX\n\t63TA==","X-Gm-Message-State":"AOAM533yaCzD5Zm2GOuqNOXUBfVFC8QwrwHqVdRvZ4wEsbqyEoYJiN6c\n\t7DUNCYXkbJMdnNKG1T19b5RPJ1JizfeqPw==","X-Google-Smtp-Source":"ABdhPJxtAnSYS6Wm4upZr69HKehmoVpDqoUQSH3w4xQh6PqSqckNRrkzshH0hncrRrSzuIAb6CtJBQ==","X-Received":"by 2002:a05:6000:1211:: with SMTP id\n\te17mr19120546wrx.263.1596535135493; \n\tTue, 04 Aug 2020 02:58:55 -0700 (PDT)","From":"Naushir Patuck <naush@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Tue,  4 Aug 2020 10:58:38 +0100","Message-Id":"<20200804095850.275499-1-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v6 00/12] 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 the next version of the zero-copy function patchset for the Raspberry Pi\nplatform.  Patches 01-09/12 are identical to the previous patchset, and patches\n10-12/12 add functionality to support any external buffer allocation to be used\nfor stream captures.\n\nRegards,\nNaush\n\nNaushir Patuck (12):\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  pipeline: raspberrypi: Use an unordered_map for the stream buffer list\n  pipeline: raspberrypi: Use an unordered_set to store IPA buffer ids\n  pipeline: ipa: raspberrypi: Handle any externally allocated\n    FrameBuffer\n\n include/libcamera/ipa/raspberrypi.h           |  13 +-\n src/ipa/raspberrypi/raspberrypi.cpp           |  26 +-\n .../pipeline/raspberrypi/meson.build          |   1 +\n .../pipeline/raspberrypi/raspberrypi.cpp      | 587 ++++++++----------\n .../pipeline/raspberrypi/rpi_stream.cpp       | 244 ++++++++\n .../pipeline/raspberrypi/rpi_stream.h         | 140 +++++\n 6 files changed, 662 insertions(+), 349 deletions(-)\n create mode 100644 src/libcamera/pipeline/raspberrypi/rpi_stream.cpp\n create mode 100644 src/libcamera/pipeline/raspberrypi/rpi_stream.h"}