{"id":12409,"url":"https://patchwork.libcamera.org/api/1.1/covers/12409/?format=json","web_url":"https://patchwork.libcamera.org/cover/12409/","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":"<20210525114241.906280-1-naush@raspberrypi.com>","date":"2021-05-25T11:42:37","name":"[libcamera-devel,v5,0/4] Switch RaspberryPi IPA to use std::chrono::duration","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/12409/mbox/","series":[{"id":2066,"url":"https://patchwork.libcamera.org/api/1.1/series/2066/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2066","date":"2021-05-25T11:42:37","name":"Switch RaspberryPi IPA to use std::chrono::duration","version":5,"mbox":"https://patchwork.libcamera.org/series/2066/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/12409/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 D684EC3203\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 25 May 2021 11:42:48 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id E09D068924;\n\tTue, 25 May 2021 13:42:47 +0200 (CEST)","from mail-wm1-x330.google.com (mail-wm1-x330.google.com\n\t[IPv6:2a00:1450:4864:20::330])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 60A356050E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 25 May 2021 13:42:46 +0200 (CEST)","by mail-wm1-x330.google.com with SMTP id\n\ts5-20020a7bc0c50000b0290147d0c21c51so12644377wmh.4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 25 May 2021 04:42:46 -0700 (PDT)","from naush-laptop.pitowers.org\n\t([2a00:1098:3142:14:f3e2:c7ee:8a9d:4c3a])\n\tby smtp.gmail.com with ESMTPSA id\n\tv15sm2471443wmj.39.2021.05.25.04.42.45\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 25 May 2021 04:42:45 -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=\"IyRxbNmA\"; 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=zrLhS1iZ9BbMfpRz0eA4it/uSRgjNa1WA90MJ4+9bio=;\n\tb=IyRxbNmAN7eDPHLkxD27Xfb1vVod029N2YJ3elICa+koQ0ult0o3za+QYicN/3kmLD\n\t/68gbQ0kbQA3zI90nG5zWpEqjmmAlV3YcM1hVdy1cH8lTz/25lDP83Vnld2bdkR9GUMi\n\tIorbsXFPKlCnEQPFs0VYoLaWVsrrmaIEPKg4tBlUSoMk8BvVZa6ixU8hEUGKBpuXYxZc\n\t9teLF6W5weAY+Z9H1RRNwGFMqO7qQElmYtBq+NcWNxzfX7uj8USXaWppLB+/ijhRyQaV\n\te/R3IdouoSv7M8tUCgc36t676i40rVBjZp2HfkwGKijeEwIPnOZojz21f1aMoyPcSO3p\n\t4quA==","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=zrLhS1iZ9BbMfpRz0eA4it/uSRgjNa1WA90MJ4+9bio=;\n\tb=MW+9JKbMCeSVgxnpXIz4/wQ+bKQbYSDfvdrRIamtrdv9BqaHvnkgBsxkj/kStTUi48\n\tWp6PGWMNWKQk5ZMKisTE9+kZ1y9OUwp0DIKycMoZQoIvbipRqMJbriZYGPBELHmXiw2+\n\tDgsQGiyvRyFQ/35z/zdaBMQHbX05MCKfRY49+QSaWrvOe6EFcUwizjN6Jm69QFeRDC4t\n\tS7l0zzH17bYKbPVU511UWYaWi3WOb7sV1D7yCP7+EbEyu56g31R5V7ZSAyGuHTARVSxx\n\t1zh9hmoLF0BMYXBisetmgl38cmlsjppSYaH1EhV7Jh26x6z5zv8XKswInIaZIosLzBQc\n\tp0lw==","X-Gm-Message-State":"AOAM532Lb27Rs3Mbk0EsOp2h9KxhH7PJm3Xkhk7CO4Hzde8EnXVNSCNw\n\tSU295AKR5E9j16TvE/LHN+L0V+LFWIieJg==","X-Google-Smtp-Source":"ABdhPJxw6UZZJMVeyvbX3s9SlKD/ialLVkdRLa6BFKXC7fg7cD29q5RwNNgGBBV+te3Eb9Y/3ZosKQ==","X-Received":"by 2002:a1c:f605:: with SMTP id w5mr3450808wmc.93.1621942965616; \n\tTue, 25 May 2021 04:42:45 -0700 (PDT)","From":"Naushir Patuck <naush@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Tue, 25 May 2021 12:42:37 +0100","Message-Id":"<20210525114241.906280-1-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v5 0/4] Switch RaspberryPi IPA to use\n\tstd::chrono::duration","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>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi,\n\nThe following changes have been made in version 5 of this patch series:\n\n- Removed the using... directive from all header files, and expanded the namespace\ninstead.\n- Fix struct formatting in lux.cpp.\n- Remove BaseDuration references from the documentation and remove full stops\nfrom single line statements to match the guidelines.\n\nThanks,\nNaush\n\nNaushir Patuck (4):\n  libcamera: utils: Add helper class for std::chrono::duration\n  ipa: raspberrypi: Switch ipa and cam_helper to use utils::Duration\n  ipa: raspberrypi: Switch AgcAlgorithm API to use utils::Duration\n  ipa: raspberrypi: Switch the AGC/Lux code to use utils::Duration\n\n include/libcamera/internal/utils.h            | 42 +++++++++\n src/ipa/raspberrypi/cam_helper.cpp            | 18 ++--\n src/ipa/raspberrypi/cam_helper.hpp            | 10 ++-\n .../raspberrypi/controller/agc_algorithm.hpp  |  7 +-\n src/ipa/raspberrypi/controller/agc_status.h   | 12 +--\n src/ipa/raspberrypi/controller/camera_mode.h  |  6 +-\n .../raspberrypi/controller/device_status.h    |  6 +-\n src/ipa/raspberrypi/controller/rpi/agc.cpp    | 88 +++++++++++--------\n src/ipa/raspberrypi/controller/rpi/agc.hpp    | 34 +++----\n src/ipa/raspberrypi/controller/rpi/lux.cpp    | 19 ++--\n src/ipa/raspberrypi/controller/rpi/lux.hpp    |  4 +-\n src/ipa/raspberrypi/raspberrypi.cpp           | 69 ++++++++-------\n src/libcamera/utils.cpp                       | 37 ++++++++\n 13 files changed, 232 insertions(+), 120 deletions(-)"}