Patch Detail
Show a patch.
GET /api/1.1/patches/12666/?format=api
{ "id": 12666, "url": "https://patchwork.libcamera.org/api/1.1/patches/12666/?format=api", "web_url": "https://patchwork.libcamera.org/patch/12666/", "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": "<20210621140035.119636-1-vedantparanjape160201@gmail.com>", "date": "2021-06-21T14:00:35", "name": "[libcamera-devel,v2] libcamera: Add OV5647 sensor properties", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "6207241219c772fed6456b822ae3c1340c507fa6", "submitter": { "id": 85, "url": "https://patchwork.libcamera.org/api/1.1/people/85/?format=api", "name": "Vedant Paranjape", "email": "vedantparanjape160201@gmail.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/12666/mbox/", "series": [ { "id": 2159, "url": "https://patchwork.libcamera.org/api/1.1/series/2159/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2159", "date": "2021-06-21T14:00:35", "name": "[libcamera-devel,v2] libcamera: Add OV5647 sensor properties", "version": 2, "mbox": "https://patchwork.libcamera.org/series/2159/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/12666/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/12666/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 BCD02C3218\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 21 Jun 2021 14:01:01 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id EDE0B68935;\n\tMon, 21 Jun 2021 16:01:00 +0200 (CEST)", "from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com\n\t[IPv6:2607:f8b0:4864:20::42f])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 9C9CB60295\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 21 Jun 2021 16:00:59 +0200 (CEST)", "by mail-pf1-x42f.google.com with SMTP id y4so6725161pfi.9\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 21 Jun 2021 07:00:59 -0700 (PDT)", "from localhost.localdomain ([1.186.76.76])\n\tby smtp.googlemail.com with ESMTPSA id\n\tv15sm15600608pfm.216.2021.06.21.07.00.56\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 21 Jun 2021 07:00:57 -0700 (PDT)" ], "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"kegyt0Oz\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=GmQMdmL1lQu9QV7Sssd0x87FXpr5b5/RtK5mm3diye0=;\n\tb=kegyt0Oz3G+DscQ+ePFyGz/Ei9Aq0/FT0BrSOo6atZNIrW9bdG07DDIkZnJWAap9b7\n\tDWryLuswHOWEwSQ72503xsUiTyL48QUQNaSrYvnvOHVHJ8EphcQXuv9il9fvSrzoHpPN\n\tunt6QFkt6Gu0qLGAUMZXYCUrX+umi8EwqDohOb5NJA4g48K4mdk51bBrG7byPNIuY77L\n\t87HPwAF0SyHGohAyJrEz/r/8dRXoS/S/fK+8neYVsY5j5csPF9inKogWZbwGO/PTaz3H\n\tegayXDJc2K4j0Y9AX+cVxxCnYyYU/HlxSkn++Y37vjfWEtlZ5YckL4zWXWHt/ID/hWSv\n\tWVUA==", "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=GmQMdmL1lQu9QV7Sssd0x87FXpr5b5/RtK5mm3diye0=;\n\tb=AO26NHlw/wInfTyQGgIALXgVS08nZbmYu7uey5215q/EiZf/AirBGVCem+KnS71uwS\n\thzMkaFxsEmOu0ds9HIwcKqPdkYEBmRS3ZuZKN4BsRqT6eCcA0TO3LdlHlWJgpbSYuSip\n\t8ayM+bP2dO7Qq8I1cnPQ3Yg7uF5fUfh26BOqygkgCfYmEg5+e1qaPv2rBJe2/MxVLgdA\n\tTXdxEoEisrgSJv9Te2kgzSGpUlwOEwyM3dMDXyU9QUbRcpQRtodVk7EcHtPX9gcda6tz\n\t5NzaZEr2YsKHMqW8f6AspmR52dE7lh0yMUo+FNcZjQM5S9aCRDT9g9Vzl/H5M6XNqhFC\n\t3AqQ==", "X-Gm-Message-State": "AOAM530TjQQQolDXorRN7pqMQwGt4yCX/Qj40hkif9YtWUwhXRbB9DJz\n\tQQYBZp/nLgdbvXa5dQXrtOP+5v0r3U2PSrZN", "X-Google-Smtp-Source": "ABdhPJx6G9mpzrpL/CFAOtsKrUmGE6whIMxjCiT3nWML/lAu1rXqZbcJ03uGakBNDJSipuv1UXt7nQ==", "X-Received": "by 2002:a63:7a1a:: with SMTP id\n\tv26mr21079854pgc.381.1624284058042; \n\tMon, 21 Jun 2021 07:00:58 -0700 (PDT)", "From": "Vedant Paranjape <vedantparanjape160201@gmail.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Mon, 21 Jun 2021 19:30:35 +0530", "Message-Id": "<20210621140035.119636-1-vedantparanjape160201@gmail.com>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v2] libcamera: Add OV5647 sensor properties", "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>", "Cc": "Vedant Paranjape <vedantparanjape160201@gmail.com>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "Brief specifications available at\nhttps://cdn.sparkfun.com/datasheets/Dev/RaspberryPi/ov5647_full.pdf\n\nChange referenced from Page 5: key specifications section of the above\nlinked pdf\n\n> pixel size: 1.4 μm x 1.4 μm\n\nSigned-off-by: Vedant Paranjape <vedantparanjape160201@gmail.com>\n---\n .vscode/c_cpp_properties.json | 17 +++++++++++++++++\n src/libcamera/camera_sensor_properties.cpp | 5 +++++\n 2 files changed, 22 insertions(+)\n create mode 100644 .vscode/c_cpp_properties.json", "diff": "diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json\nnew file mode 100644\nindex 00000000..103e7a55\n--- /dev/null\n+++ b/.vscode/c_cpp_properties.json\n@@ -0,0 +1,17 @@\n+{\n+ \"configurations\": [\n+ {\n+ \"name\": \"Linux\",\n+ \"includePath\": [\n+ \"${workspaceFolder}/**\"\n+ ],\n+ \"defines\": [],\n+ \"compilerPath\": \"/usr/bin/gcc\",\n+ \"cStandard\": \"gnu17\",\n+ \"cppStandard\": \"gnu++14\",\n+ \"intelliSenseMode\": \"linux-gcc-x64\",\n+ \"compileCommands\": \"${workspaceFolder}/build/compile_commands.json\"\n+ }\n+ ],\n+ \"version\": 4\n+}\n\\ No newline at end of file\ndiff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp\nindex f660743a..43030e8b 100644\n--- a/src/libcamera/camera_sensor_properties.cpp\n+++ b/src/libcamera/camera_sensor_properties.cpp\n@@ -81,6 +81,11 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen\n \t\t\t\t{ 1, controls::draft::TestPatternModeColorBars },\n \t\t\t},\n \t\t} },\n+\t\t{ \"ov5647\", {\n+\t\t\t.unitCellSize = { 1400, 1400 },\n+\t\t\t/* \\todo fill test pattern modes for ov5647. */\n+\t\t\t.testPatternModes = {},\n+\t\t} },\n \t\t{ \"ov5693\", {\n \t\t\t.unitCellSize = { 1400, 1400 },\n \t\t\t.testPatternModes = {\n", "prefixes": [ "libcamera-devel", "v2" ] }