Patch Detail
Show a patch.
GET /api/1.1/patches/13071/?format=api
{ "id": 13071, "url": "https://patchwork.libcamera.org/api/1.1/patches/13071/?format=api", "web_url": "https://patchwork.libcamera.org/patch/13071/", "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": "<20210722115742.3131100-1-naush@raspberrypi.com>", "date": "2021-07-22T11:57:42", "name": "[libcamera-devel] ipa: raspberrypi: Return controls::FrameDuration from the IPA", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "e4139b7c8e072274764efa2ca4881d6c6a4fdd18", "submitter": { "id": 34, "url": "https://patchwork.libcamera.org/api/1.1/people/34/?format=api", "name": "Naushir Patuck", "email": "naush@raspberrypi.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/13071/mbox/", "series": [ { "id": 2267, "url": "https://patchwork.libcamera.org/api/1.1/series/2267/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2267", "date": "2021-07-22T11:57:42", "name": "[libcamera-devel] ipa: raspberrypi: Return controls::FrameDuration from the IPA", "version": 1, "mbox": "https://patchwork.libcamera.org/series/2267/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/13071/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/13071/checks/", "tags": {}, "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 82356C0109\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 22 Jul 2021 11:57:55 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id E9E1968543;\n\tThu, 22 Jul 2021 13:57:54 +0200 (CEST)", "from mail-wr1-x434.google.com (mail-wr1-x434.google.com\n\t[IPv6:2a00:1450:4864:20::434])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 7DA8B6027A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 22 Jul 2021 13:57:53 +0200 (CEST)", "by mail-wr1-x434.google.com with SMTP id r11so5631203wro.9\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 22 Jul 2021 04:57:53 -0700 (PDT)", "from naush-laptop.pitowers.org\n\t([2a00:1098:3142:14:9f65:60ab:4e1c:e379])\n\tby smtp.gmail.com with ESMTPSA id\n\tg7sm2261610wmq.22.2021.07.22.04.57.52\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 22 Jul 2021 04:57:52 -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=\"G1Juackb\"; 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=npUd3hGiwvGb5Tl68usIsRR/kfY2E2RG1vPv6Wu29GU=;\n\tb=G1JuackbnqeXKT3JDpvUthezbbzxKDelbdK0Q/+zBLVqaSLrOu6CvK+R41X4S027SF\n\tWkIosMCnNUMnfJZrbvrDNU8h3i1hT5o+vZvIt+iWH489zNLKX0nuDA9Tu7S+3657hI9b\n\t17R+qmHXp+5DCohdhJQ/iy5aEQ+xcqWR9UEwakH284QFUhfzDgOH6DsnYMwJVLx6iYBY\n\tWvulPm2mxrr4p18k2kL35WqG04QI/n8cszK1CF8zlqz7kMAe05K0jZoVN4oL3BF/VjDr\n\tar6MoU989W96DK072h6pQppsaPrfzOBV6RLgnr0/2K8rT0Jc7xEdwW9uO1EhrXgSZ6xP\n\tEWOw==", "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=npUd3hGiwvGb5Tl68usIsRR/kfY2E2RG1vPv6Wu29GU=;\n\tb=NAVGBnHo2W+ltWOA/4FyPKY28nkl1c/li/7YpmGgW7Kyyf0oZzLIE0rfRtQ15Fhljv\n\tFHm6hDuPIZuUb0UtPFg50GC9QYcCua5tG1fDbr7DvD/7bpbctXtIA9gx2zAHZnebYzD8\n\tc5zBYG+G6DbPLkYbHdltgAS6N6s8JXGv+TMO78dEP6+HDAjWpTnPkvj5ey3KSXHzL9sO\n\t9/fhktxfp/XjlCcwixMRpxQ6uVxHY/6BGbTygDOj2Ex4IsRKgMGBjgeI4n6EQFNr1KpV\n\tx2zRwUTW976COYJkl9GFS9STSYnqm63ZWp8W5RLZVVlMUEatn0+f0EMD88AjBhgY7FSQ\n\t+ZOQ==", "X-Gm-Message-State": "AOAM531GD7DOxpEvYmTbCARdikOBhax4IMGuaHrAiNluLZQEJgfnvkJq\n\tOx8RS/lJmV/jc0XtYPhoO50+uQlgI5wcoQ==", "X-Google-Smtp-Source": "ABdhPJwBwpZP0GR/yF7K3K+1tmXS6sKgxonE0CzUqIx2sottBS7/TcChR9MSw/+/1gFPJtNXEKdeiQ==", "X-Received": "by 2002:adf:d1cf:: with SMTP id\n\tb15mr29658887wrd.382.1626955072886; \n\tThu, 22 Jul 2021 04:57:52 -0700 (PDT)", "From": "Naushir Patuck <naush@raspberrypi.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Thu, 22 Jul 2021 12:57:42 +0100", "Message-Id": "<20210722115742.3131100-1-naush@raspberrypi.com>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH] ipa: raspberrypi: Return\n\tcontrols::FrameDuration from the IPA", "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": "Return controls::FrameDuration through the per-frame Request metadata. The\nframe duration is obtained by either the value in DelayedControls, or\n(preferably) the value parsed from the embedded data buffer.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\n---\n src/ipa/raspberrypi/raspberrypi.cpp | 2 ++\n 1 file changed, 2 insertions(+)", "diff": "diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp\nindex 5cd333049807..b08602f474af 100644\n--- a/src/ipa/raspberrypi/raspberrypi.cpp\n+++ b/src/ipa/raspberrypi/raspberrypi.cpp\n@@ -465,6 +465,8 @@ void IPARPi::reportMetadata()\n \t\tlibcameraMetadata_.set(controls::ExposureTime,\n \t\t\t\t deviceStatus->shutter_speed.get<std::micro>());\n \t\tlibcameraMetadata_.set(controls::AnalogueGain, deviceStatus->analogue_gain);\n+\t\tlibcameraMetadata_.set(controls::FrameDuration,\n+\t\t\t\t helper_->Exposure(deviceStatus->frame_length).get<std::micro>());\n \t}\n \n \tAgcStatus *agcStatus = rpiMetadata_.GetLocked<AgcStatus>(\"agc.status\");\n", "prefixes": [ "libcamera-devel" ] }