From patchwork Wed Oct 12 07:59:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cheng-Hao Yang X-Patchwork-Id: 17588 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 96799C0DA4 for ; Wed, 12 Oct 2022 07:59:35 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id EE5C562D8A; Wed, 12 Oct 2022 09:59:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1665561574; bh=ivup5gh3DNmgWLePEJVcjb8nkmSF5uLJhfGu8052hnQ=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=yVCEpBJx37PavV30vGo26HCxTpBoNx5NQucczmdG9BeMQBx8CeueFeU94uaFjwUle FKCPgyH+PcOpZD9AXyi9zMTnudbz8TN0Bnc8iKW2xP0KH9waatRYspgjwYJ1Ppv26J DOB2V8Yw/prcB6gx1QIL37XT1hk5IgBw1eHhI1Ofjt36yk0dioTjBMF64+PTG/qnMU p0HLldvmNIcSMcLDte0zNAbRv6OHlObgJUlShP6fcmEgfhGK0PEKGsuNi8ycr4ar8Z ELglcx+D+cfxymDjYoRhIItsH1MKB7Gettmcp3NH31OHalkuC64Vk3WKePR/a7JoAU 9m/sWA6xZiXKw== Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2E144603D4 for ; Wed, 12 Oct 2022 09:59:33 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="HbXj9dVr"; dkim-atps=neutral Received: by mail-pl1-x634.google.com with SMTP id c20so5959156plc.5 for ; Wed, 12 Oct 2022 00:59:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3xWnSJAE/Ix4J7S7ykgOFmkDnoZb3NJeG7XcWK1ap+w=; b=HbXj9dVrdTAls4LYMq/piTHBlAad6OPlaZlUUtkkKxt41TLuCC1pvKhzgkxApjibtx H0HcT5K/qG2moyAvGgvQDimEdam5yTMHkclqg9Wggz7VqwaX4JBnpByKJzrtZa4vrxYR EaQf9PeVUv5c+MkeeWkcH8WOf8b4+pKHlfMBY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=3xWnSJAE/Ix4J7S7ykgOFmkDnoZb3NJeG7XcWK1ap+w=; b=AEErJKfKjM6T2ar0DLO5gzfqzsSXmDubDnfGSaBmeZGP1nwx5FnfgV0asRxnF8h6fv fyOSEK5/a/rXTCHZWcyVMtPYs0kRv8BqJ+5YlPgyogUtbkZVvBbr8Q9mnAG8doebwK1W PVI5yQ9ehYqv8mLQIL2nyadXsZ6QyRbM4UbxdJpwKMQA/+86qmrNUUhQkWuZWYHO/gtC tx/rAMgaw9OeGQ7gfVkixh4Ik+87iyEgJ2sagO1Pfl1JyvYeEdGyQwP2jFVi5rYeVK8s /l082vYlI1BsmMp3kO0xvRbITyVyp9bEqpTIowWvMtALvZDcD+pngMQgVWX4mIlpCSUm Ojkg== X-Gm-Message-State: ACrzQf3SCbmNrAwX8Fv1A1MgPouIU0dn92G61737ny+HnkogAVwh0Lc7 KQzRDLB8IIDjpfBaB2p2FfIbQT6u64QfSQ== X-Google-Smtp-Source: AMsMyM4OUHGravpHHaYEM2FBiNfGZblupykikF2jo0gUKv5zoAYjXfoRNlHDd/joP6muPYWDwt3tbA== X-Received: by 2002:a17:903:24e:b0:179:b755:b82f with SMTP id j14-20020a170903024e00b00179b755b82fmr27846342plh.34.1665561571065; Wed, 12 Oct 2022 00:59:31 -0700 (PDT) Received: from chenghaoyang-low.c.googlers.com.com (231.137.80.34.bc.googleusercontent.com. [34.80.137.231]) by smtp.gmail.com with ESMTPSA id t6-20020aa79466000000b005631af4ece2sm7166177pfq.182.2022.10.12.00.59.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Oct 2022 00:59:30 -0700 (PDT) X-Google-Original-From: Harvey Yang To: libcamera-devel@lists.libcamera.org Date: Wed, 12 Oct 2022 07:59:24 +0000 Message-Id: <20221012075925.3971538-1-chenghaoyang@google.com> X-Mailer: git-send-email 2.38.0.rc1.362.ged0d419d3c-goog MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/1] Fake Pipeline Handler 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: , X-Patchwork-Original-From: Harvey Yang via libcamera-devel From: Cheng-Hao Yang Reply-To: Harvey Yang Cc: Harvey Yang , Harvey Yang Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" This is a POC PATCH of the fake pipeline handler, which should be used for tests and validating Android adaptor can pass CTS limited mode. Signed-off-by: Harvey Yang Harvey Yang (1): Add fake pipeline handler meson_options.txt | 2 +- src/android/camera_capabilities.cpp | 1 + src/libcamera/pipeline/fake/fake.cpp | 518 ++++++++++++++++++++++++ src/libcamera/pipeline/fake/meson.build | 3 + src/libcamera/pipeline_handler.cpp | 2 +- test/camera/camera_reconfigure.cpp | 2 +- 6 files changed, 525 insertions(+), 3 deletions(-) create mode 100644 src/libcamera/pipeline/fake/fake.cpp create mode 100644 src/libcamera/pipeline/fake/meson.build