{"id":12221,"url":"https://patchwork.libcamera.org/api/1.1/covers/12221/?format=json","web_url":"https://patchwork.libcamera.org/cover/12221/","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":"<20210507084042.31879-1-naush@raspberrypi.com>","date":"2021-05-07T08:40:37","name":"[libcamera-devel,v6,0/5] ipa: raspberrypi: Rate-limit the controller algorithms","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/12221/mbox/","series":[{"id":2010,"url":"https://patchwork.libcamera.org/api/1.1/series/2010/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2010","date":"2021-05-07T08:40:37","name":"ipa: raspberrypi: Rate-limit the controller algorithms","version":6,"mbox":"https://patchwork.libcamera.org/series/2010/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/12221/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 61E36BF831\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri,  7 May 2021 08:40:51 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 996326891A;\n\tFri,  7 May 2021 10:40:50 +0200 (CEST)","from mail-wr1-x429.google.com (mail-wr1-x429.google.com\n\t[IPv6:2a00:1450:4864:20::429])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 166226890C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  7 May 2021 10:40:49 +0200 (CEST)","by mail-wr1-x429.google.com with SMTP id x5so8297023wrv.13\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 07 May 2021 01:40:49 -0700 (PDT)","from naush-laptop.pitowers.org\n\t([2a00:1098:3142:14:81ab:95ee:9715:e9fb])\n\tby smtp.gmail.com with ESMTPSA id\n\tl12sm7604098wrm.76.2021.05.07.01.40.47\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 07 May 2021 01:40:48 -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=\"Qk9XDrVG\"; 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=34jK/YPpLti8Gf/xto5uyPs6KXIeT3RU5TdmynaIq0w=;\n\tb=Qk9XDrVGvego35S5TiLzQNqjaKIjBPprHackDP3h8zWvB23ueWOZhO5/YWkwtNBLr9\n\tboUr7LlE7Hf3rNnZHclrXtjreoPtVtkLhvTPTZZxL5cVupjc8UhRQrlU53XLDRWfWZz4\n\tmNjxjdB6p3ZWmZspyJ4lgoDO1ybgiLgTsZfkpQT0rRYTtMcSI5yZjD20iuC1PWHemCki\n\t+8LOe+8g498cEKfWSijioZnIpedmwkczreU4y2lnCel27XSsEXq1bWK14m4DdNx2sEYS\n\tB+lK3BRxRWQAbvRlViYJrbU70zZPML2w55mgT65Vn6ZS4ZvmAXMdaY0AT8zOGRb1MATd\n\tQKOQ==","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=34jK/YPpLti8Gf/xto5uyPs6KXIeT3RU5TdmynaIq0w=;\n\tb=ok1L20ZlvD/QPUJrf8GZGeUFeTk9vAGgsE1JYePIlp2s6QM4jtw1idzKI5qjGsWfS8\n\tmor/76lZpbsiqeU83RsuQzLF5MfzP+H7R9FZhaFrY69adla2Rcp6LEwJ7SIDpbEe6hXD\n\teZxiRnBZR1U+xC5UwDE11fdI8g/IHu97aixZAU3t1TUuoNqkYF8uKeGupFq/GF8UPW/+\n\t7u6fHuqETzrVGFFrdl4qlW/k0A5TkNElCrkSKDvoXR9lJfcZDS+yeH5EFRko0SH5G26I\n\tmHv4JjCBHGQEQCWUGhHrydiIrJJZQ7ouGrTklC/dzJtdEsbmH6Cl2R5wCSSxMChwS36D\n\tDCtA==","X-Gm-Message-State":"AOAM532wsT797cvcoRm4vaXGA+FXbXxZez0Tsuh5lTrJu7BLK/SkXve+\n\tY6vDhb89Ui7EeoXuF9rVqWSdGUK+maWGEA==","X-Google-Smtp-Source":"ABdhPJyD74MYQOT7y8rVcalIQ73WNZyxuXyDUD0mgyyUuceitYb/3xGnvJr+eoaoJjs2Lu8UW4b+Ew==","X-Received":"by 2002:adf:fe42:: with SMTP id m2mr10632306wrs.84.1620376848470;\n\tFri, 07 May 2021 01:40:48 -0700 (PDT)","From":"Naushir Patuck <naush@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Fri,  7 May 2021 09:40:37 +0100","Message-Id":"<20210507084042.31879-1-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v6 0/5] ipa: raspberrypi: Rate-limit the\n\tcontroller algorithms","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 v6 of the IPA rate-limiting patch series.  Changes from v5:\n\n- RPiController::Metadata::Merge now called RPiController::Metadata::Overwrite\nand we use std::map::merge() and std::swap() instead of a loop.\n\n- Add a 10% tolerance to the timestamp check.\n\n- Remove debug logging point when rate-limiting the IPA.\n\nThanks,\nNaush\n\nNaushir Patuck (5):\n  ipa: raspberrypi: Store dropped frame count in a member variable\n  ipa: raspberrypi: Reformat RPiController::Metadata class header\n  ipa: raspberrypi: Add move/copy ctors and operators to Metadata class\n  ipa: raspberrypi: Add Overwrite method to RPiController::Metadata\n  ipa: raspberrypi: Rate-limit the controller algorithms\n\n src/ipa/raspberrypi/controller/metadata.hpp   | 67 +++++++++++++++++--\n src/ipa/raspberrypi/raspberrypi.cpp           | 62 ++++++++++++++---\n .../pipeline/raspberrypi/raspberrypi.cpp      |  5 ++\n 3 files changed, 117 insertions(+), 17 deletions(-)"}