Patch Detail
Show a patch.
GET /api/1.1/patches/571/?format=api
{ "id": 571, "url": "https://patchwork.libcamera.org/api/1.1/patches/571/?format=api", "web_url": "https://patchwork.libcamera.org/patch/571/", "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": "<20190213151027.6376-3-kieran.bingham@ideasonboard.com>", "date": "2019-02-13T15:10:21", "name": "[libcamera-devel,v2,2/8] test: v4l2_device: capture_async: End test at 30 frames", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "2d2fb91d7767e21eaa481b2b956c83a3412525cf", "submitter": { "id": 4, "url": "https://patchwork.libcamera.org/api/1.1/people/4/?format=api", "name": "Kieran Bingham", "email": "kieran.bingham@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/571/mbox/", "series": [ { "id": 181, "url": "https://patchwork.libcamera.org/api/1.1/series/181/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=181", "date": "2019-02-13T15:10:19", "name": "libcamera: v4l2_device buffer sharing", "version": 2, "mbox": "https://patchwork.libcamera.org/series/181/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/571/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/571/checks/", "tags": {}, "headers": { "Return-Path": "<kieran.bingham@ideasonboard.com>", "Received": [ "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id EEBE4610B3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 13 Feb 2019 16:10:32 +0100 (CET)", "from localhost.localdomain\n\t(cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 8D1F05B6;\n\tWed, 13 Feb 2019 16:10:32 +0100 (CET)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1550070632;\n\tbh=aoOnnBwJExV51TCGu4TDrq/+OLyuJQhG47PaE6OlYDk=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=K1CV7nQmm4sHKQXYKkaxkxnLE2Pg/XQ+sT+qfDanQuruXb10BfNKyLvqhKA+qnS2x\n\tINmpJJ9i/gsyxSV+5/hseQ1r5yQRPY8gWJpKXyGfRldLw3lPYXACzPFD0ZvSAd8jF7\n\tew87DzbqRyXsfh6JOJuNnColEFTm0QUru7X5x4JE=", "From": "Kieran Bingham <kieran.bingham@ideasonboard.com>", "To": "LibCamera Devel <libcamera-devel@lists.libcamera.org>", "Date": "Wed, 13 Feb 2019 15:10:21 +0000", "Message-Id": "<20190213151027.6376-3-kieran.bingham@ideasonboard.com>", "X-Mailer": "git-send-email 2.19.1", "In-Reply-To": "<20190213151027.6376-1-kieran.bingham@ideasonboard.com>", "References": "<20190213151027.6376-1-kieran.bingham@ideasonboard.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v2 2/8] test: v4l2_device: capture_async:\n\tEnd test at 30 frames", "X-BeenThere": "libcamera-devel@lists.libcamera.org", "X-Mailman-Version": "2.1.23", "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>", "X-List-Received-Date": "Wed, 13 Feb 2019 15:10:33 -0000" }, "content": "The capture_async test was written to run for a fixed 5 second duration.\nModify the test such that it runs until it has captured 30 frames, or a 10\nsecond time out occurs.\n\nRunning the capture_async test on an ARM64 platform using VIVID captures 30\nframes in 6.15 seconds.\n\nThere may be scope to optimise this speed by changing the format on the capture\ndevice.\n\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n---\n test/v4l2_device/capture_async.cpp | 7 +++++--\n 1 file changed, 5 insertions(+), 2 deletions(-)", "diff": "diff --git a/test/v4l2_device/capture_async.cpp b/test/v4l2_device/capture_async.cpp\nindex 7a0735f65535..ba37c9731831 100644\n--- a/test/v4l2_device/capture_async.cpp\n+++ b/test/v4l2_device/capture_async.cpp\n@@ -56,9 +56,12 @@ protected:\n \t\tif (ret)\n \t\t\treturn TestFail;\n \n-\t\ttimeout.start(5000);\n-\t\twhile (timeout.isRunning())\n+\t\ttimeout.start(10000);\n+\t\twhile (timeout.isRunning()) {\n \t\t\tdispatcher->processEvents();\n+\t\t\tif (frames > 30)\n+\t\t\t\tbreak;\n+\t\t}\n \n \t\tif (frames < 1) {\n \t\t\tstd::cout << \"Failed to capture any frames within timeout.\" << std::endl;\n", "prefixes": [ "libcamera-devel", "v2", "2/8" ] }