Show a cover letter.

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

{
    "id": 21151,
    "url": "https://patchwork.libcamera.org/api/covers/21151/?format=api",
    "web_url": "https://patchwork.libcamera.org/cover/21151/",
    "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": "<20240903103810.3288042-1-chenghaoyang@chromium.org>",
    "date": "2024-09-03T10:35:24",
    "name": "[v4,0/3] Add Face Detection Controls",
    "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/21151/mbox/",
    "series": [
        {
            "id": 4558,
            "url": "https://patchwork.libcamera.org/api/series/4558/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4558",
            "date": "2024-09-03T10:35:24",
            "name": "Add Face Detection Controls",
            "version": 4,
            "mbox": "https://patchwork.libcamera.org/series/4558/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/covers/21151/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 5E5E8C324C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue,  3 Sep 2024 10:38:16 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7219F634E7;\n\tTue,  3 Sep 2024 12:38:15 +0200 (CEST)",
            "from mail-wr1-x431.google.com (mail-wr1-x431.google.com\n\t[IPv6:2a00:1450:4864:20::431])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 29F81634A6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  3 Sep 2024 12:38:14 +0200 (CEST)",
            "by mail-wr1-x431.google.com with SMTP id\n\tffacd0b85a97d-371ba7e46easo3472821f8f.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 03 Sep 2024 03:38:14 -0700 (PDT)",
            "from chenghaoyang-germany.c.googlers.com.com\n\t(161.126.77.34.bc.googleusercontent.com. [34.77.126.161])\n\tby smtp.gmail.com with ESMTPSA id\n\tffacd0b85a97d-374bfbfc7b7sm8929393f8f.88.2024.09.03.03.38.12\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 03 Sep 2024 03:38:12 -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=\"oTcNNG6q\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=chromium.org; s=google; t=1725359893; x=1725964693;\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=E/+sGcvKB1bIMpbCjSserfPhdOfGdCnL+Fk2rSqbIzk=;\n\tb=oTcNNG6qJ6CeiOrdQW+oOvG8Pqe5rgkB028IyOPx1eeogV5bYZ2RF+wabSz4vxAEGK\n\tDDOOhLqHCBbDAYQ6R5Bi2XO/c3Qse5seu1LKB800Zbi8AJXm9CcP279ZUuy6hPonSKEr\n\tNaPHtb/Whamdq+Dpoz6ibuAmhzZ7DEH80hdlc=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1725359893; x=1725964693;\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=E/+sGcvKB1bIMpbCjSserfPhdOfGdCnL+Fk2rSqbIzk=;\n\tb=ovU01HiqnyTHsXOI7UORow5KNWdn0stEYhxbt6nCrdzx2XbOVfUf6as9lWLfI65ewC\n\t/yRyv/XNXe0uYBscHfazEp8/BFPwHDTPGe0Xd0pug2n6Si74rkucajYE+kM3Eo26Jehr\n\toEwbQvUCx0Bd0dii8xMR7qN9/Q+09qe4HsDT2z2Pf4/oBbqyVBBqEwnz6phg/7jrqDWw\n\tHAFuAusWR5IwDfT/SJxQeTR/ifEcyvePsP8LvOHrGTlO91FQqu1q8NFIMJ3gdXygDNPH\n\tCCLzpXkZXSuUGDTDheR1EAegCmkh1F+38JSKRMvWM4IdBbSej7P/4a/Z0M3SU7boDcGv\n\tP1FA==",
        "X-Gm-Message-State": "AOJu0Yx+TXJz1b7bxHFUoRCeRVDySN84zG33V4cXNk1g+EsOJMHFiiuf\n\tCvVzWL+RD6m51+OmJDVVkcTySK3Q0/DJnL1efMmu3B0VxN6qbaGI5DbVj3y7GPd0ZJjYK8fJj1Z\n\tnag==",
        "X-Google-Smtp-Source": "AGHT+IHntg3AAe6T3fmT5BBiW1YByUjvWsiV2RwMzEEUwoJvaAVIyvVT+3/ube5kTVL3ZcRrPt6Now==",
        "X-Received": "by 2002:a5d:470f:0:b0:35f:d70:6193 with SMTP id\n\tffacd0b85a97d-374bcfe5e4dmr6548826f8f.41.1725359893041; \n\tTue, 03 Sep 2024 03:38:13 -0700 (PDT)",
        "From": "Harvey Yang <chenghaoyang@chromium.org>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Harvey Yang <chenghaoyang@chromium.org>",
        "Subject": "[PATCH v4 0/3] Add Face Detection Controls",
        "Date": "Tue,  3 Sep 2024 10:35:24 +0000",
        "Message-ID": "<20240903103810.3288042-1-chenghaoyang@chromium.org>",
        "X-Mailer": "git-send-email 2.46.0.469.g59c65b2a67-goog",
        "MIME-Version": "1.0",
        "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 folks,\n\nThis series of patches adds face detection controls in the control ids,\nthe corresponding usages, and a c'tor of libcamera::Rectangle to\nconstruct it easiler with face detection results.\n\nIt passed gitlab pipeline checks:\nhttps://gitlab.freedesktop.org/chenghaoyang/libcamera/-/pipelines/1261374\n\nThis is one of the series cherry-picked from cros mtkisp7 branch.\n\nThe corresponding CLs in cros are:\nhttps://chromium-review.googlesource.com/c/chromiumos/third_party/libcamera/+/4741266\nhttps://chromium-review.googlesource.com/c/chromiumos/third_party/libcamera/+/4741267\nhttps://chromium-review.googlesource.com/c/chromiumos/third_party/libcamera/+/5669229\nhttps://chromium-review.googlesource.com/c/chromiumos/third_party/libcamera/+/5669232\n\nThe usages in pipeline handler mtkisp7 will be added later.\n\nThe checkstyle's suggestion on the second patch is ignored, as it\nchanges the style of previous code.\n\nv4:\n- Added support of FaceDetectModeFull and FaceDetectFaceIds\n- Fixed descriptions of control sizes.\n\nv3: Applied fixes according to Jacopo's comments.\n- Moved the new face detection controls from core to draft.\n- Amended new controls' descriptions.\n\nv2:\n- Squashed the fourth CL into the last patch, as it's a fix.\n- Fixed CLs based on checkstyle's suggestions.\n\nHarvey Yang (1):\n  libcamera: android: Add face detection control support\n\nYudhistira Erlandinata (2):\n  libcamera: Add rectangle two-point constructor\n  libcamera: Add face detection controls\n\n include/libcamera/controls.h         |  6 ++\n include/libcamera/geometry.h         |  2 +\n src/android/camera_capabilities.cpp  | 45 +++++++++++++--\n src/android/camera_device.cpp        | 75 +++++++++++++++++++++++-\n src/libcamera/control_ids_draft.yaml | 85 ++++++++++++++++++++++++++++\n src/libcamera/controls.cpp           |  6 ++\n src/libcamera/geometry.cpp           | 14 +++++\n 7 files changed, 227 insertions(+), 6 deletions(-)"
}