Show a cover letter.

GET /api/covers/21724/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 21724,
    "url": "https://patchwork.libcamera.org/api/covers/21724/?format=api",
    "web_url": "https://patchwork.libcamera.org/cover/21724/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20241022074544.3790451-1-chenghaoyang@chromium.org>",
    "date": "2024-10-22T07:43:36",
    "name": "[v16,0/7] Add VirtualPipelineHandler",
    "submitter": {
        "id": 117,
        "url": "https://patchwork.libcamera.org/api/people/117/?format=api",
        "name": "Cheng-Hao Yang",
        "email": "chenghaoyang@chromium.org"
    },
    "mbox": "https://patchwork.libcamera.org/cover/21724/mbox/",
    "series": [
        {
            "id": 4733,
            "url": "https://patchwork.libcamera.org/api/series/4733/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4733",
            "date": "2024-10-22T07:43:36",
            "name": "Add VirtualPipelineHandler",
            "version": 16,
            "mbox": "https://patchwork.libcamera.org/series/4733/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/covers/21724/comments/",
    "headers": {
        "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>",
        "X-Original-To": "parsemail@patchwork.libcamera.org",
        "Delivered-To": "parsemail@patchwork.libcamera.org",
        "Received": [
            "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 0AAF2C3272\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 22 Oct 2024 07:45:54 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id BE2E965392;\n\tTue, 22 Oct 2024 09:45:52 +0200 (CEST)",
            "from mail-pl1-x634.google.com (mail-pl1-x634.google.com\n\t[IPv6:2607:f8b0:4864:20::634])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 20E9C6053E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 22 Oct 2024 09:45:51 +0200 (CEST)",
            "by mail-pl1-x634.google.com with SMTP id\n\td9443c01a7336-20cb47387ceso47317135ad.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 22 Oct 2024 00:45:51 -0700 (PDT)",
            "from chenghaoyang-low.c.googlers.com.com\n\t(27.247.221.35.bc.googleusercontent.com. [35.221.247.27])\n\tby smtp.gmail.com with ESMTPSA id\n\td2e1a72fcca58-71ec13d75aesm4091024b3a.124.2024.10.22.00.45.47\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 22 Oct 2024 00:45:48 -0700 (PDT)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"l2mkavdo\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=chromium.org; s=google; t=1729583149; x=1730187949;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc\n\t:to:from:from:to:cc:subject:date:message-id:reply-to;\n\tbh=zltTR/htsvMrI/cvqM8tSDGxixWEGTHpn7i1gCqcJgo=;\n\tb=l2mkavdoud/6awhV33+4aihmkqjIcsRdbI/o1ZILSXa0hW0idPj7pY+y3BX4/0mYQV\n\tQA9w25iIOTY9OfyF3iNpRmxG+L8uRLrnBkhmii+0/5DBIrbnsJ92rBcWUz3/BXqc15UQ\n\tNi8dVGxmpuh3iLbKTxiv3wGOAiucXDsWpwUNs=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1729583149; x=1730187949;\n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc\n\t:to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n\t:reply-to;\n\tbh=zltTR/htsvMrI/cvqM8tSDGxixWEGTHpn7i1gCqcJgo=;\n\tb=IS5SzUOz5YuhhBgmzhUvweH9TI2+acZoFox0gzec0Lkt7qzGH11Ygj8+VmokYvNO37\n\tC2w6GNRlZHAa1lk0gl0VkElB5IjBrX1228eBbklmzuNPzht+w8bGYSr29cSPslvk7HBX\n\taqkCJIWuYGql8YJg5od/+E3+I53SJjeOfgEygrmfxEKrWJkCkr6qiATeeCPAFNMBwpgN\n\tQ8P97+Tju3dRTcGqyOryvArOvZqwvX/Ko9AKjdUkMmsDORTKQXwToSbuYHdleGOxdRRl\n\tPLNrG3w2ti/VV8aJmQIFvbR+J+MX3ADq74AcaOWxQrkMwpjYhMVmTe0xEn+mmYizsZa0\n\tUr0g==",
        "X-Gm-Message-State": "AOJu0YzcOnnAueUTMOh5aS5cfNhiYGOn2LaefRI0UuD5UJIYLOdiHWF0\n\tUkmKtO10YVso015WmiQvBXu7JfA7jSu+NIkpOPVi0LNOj7Sa/GYLcgu+AEq+7Av3fwJigPMe/5w\n\t=",
        "X-Google-Smtp-Source": "AGHT+IF9yuTN2ZjKXXIoUA/OE/X2q4zucPMBbtK0pw2xhfqwCrQsqy34hkAnBsYDsdDRWKArInTiGQ==",
        "X-Received": "by 2002:a05:6300:44:b0:1d9:2a8:ce10 with SMTP id\n\tadf61e73a8af0-1d92c589082mr20272308637.34.1729583149155; \n\tTue, 22 Oct 2024 00:45:49 -0700 (PDT)",
        "From": "Harvey Yang <chenghaoyang@chromium.org>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Harvey Yang <chenghaoyang@chromium.org>",
        "Subject": "[PATCH v16 0/7] Add VirtualPipelineHandler",
        "Date": "Tue, 22 Oct 2024 07:43:36 +0000",
        "Message-ID": "<20241022074544.3790451-1-chenghaoyang@chromium.org>",
        "X-Mailer": "git-send-email 2.47.0.105.g07ac214952-goog",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "<libcamera-devel.lists.libcamera.org>",
        "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>",
        "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>",
        "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>",
        "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Hi all,\n\nThis series adds virtual pipeline handler, which doesn't depend on any\nhardware, like camera sensor or ISP. Currently the configuration\nsupports test patterns and images.\n\nIt passed the gitlab pipeline:\nhttps://gitlab.freedesktop.org/chenghaoyang/libcamera/-/pipelines/1294884\n\nUpdates in v16:\n- Updates location in config with `properties::LocationNameValueMap`.\n\nUpdates in v15:\n- Fixed multi_stream_test with `PipelineHandler::match()`.\n\nUpdates in v14:\n- Refactored ImageFrames to keep a list of filepaths directly.\n\nUpdates in v13:\n- Returned an errno in `FrameGenerete::generateFrame()`\n\nUpdates in v12:\n- Added ImageFrameGenerator first, then add Parser.\n- Removed ScaleMode argument, as only Fill is supported now.\n- Fixed bug of Stream's configuration usage in configure().\n\nUpdates in v11:\n- Allowed a single value in the config file's frame_rates field.\n\nUpdates in v10:\nApply fixes according to Jacopo's and Barnabás' comments.\n- Split test_pattern and path fields in the yaml format.\n- Let FrameGenerators control frameCount_.\n- Fixed match() returning values.\n\nUpdates in v9: Allocate contiguous memory for planes in the same\nFrameBuffer.\n\nBR,\nHarvey\n\n\nHarvey Yang (7):\n  libcamera: add DmaBufAllocator::exportBuffers()\n  libcamera: Remove PipelineHandler Fatal check of non-empty\n    MediaDevices\n  libcamera: virtual: Add VirtualPipelineHandler\n  libcamera: pipeline: Add test pattern for VirtualPipelineHandler\n  libcamera: virtual: Add ImageFrameGenerator\n  libcamera: virtual: Read config and register cameras based on the\n    config\n  libcamera: software_isp: Refactor SoftwareIsp to use\n    DmaBufAllocator::exportBuffers\n\n .../libcamera/internal/dma_buf_allocator.h    |  13 +\n meson.build                                   |   1 +\n meson_options.txt                             |   3 +-\n src/android/meson.build                       |  19 -\n src/libcamera/dma_buf_allocator.cpp           |  57 +++\n src/libcamera/pipeline/virtual/README.md      |  65 +++\n .../pipeline/virtual/config_parser.cpp        | 260 ++++++++++++\n .../pipeline/virtual/config_parser.h          |  39 ++\n .../pipeline/virtual/data/virtual.yaml        |  36 ++\n .../pipeline/virtual/frame_generator.h        |  29 ++\n .../virtual/image_frame_generator.cpp         | 172 ++++++++\n .../pipeline/virtual/image_frame_generator.h  |  49 +++\n src/libcamera/pipeline/virtual/meson.build    |  13 +\n .../virtual/test_pattern_generator.cpp        | 136 ++++++\n .../pipeline/virtual/test_pattern_generator.h |  52 +++\n src/libcamera/pipeline/virtual/virtual.cpp    | 398 ++++++++++++++++++\n src/libcamera/pipeline/virtual/virtual.h      |  61 +++\n src/libcamera/pipeline_handler.cpp            |  11 +-\n src/libcamera/software_isp/software_isp.cpp   |  20 +-\n src/meson.build                               |  19 +\n 20 files changed, 1411 insertions(+), 42 deletions(-)\n create mode 100644 src/libcamera/pipeline/virtual/README.md\n create mode 100644 src/libcamera/pipeline/virtual/config_parser.cpp\n create mode 100644 src/libcamera/pipeline/virtual/config_parser.h\n create mode 100644 src/libcamera/pipeline/virtual/data/virtual.yaml\n create mode 100644 src/libcamera/pipeline/virtual/frame_generator.h\n create mode 100644 src/libcamera/pipeline/virtual/image_frame_generator.cpp\n create mode 100644 src/libcamera/pipeline/virtual/image_frame_generator.h\n create mode 100644 src/libcamera/pipeline/virtual/meson.build\n create mode 100644 src/libcamera/pipeline/virtual/test_pattern_generator.cpp\n create mode 100644 src/libcamera/pipeline/virtual/test_pattern_generator.h\n create mode 100644 src/libcamera/pipeline/virtual/virtual.cpp\n create mode 100644 src/libcamera/pipeline/virtual/virtual.h"
}