From patchwork Wed Mar 15 10:22:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harvey Yang X-Patchwork-Id: 18402 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 8CA6BBD80A for ; Wed, 15 Mar 2023 10:23:10 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id B55E56270B; Wed, 15 Mar 2023 11:23:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1678875789; bh=6Oyfy5JyOC/NGaBDmVuSzX3Ka/hf3wEGNg4oImhmIH4=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=tpOKnspgz/RzRjUW9NAuQ0rUFDif9++f9SXtow1zKXcAMxSr+JzyusZ3jSZ9igNzx RjUY6+cTScU+kE/OGQZC2bufV1b5bsigUX/L6GGzM8+tI5J5+VxCibGb4NFt/gwC3g /SS1s2Pj+OQLNdppR6x8cr5f4tr0uYhUQtkSAfBPzCGRQ1LMCrTfVqDk4wX3goFgi9 86+uPntqyhRXPiNtV7QRtfeyoSzhybbRNbLY9dxtHNB9l27MrJuhRpT3vt8HLFiisV bkjqHtnU5C15ru/52PmFvSl+Cp/ghkZXtufDQYoXNf0xslTuc+n4MI74JNtlrurLGt fok365aoJCfxA== Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id EE50B61ED2 for ; Wed, 15 Mar 2023 11:23:07 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="XnQCoasR"; dkim-atps=neutral Received: by mail-pj1-x102d.google.com with SMTP id y2so18266417pjg.3 for ; Wed, 15 Mar 2023 03:23:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1678875786; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=De96rMMhJzvANoY1+cAJddKt2flH8QRZ9EOXJHWdzSQ=; b=XnQCoasRgyB2sLd6lZxQntqo2+4XZ1iKK5d30ZhvRWeL5VSjdVi3BpZVUV/96LZDpb ehiH+EgHCkCDOh/zfkD6EvqD8L8hWagvmVTHhG8R0blkOnrRkRVnK1l9p/UYvpq+YgRD TrWp0gO0pBVun+R9CrCORo1+/Xxgm2H+ozHnc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678875786; 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=De96rMMhJzvANoY1+cAJddKt2flH8QRZ9EOXJHWdzSQ=; b=f2/2HugogRegEF26LJiuz9AFp8dDpm6t48XRw11m0bUC7g2aD7jSYZrN1n/U+R+EWw RX+6Cfzohd97BOYt6Okdwmq+aGffvmptPAhAl2Ziih0XzhYaVR2fw8mZTqwuwpd/Kqm+ A+9walEO5mrt17kz2dSKmoVohd+NCdwkxP5MEe04esoU/tQXIqYa7HdlrEN1nwGY5DsN +Ka6yR4N70eTEV/UviqqhvEp+b+wntYPU6YseBqsY+ykJZEnogbg8TbKiKdXXZ/Bty4j jPG1ExuGT0HO/SVSLQDgm6r8lXim6Co25m5POzq+tZnTl2Nhk4lRYVhhOmMlYBXBRfQX ZwnQ== X-Gm-Message-State: AO0yUKUt1INNWcsURF1Xmd49Ftr2OyvsjK/QhAkJoGBu/y9ew6jgiKjG hL6CXZWvjSecN9av7gvm0t1kd07Dwso94wCNyVM= X-Google-Smtp-Source: AK7set+bbDSIPqcsk5DY4KjXGvJUV79QEJAb7EJ5WGq+JOUAj6EWk067pvhtC3bSaQ+/Tb1sDQ+Uyw== X-Received: by 2002:a17:902:dac1:b0:19d:62b:f040 with SMTP id q1-20020a170902dac100b0019d062bf040mr2200221plx.37.1678875785847; Wed, 15 Mar 2023 03:23:05 -0700 (PDT) Received: from chenghaoyang-low.c.googlers.com.com (112.157.221.35.bc.googleusercontent.com. [35.221.157.112]) by smtp.gmail.com with ESMTPSA id f11-20020a17090274cb00b001a0450da45csm3262786plt.185.2023.03.15.03.23.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Mar 2023 03:23:05 -0700 (PDT) X-Google-Original-From: Harvey Yang To: libcamera-devel@lists.libcamera.org Date: Wed, 15 Mar 2023 10:22:54 +0000 Message-Id: <20230315102300.2265491-1-chenghaoyang@google.com> X-Mailer: git-send-email 2.40.0.rc1.284.g88254d51c5-goog MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 0/6] Virtual 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 Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" A WIP series of patches. Harvey Yang (6): libcamera: pipeline: Accept a camera having no MediaDevice libcamera: pipeline: Introduce skeleton Virtual Pipeline libcamera: pipeline: virtual: Create a Camera libcamera: pipeline: virtual: Generate and validate StreamConfigurations libcamera: pipeline: virtual: Queue requests libcamera: pipeline: virtual: Set camera properties & controls meson.build | 1 + meson_options.txt | 3 +- src/libcamera/pipeline/virtual/meson.build | 5 + src/libcamera/pipeline/virtual/virtual.cpp | 299 +++++++++++++++++++++ src/libcamera/pipeline_handler.cpp | 4 - 5 files changed, 307 insertions(+), 5 deletions(-) create mode 100644 src/libcamera/pipeline/virtual/meson.build create mode 100644 src/libcamera/pipeline/virtual/virtual.cpp