Patch Detail
Show a patch.
GET /api/1.1/patches/15491/?format=api
{ "id": 15491, "url": "https://patchwork.libcamera.org/api/1.1/patches/15491/?format=api", "web_url": "https://patchwork.libcamera.org/patch/15491/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/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": "<20220322013119.4262-1-hpa@redhat.com>", "date": "2022-03-22T01:31:19", "name": "[libcamera-devel] ipa: ipu3: af: Set default grid block width to the minimum value", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "2ce9d32cf0f564340fc928676be447fb7e742142", "submitter": { "id": 105, "url": "https://patchwork.libcamera.org/api/1.1/people/105/?format=api", "name": "Kate Hsuan", "email": "hpa@redhat.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/15491/mbox/", "series": [ { "id": 2980, "url": "https://patchwork.libcamera.org/api/1.1/series/2980/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2980", "date": "2022-03-22T01:31:19", "name": "[libcamera-devel] ipa: ipu3: af: Set default grid block width to the minimum value", "version": 1, "mbox": "https://patchwork.libcamera.org/series/2980/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/15491/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/15491/checks/", "tags": {}, "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 D3B11BD80A\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 22 Mar 2022 01:31:53 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 1FE48604D4;\n\tTue, 22 Mar 2022 02:31:53 +0100 (CET)", "from us-smtp-delivery-124.mimecast.com\n\t(us-smtp-delivery-124.mimecast.com [170.10.129.124])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 65DD0604C7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 22 Mar 2022 02:31:50 +0100 (CET)", "from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com\n\t[66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS\n\t(version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n\tus-mta-155-wZdZK3uCNRC2ksr7jvGnLw-1; Mon, 21 Mar 2022 21:31:46 -0400", "from smtp.corp.redhat.com\n\t(int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mimecast-mx02.redhat.com (Postfix) with ESMTPS id AC94E83395E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 22 Mar 2022 01:31:45 +0000 (UTC)", "from fedora.redhat.com (unknown [10.39.192.3])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 0CABB40CF8FB;\n\tTue, 22 Mar 2022 01:31:43 +0000 (UTC)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1647912713;\n\tbh=OJxOuLUOhT74OYGzK4z/FMv37tT59d5QyhblTVzzp40=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=KR2fTge0oTp+W+WzgDemjZKGegNoKV7if2w9yOpTQpL5tV7KINGZ0bC9BrH0Ayh3+\n\t2ietSYD/trSOL4t2xVulXrRgxuHuvwqL1xrGymjsSRPb8JFVLOnF65/vUyoZkUuw6Y\n\tzBm0PeO8k/NSSIrsBPbmZ64G3Xtu3vtL+7PXL9Yat5tn8XNZNlD0x7lDQIn8aPTro9\n\tJnLhVz1YJQH4yblCJNZa9tpsd4GXPMHb9ZMAujvwx7IXMABkRyi2XiCGdxG1ocKVsU\n\t4EUfco7Pv/hVyGRBAe/RycCwJZm6Ila4a1zKUsaP96hFUoGD2fL7oCpZj3BDJrq3l8\n\toOwjsHdxMxW4Q==", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n\ts=mimecast20190719; t=1647912709;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\tto:to:cc:cc:mime-version:mime-version:content-type:content-type:\n\tcontent-transfer-encoding:content-transfer-encoding;\n\tbh=1U+LoOBKaucRHi2ou9lvYbhz6H9fW6wAMoq3TggJDJs=;\n\tb=HK3DqHkdT+oLYKRxf22sL46D8b1dFtdD0GtPeW0KaGQWMOIJ/mn3mFGuv4wBe0U6NYxFBr\n\t1TlGOkFLQ1nKX2YItI1TnGNotunaUT5JLDCdwIUTa4Y4SlJ4iS8b9aLIleKGVO3DA0jbcd\n\t825Y51CQpLRBETpawvqkbohWCouOenw=" ], "Authentication-Results": [ "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=redhat.com\n\theader.i=@redhat.com header.b=\"HK3DqHkd\"; \n\tdkim-atps=neutral", "relay.mimecast.com;\n\tauth=pass smtp.auth=CUSA124A263 smtp.mailfrom=hpa@redhat.com" ], "X-MC-Unique": "wZdZK3uCNRC2ksr7jvGnLw-1", "To": "libcamera devel <libcamera-devel@lists.libcamera.org>", "Date": "Tue, 22 Mar 2022 09:31:19 +0800", "Message-Id": "<20220322013119.4262-1-hpa@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 2.84 on 10.11.54.1", "X-Mimecast-Spam-Score": "0", "X-Mimecast-Originator": "redhat.com", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain; charset=\"US-ASCII\"", "Subject": "[libcamera-devel] [PATCH] ipa: ipu3: af: Set default grid block\n\twidth to the minimum value", "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>", "From": "Kate Hsuan via libcamera-devel <libcamera-devel@lists.libcamera.org>", "Reply-To": "Kate Hsuan <hpa@redhat.com>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "Since x\tcoordinate is incorrectly computed by a kernel issue, the block width\nshould be set to 4 to prevent using the second stripe when setting the AF scene\nto the centre of the image. A kernel patch had fixed this issue. Therefore, this\nvalue can be set to the default minimum value.\n\nSigned-off-by: Kate Hsuan <hpa@redhat.com>\n---\nThe kernel patch is shown as following URL.\nhttps://lore.kernel.org/linux-media/CAEth8oES8abPO4p7eFv43PwDXuxeOmg1661YtVvykBPrkagzKg@mail.gmail.com/T/#mb02fa73ce9e3089a4619c318badb2047a3ac39e2\n---\n src/ipa/ipu3/algorithms/af.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/src/ipa/ipu3/algorithms/af.h b/src/ipa/ipu3/algorithms/af.h\nindex 13c7e0e8..108fcd18 100644\n--- a/src/ipa/ipu3/algorithms/af.h\n+++ b/src/ipa/ipu3/algorithms/af.h\n@@ -20,7 +20,7 @@ static constexpr uint8_t kAfMinGridWidth = 16;\n static constexpr uint8_t kAfMinGridHeight = 16;\n static constexpr uint8_t kAfMaxGridWidth = 32;\n static constexpr uint8_t kAfMaxGridHeight = 24;\n-static constexpr uint16_t kAfMinGridBlockWidth = 4;\n+static constexpr uint16_t kAfMinGridBlockWidth = 3;\n static constexpr uint16_t kAfMinGridBlockHeight = 3;\n static constexpr uint16_t kAfMaxGridBlockWidth = 6;\n static constexpr uint16_t kAfMaxGridBlockHeight = 6;\n", "prefixes": [ "libcamera-devel" ] }