From patchwork Mon Jun 28 16:32:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hirokazu Honda X-Patchwork-Id: 12728 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 6A14DC3220 for ; Mon, 28 Jun 2021 16:32:52 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 9A9D3684D4; Mon, 28 Jun 2021 18:32:51 +0200 (CEST) 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="K6x30yG7"; dkim-atps=neutral Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id EAB016028C for ; Mon, 28 Jun 2021 18:32:49 +0200 (CEST) Received: by mail-pg1-x535.google.com with SMTP id t9so15894463pgn.4 for ; Mon, 28 Jun 2021 09:32:49 -0700 (PDT) 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=DnKcPRLwBOyE2pT73a1G70uGqqJ1fAA4tkHhPwBiPYg=; b=K6x30yG7mdBwpNBIrBVtsqWpFhod7r4Rn1oLXvLmz9oe/RGvxWjG9rqL0vkVDOFUsP exb+k4WdX3q7wRK6Cy4+MQuP3Uji3VA9lLOnmdkx239k99M8xQvbXIfOAv5XNtM4S3k1 hqdwaOOz4BCffmsBX18C2oxDa/glYUj6SjBU8= 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=DnKcPRLwBOyE2pT73a1G70uGqqJ1fAA4tkHhPwBiPYg=; b=VV5RWwL247LMxfetcoU6UyQoFLFAeoPfJ6Bmo+VKh4MfGQtvJap7FVqT53YzZbDwJp 10iRKoO+P5hSTwseTUDkuH00Qndn+PV0pgOF5lue7eTZILNQPbIJM3EAxb0c1dWpwZET rpsviPB968YbgzXGspiBsorz41R2njOsfEVfZEI87jNEeIgBrPq/KtTSQjWTpj+3w1/p 1A8IvckQjCN0v+YzsmyqKayevI08IW4Uhk6tXv+dR6Lg5MtkD29HixfsdvqsCZQG9LVB jemlPKhuqbJTIZ+6w+efFi+Uxm8ixXzyUXGJeWS00jXhd1w+emTY5Zfy3aOygaf/Wr1b mdXg== X-Gm-Message-State: AOAM5325py0dD7f4H18LEZg66E3rEgfLTuRrAfCx3+RQnc4Sw7uvAFow U7p3GrduqfcVXG00+SKtYIXNHjJvVszZng== X-Google-Smtp-Source: ABdhPJxZkmmPFrVZt+PIzj3FOkMwFAY7avH9xJ5Zsgc8nvbIHVDFR0IkG/jRt3fcwFnTkQ0WLWtihg== X-Received: by 2002:a63:5a47:: with SMTP id k7mr24169824pgm.9.1624897968054; Mon, 28 Jun 2021 09:32:48 -0700 (PDT) Received: from hiroh2.tok.corp.google.com ([2401:fa00:8f:203:a147:1cb:e226:4ed9]) by smtp.gmail.com with ESMTPSA id gg5sm5134201pjb.42.2021.06.28.09.32.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Jun 2021 09:32:47 -0700 (PDT) From: Hirokazu Honda To: libcamera-devel@lists.libcamera.org Date: Tue, 29 Jun 2021 01:32:35 +0900 Message-Id: <20210628163237.3194582-1-hiroh@chromium.org> X-Mailer: git-send-email 2.32.0.93.g670b81a890-goog MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/2] Add CameraSensor a function to set test pattern mode 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" Adds CameraSensor a function to set a test pattern mode. The function will actaully be used for pipeline handler to set a test pattern mode. Hirokazu Honda (2): libcamera: camera_sensor: Reverse the key and value of test pattern mode map libcamera: camera_sensor: Enable to set a test pattern mode include/libcamera/internal/camera_sensor.h | 2 + src/libcamera/camera_sensor.cpp | 50 ++++++++++++++++++++-- src/libcamera/camera_sensor_properties.cpp | 28 ++++++------ 3 files changed, 62 insertions(+), 18 deletions(-) --- 2.32.0.93.g670b81a890-goog