From patchwork Fri Nov 26 05:08:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hirokazu Honda X-Patchwork-Id: 14791 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 B4B91BDB13 for ; Fri, 26 Nov 2021 05:08:19 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 32DB16049A; Fri, 26 Nov 2021 06:08:19 +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="euUlIoZ4"; dkim-atps=neutral Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A9E7E6011D for ; Fri, 26 Nov 2021 06:08:17 +0100 (CET) Received: by mail-pj1-x1035.google.com with SMTP id x7so6487178pjn.0 for ; Thu, 25 Nov 2021 21:08:17 -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=9Q7xMYQO2aNwbw/8RmbEZAiao+s4z7xs2lIoVEbYWzw=; b=euUlIoZ4zZrO2R9ddr3Mrtzsa6GLBnzXGWgyupYlXBhONhIDMDIzz6pvwmLodjhfvr eMFavX7zObfNgb7PpOuR+FPj7sierJElhdwjH2dKT9E8X0YZcJMBbPlAowi4+aASPpQy J91w9xZFBMR7oHcN3xnlVm0CGhNy2T66cPukY= 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=9Q7xMYQO2aNwbw/8RmbEZAiao+s4z7xs2lIoVEbYWzw=; b=naul7jiJrcaG2I8bHID9RYqVoCkImQ2ahbdozf4ARX1gz3ruQVbVg1NQMufvtsh8KU jGwfKSXZzLGNKtHcxeBJGuGx1mijoYOMuUyQwWYkc7vgQy0ktdDYnb0rOeXe+28cpz4M 1tDo0abwNnHTOfil9ZxMEXCjIgCM5fQNPie2OSaKLu3TQOlqNc10fMLhbZX3QKeHQKJw WwnuYu+n6v439TSb4wpkfrDFULs33BTptUWoE5LMELuIbgFP+q7G2E8Ljm0CaMzDghvC D/vi8GqMeZBuE2SjvElCNxmNEr8rZAfC1w+lBplO60f7+Aaa3V7Cj4tL1IVAQL15mKdQ X1Ow== X-Gm-Message-State: AOAM533P0C8ZLnBukVyR1AzerzrZS44lH60++NtiwVa282QXe9eY2jPR M+rVkHrNMdPhwDESgDLEvu1fW+MIDRUWyA== X-Google-Smtp-Source: ABdhPJxUQxaPVEvDA1H4xx6Nf4fdBuegPs/ZFhLL0UHdKGTvO3YQVKMEDxDehMUoZCCP82PtTIdsFg== X-Received: by 2002:a17:90a:880a:: with SMTP id s10mr12928898pjn.214.1637903295893; Thu, 25 Nov 2021 21:08:15 -0800 (PST) Received: from hiroh2.tok.corp.google.com ([2401:fa00:8f:203:139c:952e:8861:d909]) by smtp.gmail.com with ESMTPSA id k6sm9280248pjt.14.2021.11.25.21.08.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Nov 2021 21:08:15 -0800 (PST) From: Hirokazu Honda To: libcamera-devel@lists.libcamera.org Date: Fri, 26 Nov 2021 14:08:07 +0900 Message-Id: <20211126050810.1871781-1-hiroh@chromium.org> X-Mailer: git-send-email 2.34.0.rc2.393.gf8c9666880-goog MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v8 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 v8: - Remove TestPatternModeUnset. - Sets TestPatternModeOff in CameraSensor::init(). 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 | 16 +++- .../internal/camera_sensor_properties.h | 3 +- src/libcamera/camera_sensor.cpp | 79 ++++++++++++++++--- src/libcamera/pipeline/ipu3/ipu3.cpp | 62 +++++++++++++-- 4 files changed, 142 insertions(+), 18 deletions(-) --- 2.34.0.rc2.393.gf8c9666880-goog