Cover Letter Detail
Show a cover letter.
GET /api/1.1/covers/12308/?format=api
{ "id": 12308, "url": "https://patchwork.libcamera.org/api/1.1/covers/12308/?format=api", "web_url": "https://patchwork.libcamera.org/cover/12308/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20210518100706.578526-1-naush@raspberrypi.com>", "date": "2021-05-18T10:07:02", "name": "[libcamera-devel,0/4] Switch RaspberryPi IPA to use std::chrono::duration", "submitter": { "id": 34, "url": "https://patchwork.libcamera.org/api/1.1/people/34/?format=api", "name": "Naushir Patuck", "email": "naush@raspberrypi.com" }, "mbox": "https://patchwork.libcamera.org/cover/12308/mbox/", "series": [ { "id": 2034, "url": "https://patchwork.libcamera.org/api/1.1/series/2034/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2034", "date": "2021-05-18T10:07:02", "name": "Switch RaspberryPi IPA to use std::chrono::duration", "version": 1, "mbox": "https://patchwork.libcamera.org/series/2034/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/covers/12308/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 BB519C31FF\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 18 May 2021 10:09:13 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id DB3556891F;\n\tTue, 18 May 2021 12:09:12 +0200 (CEST)", "from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com\n\t[IPv6:2a00:1450:4864:20::32f])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 37C2A602B2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 18 May 2021 12:09:11 +0200 (CEST)", "by mail-wm1-x32f.google.com with SMTP id\n\tu4-20020a05600c00c4b02901774b80945cso1159828wmm.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 18 May 2021 03:09:11 -0700 (PDT)", "from naush-laptop.pitowers.org\n\t([2a00:1098:3142:14:34e4:187b:f2:ed28])\n\tby smtp.gmail.com with ESMTPSA id\n\to11sm6566682wrq.93.2021.05.18.03.09.10\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 18 May 2021 03:09:10 -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=\"rjuiudq4\"; 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=JYjjbuKoCbuf4pRwZGG1jSVTp8girvf/0VPKNNR7AbQ=;\n\tb=rjuiudq4NcsJzAL6jP4XRHhrmPWNqJ0Sm+NumECuy4LY09dpY5M5nFgbSxFB30clq/\n\tdme58KA5FzfXCedYNuVPM9yRS9A1Iaf8ppVJQ7NheojZtkrjI4HpXJMdWMSgZfBTotm3\n\t9kT8NBUEfs7KiuBrGFMOjxEVU8u9J1qTKpUMCxfK8DXERykFFPQkOcUyYSISY8p0bvX2\n\tXy1Fz4U+RcfTXgyAjEWkwvhazAFnvQprOQMec2L0aY/sCK3ZjaQVq+LRf/vz6ZLX9DOj\n\tsWwPPvQKqKIFtc+TWdn7+zTix1QSEQVkqDElmtFufjmttgKXtVVDd3iNOSiC6Re25YBW\n\tE1FQ==", "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=JYjjbuKoCbuf4pRwZGG1jSVTp8girvf/0VPKNNR7AbQ=;\n\tb=l/42usXDhFh4cp4opGkckPRp6rropwHdiCLB3ftfXDqj/1uaUSLnKCu4sPRPAxmJN1\n\tLVvg2DH8i35OdIxob5XsE4GjFnCgEDXdPDkjyQidRgVpkgBixaNIUWI+eH5EqZyImza+\n\t2WRAK67hbAsz5hQKtsRlomJU/p8BfqWz+bjuPV4uYt7DPoj0kKwxqtELPV6ZWMrXJEUT\n\tM1zIdnTBai/qrRDBOBuii10Lce2ntdWOwGoAqQdswcG6KYX6vzxcecWAUs55eusf3Vm5\n\togfNcOF/bZpMoIhcTQ6R4U+TowcPKfY73cKVNDFvMbqaJJ0L9WjdAT39VroGJZM+OHiJ\n\twerA==", "X-Gm-Message-State": "AOAM532OcFaN18Tijy52SznoUSeaiz9HNpMDsU8Qs417zeoWc0ad8cfn\n\t0zyhUTWjMvIdBdtZHyYil6Nwpmm0+PheIA==", "X-Google-Smtp-Source": "ABdhPJx96qEvCNzPPG+hfPG404wQWTz+G6Eaq6cyR1t+ZZioj5cqEVTkiX+nsj1p88afeQkl0ZEjiw==", "X-Received": "by 2002:a7b:c7c5:: with SMTP id z5mr4062471wmk.184.1621332550624;\n\tTue, 18 May 2021 03:09:10 -0700 (PDT)", "From": "Naushir Patuck <naush@raspberrypi.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Tue, 18 May 2021 11:07:02 +0100", "Message-Id": "<20210518100706.578526-1-naush@raspberrypi.com>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH 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\nHere is an attempt at switching all time based variables in our IPA/Controller\nto use std::chrono::duration. This change makes things much less error prone\nwhen converting time bases or performing arithmetic on various time based\nvariables. It also makes things quite neat when defining time duration defaults.\n\nPatch 1 provides some simple helpers for using std::chrono::duration. Patches\n2-4 do the conversion in stages. Because of the nature of this conversion,\nsome of the changes in earlier patches get reverted back once all the conversions\nhave been completed.\n\nThanks,\nNaush\n\nNaushir Patuck (4):\n ipa: raspberrypi: Add helper macros for std::chrono::duration\n ipa: raspberrypi: Switch ipa/cam_helper to use RPiController::Duration\n ipa: raspberrypi: Switch AgcAlgorithm API to use\n RPiController::Duration\n ipa: raspberrypi: Switch the AGC/Lux code to use\n RPiController::Duration\n\n src/ipa/raspberrypi/cam_helper.cpp | 17 ++--\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 | 5 +-\n .../raspberrypi/controller/device_status.h | 6 +-\n src/ipa/raspberrypi/controller/duration.hpp | 33 +++++++\n src/ipa/raspberrypi/controller/rpi/agc.cpp | 89 ++++++++++---------\n src/ipa/raspberrypi/controller/rpi/agc.hpp | 32 +++----\n src/ipa/raspberrypi/controller/rpi/lux.cpp | 17 ++--\n src/ipa/raspberrypi/controller/rpi/lux.hpp | 2 +-\n src/ipa/raspberrypi/raspberrypi.cpp | 72 ++++++++-------\n 12 files changed, 181 insertions(+), 121 deletions(-)\n create mode 100644 src/ipa/raspberrypi/controller/duration.hpp" }