From patchwork Mon Jun 21 20:04:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vedant Paranjape X-Patchwork-Id: 12671 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 254ADBE58C for ; Mon, 21 Jun 2021 20:04:45 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id A060A60296; Mon, 21 Jun 2021 22:04:44 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="FY81g9mM"; dkim-atps=neutral Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 6F3E760295 for ; Mon, 21 Jun 2021 22:04:42 +0200 (CEST) Received: by mail-pf1-x429.google.com with SMTP id w71so4511006pfd.4 for ; Mon, 21 Jun 2021 13:04:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xVA716DYEzxYsZenSCnKEtsShOwTAJHjFiWb5iuIjso=; b=FY81g9mMD6ETPepXyDvuvV2LDvqIjAB9uihYJMRKCTbsaKEZiwq3yPHkIsXeivD/II DMgyj/M0NWxk4jRBFEf5yYLQ5XW/Gt9FCToXvP3gXWU+SiBVOqgpKXx8KPXFd6QlYh7y oxPbsBmSl7k3A5V7lIJWHOvUysIHX1kuj9ITcnT8+ch29sOZxzGeKZQ58NC3KNqydmLe DB99m/NyuiCBSWECHpYOBWvFRWDXfpuIt/p9KNcPsfkEWzD0NwjBdkFlgsx3rCTVqti7 1bmmaAvt9yVJ3y3qXRlyIRyo2a0T18Jf55U0DdmHL3Tsb78vNIsV2PWYk3QoCocLlxDx Rf+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xVA716DYEzxYsZenSCnKEtsShOwTAJHjFiWb5iuIjso=; b=qW+XeYFXPLSupcHX7KuT2j6dOZxD/gU71INGpLyWZ5vnRZLX2z0ouqzBgmtsdZB7x3 7zLyo3ta//3vaSa5wF7Msc3CTnO2yph44FyOrrx09ClsWSNOGlGmqSf10XReQJezshVl Gxu4vSEMxA8sZ9lwh2mAjY7ZQe0OuxqElLnzUQpNPqSkeqQi/VBREt1GkUTyrVZFIZLM hlltq7P8CZbpTow2Gl5vvhAZu5mBm56UyLBtQp8qTMpu0B+QGN23WK0TtmxXg9rpUdfw fBRGQSvb8MQykTlhyRWQjGJoVqdLEaXPMXIQxIk4FYKAyfQXpE0UQgBK9WHrJPKaiGBl f3Sg== X-Gm-Message-State: AOAM531YAABYX5iGWYEXfSojNIAkAVUlLioQSmLU2nSTr5iDnK2oTT/Y kxnPLvzRBCSroj+ZNMgg4u0osFdOlLcc7ZSi X-Google-Smtp-Source: ABdhPJxtTeWXJHmavxxm6xvFDPGV1o00+MH6JEsRTT8w34xqxLrMo2qT27EySaiVnqukwXpnjWvRYA== X-Received: by 2002:a63:515f:: with SMTP id r31mr219600pgl.406.1624305880782; Mon, 21 Jun 2021 13:04:40 -0700 (PDT) Received: from localhost.localdomain ([1.186.76.76]) by smtp.googlemail.com with ESMTPSA id w15sm52672pjg.32.2021.06.21.13.04.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Jun 2021 13:04:40 -0700 (PDT) From: Vedant Paranjape To: libcamera-devel@lists.libcamera.org Date: Tue, 22 Jun 2021 01:34:26 +0530 Message-Id: <20210621200426.533327-1-vedantparanjape160201@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4] libcamera: Add OV5647 sensor properties X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vedant Paranjape Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Brief specifications available at https://cdn.sparkfun.com/datasheets/Dev/RaspberryPi/ov5647_full.pdf > pixel size: 1.4 μm x 1.4 μm Change in this patch is referenced from Page 5: key specifications section of the above linked pdf Signed-off-by: Vedant Paranjape Reviewed-by: Kieran Bingham Reviewed-by: Paul Elder --- src/libcamera/camera_sensor_properties.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp index f660743a..fc4ea78d 100644 --- a/src/libcamera/camera_sensor_properties.cpp +++ b/src/libcamera/camera_sensor_properties.cpp @@ -81,6 +81,10 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen { 1, controls::draft::TestPatternModeColorBars }, }, } }, + { "ov5647", { + .unitCellSize = { 1400, 1400 }, + .testPatternModes = {}, + } }, { "ov5693", { .unitCellSize = { 1400, 1400 }, .testPatternModes = {