From patchwork Mon Jun 21 13:34:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vedant Paranjape X-Patchwork-Id: 12665 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 565D6C3218 for ; Mon, 21 Jun 2021 13:35:23 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 6C2EB68935; Mon, 21 Jun 2021 15:35:22 +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="Wjk9Wg+0"; dkim-atps=neutral Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B31BA60295 for ; Mon, 21 Jun 2021 15:35:20 +0200 (CEST) Received: by mail-pf1-x432.google.com with SMTP id x16so13631338pfa.13 for ; Mon, 21 Jun 2021 06:35:20 -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=gFnTWE+UwN16WNgxOSxeQzMxrmdJNb8DPwdU12WWbV8=; b=Wjk9Wg+0dWjxIKPhvgq2n2/Qs2X8oE2a4bS5DKEIvE1h+aaNFYokAh7PGgTggzv9HI mW3lrTBbMpmlahBpZ8INAS5L9bGvf79A0FGCwUl1hA5QZ3Ttzgr6wudR+LffswSQ/I2G ZJjT/1ozjIaSiM2Ph65s9rB1b3LGMUKx7NO7HmHAPN4VoLXc1xNJcW2ZPCStemOIxfh6 dnRLDUNH7sg1htELLKo9ptO5Rz/8yAMz4hcyrv00d5yK0/9zC0dEX2+hi0/YsQIirVJi ilUG4sfUM3VF+1G4xDxPCTROjWVD5PcJZpzb7ESrYVAWOlFm0/vQ+kC2OXUguNVP2Iep 2IPA== 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=gFnTWE+UwN16WNgxOSxeQzMxrmdJNb8DPwdU12WWbV8=; b=kZ04qbI7Bei7aP6IMNjFIbF4Uee70IpSJh3PwiIbmM2ZNi6q6f4t1ST/scQcURivBC 4hITUkxYkm0IKbNeDK704zBbs3wJpBh30Z/3ysF1yfePR4klkMXhCSEIQb5Ze77Z9CW7 qt1bR4DdCkTfXLK/w8fQTFPI94JcrwGmr+DSbo8y5yVKEetMEHUcJLqCfcFOX3ogzp0T uKweE6nB6MTIr6WzP5sMYNSayFgzD4TQzG9doaWHh4XOQxkKNgyPfWpE8++AZO3/eY8O cSFRgHQ7fz+8s+HtwH7ZAke/SIXwm/XPM/cGbaeMBaRmNjDhsyE5qpmsZbvHva0XQYwi KoPQ== X-Gm-Message-State: AOAM532mAVe+fzwMVey7tPl9uSnexrxDZlNGZBG9S1q1Ohi+4HaSHKO8 rbEV8IqlAP1SkXHOOTMpjguFlP2gNtzX1C+1 X-Google-Smtp-Source: ABdhPJwoWWr26KncZUpIGUX4wLacK6TLwDDj/JlLuBo7cbUTqjjywLXN6/hIDlgotr00Wnc3peRX0g== X-Received: by 2002:a63:515f:: with SMTP id r31mr1794789pgl.406.1624282518876; Mon, 21 Jun 2021 06:35:18 -0700 (PDT) Received: from localhost.localdomain ([1.186.76.76]) by smtp.googlemail.com with ESMTPSA id w59sm15938877pjj.13.2021.06.21.06.35.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Jun 2021 06:35:18 -0700 (PDT) From: Vedant Paranjape To: libcamera-devel@lists.libcamera.org Date: Mon, 21 Jun 2021 19:04:49 +0530 Message-Id: <20210621133449.80586-1-vedantparanjape160201@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v1] 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 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 = {