From patchwork Mon Sep 23 07:09:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cheng-Hao Yang X-Patchwork-Id: 21326 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 1743FC0F1B for ; Mon, 23 Sep 2024 07:16:28 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2B3386350B; Mon, 23 Sep 2024 09:16:27 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="OSDvZ/dc"; dkim-atps=neutral Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 297636037E for ; Mon, 23 Sep 2024 09:16:25 +0200 (CEST) Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-205659dc63aso32011885ad.1 for ; Mon, 23 Sep 2024 00:16:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1727075783; x=1727680583; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=bwS3coZ7g+C+xNBfPfY1bhi9kzSG1zTR/y++hHSRrPo=; b=OSDvZ/dcbcU/l+xjoSnsSzrPXFtJRxV54XC+3+KL8O6/z6P5W2pWm/vyjfdHk7g4I1 YW2lBsOmPewBIpY8SVH3ak07evQK9LrTbaUJKqcH4ihpd8EVDCx3lDuooxzSt5Z1AWR9 lHSul/8RNxrx39C2g63LLjv1s68T21SdgcpK0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727075783; x=1727680583; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=bwS3coZ7g+C+xNBfPfY1bhi9kzSG1zTR/y++hHSRrPo=; b=CKz1kfzxLT+anqgYlZQQV8wtPaJ82gR1XZmDirgVD+XEpZbGZ4hJfdBhx1/6xUlG6h dqrE2KFMYIuKs676DgbZNJuP4xoRD5YK+mw5DY948gRVKvX8soeOuw8OT/PIYGgGtRE/ M6Hxih11LZIgs75gfN7novdYNBKUZq3JjBkzHt7dTEusplN3LIjbw59YTpSqK6V2LyqC QBGCizKmdID3L2QX6vYweDeb2Zaa+Vo92mGXcCdjw5ZhpXJjh/XtXUKnujWJGdxUzBS0 yKvt12M5QmmWQ8Wfq0j9jFcbj3QdW9oLBTa6SwlVvfmAfEQUDuBbtVv4hQL5LuL//eis S5tA== X-Gm-Message-State: AOJu0YzgoCLj7Ny6koQVEF68H1t5b+1ql1siaSgH18diDbeVM/sEl4F/ XwNvKGqm1nalK4/3J3ZYRjWPMuusL1dREyKZ5VW5OSBZ/y08dI8hDZeeuYANlZ/Jh2OeBBd9/OE = X-Google-Smtp-Source: AGHT+IGpbeTnJx7cXsCUL5rGAdpZHNSqTX4qgmGqXs3Gt+9KV8zpCQqTPWoBV9shtLkf0gP3Q6e1Ww== X-Received: by 2002:a17:902:cf01:b0:202:2e81:27a3 with SMTP id d9443c01a7336-208d982fb04mr172643425ad.29.1727075783165; Mon, 23 Sep 2024 00:16:23 -0700 (PDT) Received: from chenghaoyang-low.c.googlers.com.com (0.223.81.34.bc.googleusercontent.com. [34.81.223.0]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-207946fc352sm127624805ad.206.2024.09.23.00.16.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Sep 2024 00:16:22 -0700 (PDT) From: Harvey Yang X-Google-Original-From: Harvey Yang To: libcamera-devel@lists.libcamera.org Cc: Harvey Yang Subject: [PATCH 0/1] Add camera sensor properties for ciri Date: Mon, 23 Sep 2024 07:09:55 +0000 Message-ID: <20240923071618.2395064-1-chenghaoyang@google.com> X-Mailer: git-send-email 2.46.0.792.g87dc391469-goog MIME-Version: 1.0 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi folks, This patch adds camera sensor properties for sensors on ciri. It's required to produce correct color bars test pattern instead of random pattern. Tested on mtkisp7 branch with ChromeOS tast test `camera.HAL3Frame`. This patch passed gitlab pipeline: https://gitlab.freedesktop.org/chenghaoyang/libcamera/-/pipelines/1276236 The source file includes quite some legacy code that has linter warnings. This patch follows the same legacy format, so there are some lint warnings as well. BR, Harvey Han-Lin Chen (1): libcamera: Add camera sensor properties for ciri .../sensor/camera_sensor_properties.cpp | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+)