From patchwork Tue Nov 23 19:08:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hirokazu Honda X-Patchwork-Id: 14727 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 C5D4CBF415 for ; Tue, 23 Nov 2021 19:08:22 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 3C08E60230; Tue, 23 Nov 2021 20:08:22 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="WywIqh+E"; dkim-atps=neutral Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 96B8A60121 for ; Tue, 23 Nov 2021 20:08:20 +0100 (CET) Received: by mail-pg1-x532.google.com with SMTP id l190so8600953pge.7 for ; Tue, 23 Nov 2021 11:08:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1FnOZdwuC9Q2poBbN9HiGBPOl1iGm5e1tRUW2bUc8vQ=; b=WywIqh+EBK4WvJeeiwSHX7FeAIuvFVjeJ9Nt0q4eFLh5vFTObe6bUACKBJjAvY8V5i FkESQufsZ5fV7nv8Vmnckx0Hbhe+AMJgNu4aWRBklNLm2g1s3H64oCduTOQsgUtMYvRn /SP5SYXch5nOTmgr/YK9OlhJDYpoN7+fZFio0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1FnOZdwuC9Q2poBbN9HiGBPOl1iGm5e1tRUW2bUc8vQ=; b=oACElvhJNj6bIOv+K90HPnrLA5VjrDBzy75+PsStMbMzHP7vibOXSk5h+2W49jjIM7 Hn5DFLvnxY93bxpd6sVFUGjVmvkeTxFvQREhONZu8NWDEy+5ptJW1055hBFHeM7Tm9NN LCXrKJuTA55AGa7wU1x+ElRtlo8rQshAWx2p07eZqyHKAZr6uEupPvP8e1pvNMkmUJq4 92bPJ9inPRWkyxptSc8cI0FzXA5ygEUnfQsgz4lxE3/RQsuXJQCLq+LzW/5bru94nyfz GettM8TRmd740nJCJgVGgTrvgjQMR4kISD6P3mkt7t24MplDHIGfHSNpzIp7B+jVO3UC xAjg== X-Gm-Message-State: AOAM5300/DCrUE6k0UoNVDewUHCBjqg8K2TandzzQZ60pR1S9L+szhnN mzAktAnZ8a4ZE9Z8JjxhCzsmLvsvDIjkBw== X-Google-Smtp-Source: ABdhPJyOsTRDqatRidiEIKBMJ4lKgWKbNhdj5RpF2dkKQj+uDXARfABwnzH5UrTLdVIwSLawmixcKQ== X-Received: by 2002:a05:6a00:158a:b0:49f:be86:c78f with SMTP id u10-20020a056a00158a00b0049fbe86c78fmr7534622pfk.56.1637694498833; Tue, 23 Nov 2021 11:08:18 -0800 (PST) Received: from hiroh2.tok.corp.google.com ([2401:fa00:8f:203:cc8f:f5a6:5a9f:7275]) by smtp.gmail.com with ESMTPSA id t4sm14550916pfq.163.2021.11.23.11.08.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Nov 2021 11:08:18 -0800 (PST) From: Hirokazu Honda To: libcamera-devel@lists.libcamera.org Date: Wed, 24 Nov 2021 04:08:09 +0900 Message-Id: <20211123190812.69805-1-hiroh@chromium.org> X-Mailer: git-send-email 2.34.0.rc2.393.gf8c9666880-goog MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v7 0/3] Enable to apply test pattern mode in IPU3 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" This patch series enable IPU3 to apply a requested test pattern mode. Change in v7: - Back the code design - Process the requests in IPU3 pipeline handler Hirokazu Honda (3): libcamera: camera_sensor: Reference test pattern modes by enum type libcamera: camera_sensor: Enable to set a test pattern mode libcamera: pipeline: ipu3: Apply a requested test pattern mode include/libcamera/internal/camera_sensor.h | 17 ++++- .../internal/camera_sensor_properties.h | 3 +- src/libcamera/camera_sensor.cpp | 64 ++++++++++++++++--- src/libcamera/control_ids.yaml | 5 ++ src/libcamera/pipeline/ipu3/ipu3.cpp | 52 +++++++++++++-- 5 files changed, 123 insertions(+), 18 deletions(-) --- 2.34.0.rc2.393.gf8c9666880-goog