From patchwork Fri Oct 14 10:36:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harvey Yang X-Patchwork-Id: 17594 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 47E31BD16B for ; Fri, 14 Oct 2022 10:36:23 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id ABF5362DB8; Fri, 14 Oct 2022 12:36:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1665743780; bh=iFAGikmczonDVIRUp00i7GKWHA8pk3DNitGoqTGd4GU=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=GOEe/HSxFTLdkdWrQw2ZIts5qoiCz+wBkgMXJu3ufu+/lPH34bdInlsw1op/byp6P khH6Mmw3sDUE2W48l0qYA7d7PPLBB7yo0JnwkWrD6fBwYUlRl9gNE8DQXGz+OogCRu CRwR07Cqzxdy4GiwyAXe9QGNfPnu1uUv48MT2n48GvpWZGMLhf2jcOgkHCboU0TIIt qDfeuqzxc9vPv4F1Uxh45+97x6yzlpGVqE9dmiUBP8X7KKBVs+Z4CpQXFGBHJpVFyD qZQ8p9W07nuEQ1wx/WmnqSiNmV/glD98h0TXnUTw732gE4oD3CbMPy6hf5NBoUL8RZ kO+5EDe7VaO7g== Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A5E3062D8E for ; Fri, 14 Oct 2022 12:36:18 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="oVoWlMeP"; dkim-atps=neutral Received: by mail-pj1-x1033.google.com with SMTP id q10-20020a17090a304a00b0020b1d5f6975so4456817pjl.0 for ; Fri, 14 Oct 2022 03:36:18 -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=zEDgdsGYIEDuz7Z/HjjX6f6R1Ni7z7G/PP5u/igkv1o=; b=oVoWlMePiugtqyPnCmhvxFlAttedSwZ1edIInWImWYeZCjoZk5cQrZ+jH/pjalO40I I2KWd2cMhwobJsYVH3squKfcE/rvAg6TAkkmTekmhaMderouXDho7EYHtqZcma38+htZ R5l+gMygIxszWnmjXEno0aMsorMwpfb/h6qcw= 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=zEDgdsGYIEDuz7Z/HjjX6f6R1Ni7z7G/PP5u/igkv1o=; b=uLBAgNoGWRJyMNqMBVBux6PFYCkf5u2FU+3W6yMlffoLAujZfO1zGyD11EYeHDrntt EYnLBBSontX6czdgUK45DLsaUQKKMVZAQGe6BPAoZT1Jb6+DcZefSOICFu7ZF6QOeaaX 9ydlhee0flk23JNa2MyzHuGqa/pKllay+JidpSjvkDMB6hsYNAkeuyBdx73/qlUuhO8r ozCqFlLSzsJYP//R/0NDf7xjbH53BgNZ2y6HJs1SbA/QYHa02fZaqUE5uhLzpKOr+GWV xm7pIolXeXgdwQSvF8rie2uHCpBVbsEutN7xkxAX3slEeT7ZW8KgyHiu4RLuzKPzOJK2 X7tQ== X-Gm-Message-State: ACrzQf1+mzmNA1ui8ckzZb5JQiNsKX4mj8qt2Hi9S2xExOarGoCDxhHr uRZhJTWflp9zE7k66JFd6/TWXcBaP6MN3Q== X-Google-Smtp-Source: AMsMyM716tSfY+GVx/AWiqWuEoy9BtIB5064OCd9rw6b0rB1G9YeTTDxx4IeFQT93ldkM+wpZw1U1A== X-Received: by 2002:a17:902:dac4:b0:178:2a6f:bc7f with SMTP id q4-20020a170902dac400b001782a6fbc7fmr4665293plx.129.1665743776851; Fri, 14 Oct 2022 03:36:16 -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 e15-20020a170902784f00b00178b9c997e5sm1405704pln.138.2022.10.14.03.36.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Oct 2022 03:36:16 -0700 (PDT) X-Google-Original-From: Harvey Yang To: libcamera-devel@lists.libcamera.org Date: Fri, 14 Oct 2022 10:36:11 +0000 Message-Id: <20221014103612.241629-1-chenghaoyang@google.com> X-Mailer: git-send-email 2.38.0.413.g74048e4d9e-goog MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 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: Harvey Yang Reply-To: Harvey Yang Cc: Harvey Yang , Harvey Yang Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" This is the second version of POC patch of the fake pipeline handler. Jacopo's comments are mostly adopted. Still lots of stuffs to be updated. It 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/libcamera/pipeline/fake/fake.cpp | 441 ++++++++++++++++++++++++ src/libcamera/pipeline/fake/meson.build | 3 + test/camera/camera_reconfigure.cpp | 2 +- 4 files changed, 446 insertions(+), 2 deletions(-) create mode 100644 src/libcamera/pipeline/fake/fake.cpp create mode 100644 src/libcamera/pipeline/fake/meson.build