From patchwork Mon Jun 21 14:17:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vedant Paranjape X-Patchwork-Id: 12667 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 BEF25C3218 for ; Mon, 21 Jun 2021 14:18:01 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 464E660295; Mon, 21 Jun 2021 16:18:01 +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="qOnjkgWD"; dkim-atps=neutral Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 9E4B460295 for ; Mon, 21 Jun 2021 16:17:59 +0200 (CEST) Received: by mail-pg1-x52b.google.com with SMTP id u190so10446005pgd.8 for ; Mon, 21 Jun 2021 07:17:59 -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=vMOcHT18Uj7ATX3v5mdhgcUjwvwR+E6TWWuyrCRF/Lk=; b=qOnjkgWDs9k/FOSrQYAR36mPOObzhryAY/0ojUT1f/32GNALummFPOYrncOm5YCaiX poDzAuJv0uRJ360LZiKU0Ll2yhkAGr00EAP+zoN/v67JwJ9vbQpOi53rud4qZSKtkC85 xNhKejuPNQ7gNguo+7w+ZVqG4fwOtET4ivtig3skhFdT4mxGxLh4HaA9V12+EoADh+HD LC+iLbu4GP0AAvjN4E3Q9sMz+k8tKvx9FsQS19yhpDWMvzAsGm79NQe0HaqnDFw4272b KddWj6lIVawz4x8j1vgV8ABj4FAjwDMDd4+LZCOI991gpqeRdxu7HjgbO4ebqmuvb9+K LHKg== 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=vMOcHT18Uj7ATX3v5mdhgcUjwvwR+E6TWWuyrCRF/Lk=; b=C3k26VLJSPFTIUaC5xhedDrXBe8jq6X595dV6JVToPSdMv7/QcB1QzDY0sVuMcp4so uCnpq3oCE8K6XItsymNBISxa4M7rCvW0UcDSW3ScQansao+uhr8mKbuR9wigtTcbOLUM SiDSjnETQSCfMEG/zBYHm6XRp5c2+fBQSyzfuze5SppUap4eLV85g3cc5MThvEQftHCD P9dJ1zQK7aaZPSgS1Ew5BubNe7Vcm1DV18HoMws2sGB14Va1Z+G4S8RZn2LyfcxeTIAp O2ZIQeW8ne9YqmBWXPPKXb4Ymd6g8hwXeggfxdyD1uCSlVcKbIqIu+SzkJcaowM3kZWJ vRgA== X-Gm-Message-State: AOAM533RKnc+2Hqe60L9ofCpCjTcKIiv41NAmchR1Snt42koZWbgBIwj HxcseTFIXNVDrE27x4h6ud1C4dzR/Mx4VrkS X-Google-Smtp-Source: ABdhPJyP+9KSKdg0eQU/GShtyazXFN+iEgZhKfO6oYx8XQihI/2gjbKBCqN29TU1ZLJY0rv16qYoJg== X-Received: by 2002:a65:6a52:: with SMTP id o18mr24069709pgu.177.1624285077783; Mon, 21 Jun 2021 07:17:57 -0700 (PDT) Received: from localhost.localdomain ([1.186.76.76]) by smtp.googlemail.com with ESMTPSA id w2sm15972754pjq.5.2021.06.21.07.17.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Jun 2021 07:17:57 -0700 (PDT) From: Vedant Paranjape To: libcamera-devel@lists.libcamera.org Date: Mon, 21 Jun 2021 19:47:38 +0530 Message-Id: <20210621141738.153329-1-vedantparanjape160201@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3] 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 --- src/libcamera/camera_sensor_properties.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp index f660743a..43030e8b 100644 --- a/src/libcamera/camera_sensor_properties.cpp +++ b/src/libcamera/camera_sensor_properties.cpp @@ -81,6 +81,11 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen { 1, controls::draft::TestPatternModeColorBars }, }, } }, + { "ov5647", { + .unitCellSize = { 1400, 1400 }, + /* \todo fill test pattern modes for ov5647. */ + .testPatternModes = {}, + } }, { "ov5693", { .unitCellSize = { 1400, 1400 }, .testPatternModes = {