{"id":8838,"url":"https://patchwork.libcamera.org/api/covers/8838/?format=json","web_url":"https://patchwork.libcamera.org/cover/8838/","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":"<20200717085410.732308-1-naush@raspberrypi.com>","date":"2020-07-17T08:54:00","name":"[libcamera-devel,v3,00/10] 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/8838/mbox/","series":[{"id":1114,"url":"https://patchwork.libcamera.org/api/series/1114/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1114","date":"2020-07-17T08:54:00","name":"Zero-copy RAW stream work","version":3,"mbox":"https://patchwork.libcamera.org/series/1114/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/8838/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 79F30C0109\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 17 Jul 2020 08:54:18 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id BBC066053D;\n\tFri, 17 Jul 2020 10:54:17 +0200 (CEST)","from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com\n\t[IPv6:2a00:1450:4864:20::42f])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id CC43360538\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 17 Jul 2020 10:54:15 +0200 (CEST)","by mail-wr1-x42f.google.com with SMTP id k6so10188358wrn.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 17 Jul 2020 01:54:15 -0700 (PDT)","from naushir-VirtualBox.patuck.local ([88.97.76.4])\n\tby smtp.gmail.com with ESMTPSA id\n\t92sm14582375wrr.96.2020.07.17.01.54.14\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 17 Jul 2020 01:54:14 -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=\"F8NFv1nU\"; 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=4zXWFXCmDh9Ij4YxWBIGmqg5gHLhtJvVzPDMCTXqIjo=;\n\tb=F8NFv1nU95ugk5dWsv4R8b8Sm6DcKQCVwDoZI9I0DGLTHdOXdSK8HtlOlJnaW3cvJq\n\tIDgPHtRi1vOe2HrbyrB+44gYbXv6+V2yJHYzHppewVErKzy0bxEfBz+jaGjtvFObqu7v\n\tcacovZaQT0G23UEnlJt9OtjnMmYyfuoRe0uZ8xFnsNm7UtWPk8Y5RVbR+Sh3NifTF6zV\n\t0QOqrekllM9Z7simNv86mj0jz9/QmC3UmnV5oU3+8+ubCWj1tL2k+eru5zEvfN2qHipX\n\txRoaZSHjIcfKUy9bjN02EtKdf8zQW8jDqNFACC6WOaPxfWRLC42hgG2YCb51/Dn0DSUm\n\tlNDA==","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=4zXWFXCmDh9Ij4YxWBIGmqg5gHLhtJvVzPDMCTXqIjo=;\n\tb=oW793WUC2mz49Mf3G1VfAWwTjkA4+bSi3r7HBlUG6jpKO8TZ5HZauMGhgJaY6Vv4Y0\n\tE6n3Gfs+IGCwySjbtnLKRq25ebBMapZKGk9Z2uQef9a0RU8FHZv5fsagxIR0dM9T63m/\n\tfYnyw5VtSXGGXU6V0Cft8Om4puqADXg5q69JzsDOkCN41dlBYZT8sgLDwLeQZyO9Y6mU\n\tqcgyaHJo+3VZ12dNX+gJpf2+FpwQvny7OVZX/j1xF3z2DT8z5gH1Hd+GycZKpzHR1siM\n\tG2g75jERayRX6n4zsCPHH4o9d2zZcopswdT/q39ms/yCG2bQ3xYcVuf9k2CQH/ayGgKZ\n\tY4yw==","X-Gm-Message-State":"AOAM531iszMwkRFbV5b+WLutw4aRrfL2TLpgHt5erjwZ0VE+gYe5rEb6\n\t+CY7Qdrc1WiC+jvnvpiGQ5GTbrwqsd8=","X-Google-Smtp-Source":"ABdhPJyJFnJtZ0LPJ/xw3VNoh8OjjESIjeVa6Hy3eJcS7lgLaufjp3wEeWf8/TCjJharp/TrosVw6g==","X-Received":"by 2002:adf:ce85:: with SMTP id\n\tr5mr10143280wrn.157.1594976055094; \n\tFri, 17 Jul 2020 01:54:15 -0700 (PDT)","From":"Naushir Patuck <naush@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Fri, 17 Jul 2020 09:54:00 +0100","Message-Id":"<20200717085410.732308-1-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v3 00/10] 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\nThis is the next version of the zero-copy RAW stream work for the Raspberry Pi\npipeline handler.  All rework is now done to use the new IPA configuration passing\nmechanism.\n\nRegards,\nNaush\n\nNaushir Patuck (10):\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  libcamera: pipeline: raspberrypi: Handle any externally allocated\n    FrameBuffer\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      | 566 +++++++-----------\n .../pipeline/raspberrypi/rpi_stream.cpp       | 222 +++++++\n .../pipeline/raspberrypi/rpi_stream.h         | 118 ++++\n 6 files changed, 583 insertions(+), 346 deletions(-)\n create mode 100644 src/libcamera/pipeline/raspberrypi/rpi_stream.cpp\n create mode 100644 src/libcamera/pipeline/raspberrypi/rpi_stream.h"}