From patchwork Fri Jun 11 08:42:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hirokazu Honda X-Patchwork-Id: 12563 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 BD78FC320B for ; Fri, 11 Jun 2021 08:42:38 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2D8B768930; Fri, 11 Jun 2021 10:42:38 +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="hWDbjGe/"; dkim-atps=neutral Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 77E2B6029E for ; Fri, 11 Jun 2021 10:42:36 +0200 (CEST) Received: by mail-pj1-x102b.google.com with SMTP id x21-20020a17090aa395b029016e25313bfcso5599125pjp.2 for ; Fri, 11 Jun 2021 01:42:36 -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=1EhDNe8Q73LZrA/yPaZZSHJ6TzLEtrm/qYHfv0kaOME=; b=hWDbjGe/Cc8e98rZUg7EyVu9lT8/OlNBt65UVZ/qdSSaiOPFGJJas8vpNFJ6rp0Lgt Bwsc6V6ZsWO6A+sdfKIYRbeqx+kTLvIDxcmI8khkKqmu0Qur4c/ws8DwoNE8hC3HZmhU vkl/0OEQ6yfg2eqFj6alb/9cUgRHH7tZtgORM= 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=1EhDNe8Q73LZrA/yPaZZSHJ6TzLEtrm/qYHfv0kaOME=; b=Rzj/tmxB564YI2tUtfu3W+Co393Go5SEl5SzDlMxCu0E/qLi8otUKMjbzG1EZ3HCSa FIU6dIaylpQ9VtWXohI5KkY6h5w8fMdL2okVeKO+tCuivccXu0wrFnYKCdJKOEPPYUcP EhV8AAbVGlcwobwKd8y7OfB7S7lZsIeXiSk8tPl+0oourMmONlzFJ3cySH8azTmLWEo2 z0aj7beyEbj00Fbz/qPozUleQwxz4quzoE8dajidiUqhX9tjCts9b5EKuPYOW4rxHM1x 17x/xFRl95XPMFk+aUGglWfu1QBTsuYJqhyyLUwzIb5OZNojQfmg5JAsnKGTsbn1D6be y/eA== X-Gm-Message-State: AOAM533d+1JySfjAz+00Dj2SFv2a5WbcVksnsnyDasApyxONiIATfVj1 DDsGfJ27IkEd6NnT77ch41TmxTUlQW2wVA== X-Google-Smtp-Source: ABdhPJzOF0kTwIayw85RFeW4vpCCmV95J4XFkYSguuDY2rGtdto908ZiiVt3ihF1iKoMdK7EZTsjNg== X-Received: by 2002:a17:90a:1982:: with SMTP id 2mr3274060pji.185.1623400954423; Fri, 11 Jun 2021 01:42:34 -0700 (PDT) Received: from hiroh2.tok.corp.google.com ([2401:fa00:8f:203:367e:c2e4:d691:eca1]) by smtp.gmail.com with ESMTPSA id 20sm4323542pfi.170.2021.06.11.01.42.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Jun 2021 01:42:33 -0700 (PDT) From: Hirokazu Honda To: libcamera-devel@lists.libcamera.org Date: Fri, 11 Jun 2021 17:42:24 +0900 Message-Id: <20210611084228.1830629-1-hiroh@chromium.org> X-Mailer: git-send-email 2.32.0.272.g935e593368-goog MIME-Version: 1.0 Subject: [libcamera-devel] [RFC PATCH 0/4] Support sensor test pattern mode in Android HAL 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 series enables libcamera to produce a capture whose content is the sensor test pattern mode requested by Android HAL. Hirokazu Honda (4): libcamera: camera_sensor: Enable to set a test pattern mode libcamera: ipu3: Disable a sensor test pattern mode at initialization libcamera: ipu3: Apply a requested test pattern mode android: camera_device: Propagate the requested test pattern mode include/libcamera/internal/camera_sensor.h | 7 ++- src/android/camera_device.cpp | 50 +++++++++++++++++++++- src/libcamera/camera_sensor.cpp | 40 ++++++++++++++++- src/libcamera/pipeline/ipu3/cio2.cpp | 23 ++++++++++ 4 files changed, 113 insertions(+), 7 deletions(-) --- 2.32.0.272.g935e593368-goog