Patch Detail
Show a patch.
GET /api/1.1/patches/17547/?format=api
{ "id": 17547, "url": "https://patchwork.libcamera.org/api/1.1/patches/17547/?format=api", "web_url": "https://patchwork.libcamera.org/patch/17547/", "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": "<20221006131744.5179-7-naush@raspberrypi.com>", "date": "2022-10-06T13:17:40", "name": "[libcamera-devel,v2,06/10] ipa: raspberrypi: Add pixel clock rate to the CameraMode structure", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "f2a07095f4a0bfdcccac0c8ef917958d9f4ecfce", "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/17547/mbox/", "series": [ { "id": 3537, "url": "https://patchwork.libcamera.org/api/1.1/series/3537/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3537", "date": "2022-10-06T13:17:34", "name": "Raspberry Pi: Horizontal blanking control", "version": 2, "mbox": "https://patchwork.libcamera.org/series/3537/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/17547/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/17547/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 4F175C327C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 6 Oct 2022 13:18:02 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id F0FD362D0C;\n\tThu, 6 Oct 2022 15:18:01 +0200 (CEST)", "from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com\n\t[IPv6:2a00:1450:4864:20::42e])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id B6A9B62D07\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 6 Oct 2022 15:17:58 +0200 (CEST)", "by mail-wr1-x42e.google.com with SMTP id bq9so2690912wrb.4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 06 Oct 2022 06:17:58 -0700 (PDT)", "from naush-laptop.localdomain ([93.93.133.154])\n\tby smtp.gmail.com with ESMTPSA id\n\tq18-20020a056000137200b0022cc7c32309sm17986049wrz.115.2022.10.06.06.17.57\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 06 Oct 2022 06:17:57 -0700 (PDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1665062282;\n\tbh=croap5DWWumQWm5xG/4E66jcarVh+wYhdqBHyVroOeg=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=xrKW8tAgrM8w53uGbyHyOmH44LnjJyFU48/Eg0vRCJiZyopuDTGgej608vWIIfUer\n\tprW6TlN3JZGieYM8/fgiUIP1lB6RLaG/V4bYzkz3Ot41PispvuaiQFX5JBglw4o2re\n\tPXRRDUSmLU+/aavbVTITtKob0r+7Q4+2cfHz6Z/BpvnOiN+Ab6ji7mW6SJvFiPQFwc\n\tKvFU5SJ/FTXIDtZbpyMAzcZPaTn1K82P+1XIeR3wlZlWge8asYMZsBYvEkMv3gSq2g\n\tH0lh8uJd0NF9+4Vrv3hhmGmmzByElL8AK4H+qlotakyobh/iJmwmnbYRFHYrlqvfWe\n\tZE5mgObtz5MqQ==", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date;\n\tbh=JOQILjSzgUd1k716q1AvO/aSMegCkdXz5al8107hheU=;\n\tb=L5arwjAL3FYL/qNzxLS7rntNBHYlyy1kKIL35bobR9+Uai76O4fPbybFU6ZO/KlnRo\n\tkJr8qEpPSwL47smbvQc+DTRSWQS8oIYG+uqR9/j0/pfBBcGlj/OSNTADoLhvnEMO4zTF\n\tmU4m7Q1XVB3WW22dVYAONNcyRenm1kTgrD5m9nXuM/7QbaQlsiZpA/n+ktmfXf7bonfP\n\ttzS/PU7tMHdHYC+ba3AA1Ze6Jy6r1wvOW1KNSal7dmpKoJddhcwaRqh9UeKMFINlLDnc\n\tZWPVGfRMM80bwMnI3joJ/PNJqvWeG8GYWFu6ALWy0pyEcr1GJiimsZFShOWdIhG5OIX7\n\tHXPQ==" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"L5arwjAL\"; dkim-atps=neutral", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n\t:subject:date;\n\tbh=JOQILjSzgUd1k716q1AvO/aSMegCkdXz5al8107hheU=;\n\tb=FSonuhZAXKw8du+twO6mbp+8vL7k+7RiXMCzV3c64GqS6hpyzs+TmzkRoEDbJHw82D\n\tv99rPvpR5IeyvJ/UMGDXW+66M6zXL72yd+npayHRZT6XrhOVwLb23qmaVKRkuVNUIOdY\n\txXdmFm3shUbWa3RgKelhAlzd9jn9Dl5rLXoxEcDqvo6FC3Usq7a0qSJ+3ecHpQFg4i/F\n\tVWNj7fnGHJEEVoa/AmLTJ+yZFjPgExmG27P4KfAdAUIs2HHDVrD9TR9LoRFeVjD25FwY\n\txDKYMc3wzNb33WRwlWAx7y92BqFNGF9gIc6UzFbqLr+AAEwb2zFQV31gE3xjywZGEqnc\n\tDcaQ==", "X-Gm-Message-State": "ACrzQf3l25iBFoZikM04zFN8UDRZxAcpM/YrA6k9xJqCVb0bGATb+bKd\n\twe46g1HW0ZtYVx0TOVtegfVYXeGfXmKizA==", "X-Google-Smtp-Source": "AMsMyM4LHbxeGgBE/WXpQJJlNvR3KmP3UVN26n5uWByA9AsvjeONDxMkLO7KaTBNyzReSMXW5HgGBQ==", "X-Received": "by 2002:adf:ebc6:0:b0:22a:c5ee:b057 with SMTP id\n\tv6-20020adfebc6000000b0022ac5eeb057mr3235042wrn.317.1665062278330; \n\tThu, 06 Oct 2022 06:17:58 -0700 (PDT)", "To": "libcamera-devel@lists.libcamera.org", "Date": "Thu, 6 Oct 2022 14:17:40 +0100", "Message-Id": "<20221006131744.5179-7-naush@raspberrypi.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20221006131744.5179-1-naush@raspberrypi.com>", "References": "<20221006131744.5179-1-naush@raspberrypi.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v2 06/10] ipa: raspberrypi: Add pixel\n\tclock rate to the CameraMode structure", "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>", "From": "Naushir Patuck via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>", "Reply-To": "Naushir Patuck <naush@raspberrypi.com>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "The pixel clock rate will be used in subsequent commits to calculate line\nlength durations.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\nTested-by: Dave Stevenson <dave.stevenson@raspberrypi.com>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/ipa/raspberrypi/controller/camera_mode.h | 2 ++\n src/ipa/raspberrypi/raspberrypi.cpp | 1 +\n 2 files changed, 3 insertions(+)", "diff": "diff --git a/src/ipa/raspberrypi/controller/camera_mode.h b/src/ipa/raspberrypi/controller/camera_mode.h\nindex 6bc35b771946..4cd9712e8c19 100644\n--- a/src/ipa/raspberrypi/controller/camera_mode.h\n+++ b/src/ipa/raspberrypi/controller/camera_mode.h\n@@ -46,4 +46,6 @@ struct CameraMode {\n \tuint32_t maxFrameLength;\n \t/* sensitivity of this mode */\n \tdouble sensitivity;\n+\t/* pixel clock rate */\n+\tuint64_t pixelRate;\n };\ndiff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp\nindex 9b0ad4361c97..b6289f151677 100644\n--- a/src/ipa/raspberrypi/raspberrypi.cpp\n+++ b/src/ipa/raspberrypi/raspberrypi.cpp\n@@ -331,6 +331,7 @@ void IPARPi::setMode(const IPACameraSensorInfo &sensorInfo)\n \tmode_.sensorHeight = sensorInfo.activeAreaSize.height;\n \tmode_.cropX = sensorInfo.analogCrop.x;\n \tmode_.cropY = sensorInfo.analogCrop.y;\n+\tmode_.pixelRate = sensorInfo.pixelRate;\n \n \t/*\n \t * Calculate scaling parameters. The scale_[xy] factors are determined\n", "prefixes": [ "libcamera-devel", "v2", "06/10" ] }