Cover Letter Detail
Show a cover letter.
GET /api/covers/20900/?format=api
{ "id": 20900, "url": "https://patchwork.libcamera.org/api/covers/20900/?format=api", "web_url": "https://patchwork.libcamera.org/cover/20900/", "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": "<20240813124722.22425-1-jaslo@ziska.de>", "date": "2024-08-13T12:25:04", "name": "[v2,0/3] gstreamer: Generate controls from control_ids_*.yaml files", "submitter": { "id": 173, "url": "https://patchwork.libcamera.org/api/people/173/?format=api", "name": "Jaslo Ziska", "email": "jaslo@ziska.de" }, "mbox": "https://patchwork.libcamera.org/cover/20900/mbox/", "series": [ { "id": 4515, "url": "https://patchwork.libcamera.org/api/series/4515/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4515", "date": "2024-08-13T12:25:04", "name": "gstreamer: Generate controls from control_ids_*.yaml files", "version": 2, "mbox": "https://patchwork.libcamera.org/series/4515/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/covers/20900/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 1F55ABDB13\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 13 Aug 2024 12:48:03 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 05D92633B5;\n\tTue, 13 Aug 2024 14:48:02 +0200 (CEST)", "from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de\n\t[81.169.146.162])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 029D463382\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 13 Aug 2024 14:47:59 +0200 (CEST)", "from archlinux.fritz.box by smtp.strato.de (RZmta 51.1.0 AUTH)\n\twith ESMTPSA id zb9f0a07DClxU7a\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits))\n\t(Client did not present a certificate);\n\tTue, 13 Aug 2024 14:47:59 +0200 (CEST)" ], "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=ziska.de header.i=@ziska.de header.b=\"PBD1vBP3\";\n\tdkim=permerror (0-bit key) header.d=ziska.de header.i=@ziska.de\n\theader.b=\"5KTlYBPx\"; dkim-atps=neutral", "ARC-Seal": "i=1; a=rsa-sha256; t=1723553279; cv=none;\n\td=strato.com; s=strato-dkim-0002;\n\tb=XmpnL5CQpmjNdVvegH4ueMnSRo1tZJ/uiQJh4X9NfJvkDpmOPG7R5eq32TYfznJqr2\n\tps0+vcRTWDcPaGVH8wObjfk6Mu2sAxn6oTlqHBD8ANl0ahaavtRZYhxqzNZMCBjfu8qo\n\tFvgnB+iQbpnvVoemJOGcrLMkUXghJVNQh653hMp2j5ncRrbmS6alANeu6lBDCtzqlDMp\n\t9kXo6sI0gJnOG51YMctC4/aG8c2y2fGoc1OYC2zc8i3liZuVWcMLEp3O7Mzwi0bqzs8W\n\tdMiuwtk1HSvLkmC5OO6UHLf9VEvq9/AmvRtDhYJr011sJjYn/cBFzYHXS0EsMPDwbwAs\n\t4oIA==", "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; t=1723553279;\n\ts=strato-dkim-0002; d=strato.com;\n\th=Message-ID:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender;\n\tbh=FljXdK+7/SsjZkcRoRHOaAOHHlgP4rFcGiEQTwmqOFI=;\n\tb=MWKaCB5q2mhoZ2GRjkQuEliiRPhgQgpB95xBzzGFNXAEs8thYCnlKcjgo3He9jN0NA\n\tKgh04lEI6GXvGArj8BWMLTFYoWzJgd02kUYS7KpianW6OX5SwIXkdx9AtL8f1OvLJ6eS\n\tw5oklaSyAULBWmm1C7efSHH1kat7RjVPr3/yoNpTcsJJJVO2z/M7V52KhNGAvyJw1PTz\n\tDObo2JffUKfNQJe3YSNg2Qf2+FiktUL3nHLYmHZMctntt05wZySuqdfzY5knzN0lk2eo\n\tDBSuEprX3EQW0CDTT7ePEkZJ6igN1VIYK87rXdAJcJkaj5G88QcETUmw+2anlZCKi83J\n\tmd7A==", "ARC-Authentication-Results": "i=1; strato.com;\n arc=none;\n dkim=none", "X-RZG-CLASS-ID": "mo00", "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; t=1723553279;\n\ts=strato-dkim-0002; d=ziska.de;\n\th=Message-ID:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender;\n\tbh=FljXdK+7/SsjZkcRoRHOaAOHHlgP4rFcGiEQTwmqOFI=;\n\tb=PBD1vBP3az657Tk/imAmt/68xM4mm3H/P558Qur8XWxzmKfTw/SSEPxEuqpAf201rU\n\tdbFXXRYvJ1R8IU80bzCnDITIsNuEP/G4kgk0d2Gu9OnnvzitS/rX4YAfLdLLMc4qT0Wq\n\tPPM3IZwyn2kA83fRkug7JQrq8aaOOzYmA2P+AVxsuBMG8Qiw94RhAUpTkFDI3A1MGiJE\n\tD5TiNrHAo8CUXInhlvZR4SAoPhWDF+TQ6q4N/360mOYbCMDseCGJUvv0ZVtpQcoKEKyd\n\tbg9JbpDUb27QUUfjouM7IhyqjDHnQ27h8ctmyx7E74FEEUxJIRGDsbRiTVMxijyuJIf6\n\tHP8A==", "v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1723553279;\n\ts=strato-dkim-0003; d=ziska.de;\n\th=Message-ID:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender;\n\tbh=FljXdK+7/SsjZkcRoRHOaAOHHlgP4rFcGiEQTwmqOFI=;\n\tb=5KTlYBPx+b57ekf+3rW4zjWM9HZ4JJcW1yot/WfwYPvboZrd6vV7ttbeplsKn+3Z4P\n\ts071sMNPyclbboBitRDg==" ], "X-RZG-AUTH": "\":Jm0XeU+IYfb0x77LHmrjN5Wlb7TBwusDqIM6Hizy8VdfzvKi4yoFC9cGhoqwVPJQb1HfVSED9d9Z5psVXjkhV67rRpA=\"", "From": "Jaslo Ziska <jaslo@ziska.de>", "To": "libcamera-devel@lists.libcamera.org", "Cc": "Jaslo Ziska <jaslo@ziska.de>", "Subject": "[PATCH v2 0/3] gstreamer: Generate controls from control_ids_*.yaml\n\tfiles", "Date": "Tue, 13 Aug 2024 14:25:04 +0200", "Message-ID": "<20240813124722.22425-1-jaslo@ziska.de>", "X-Mailer": "git-send-email 2.46.0", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain; charset=\"us-ascii\"", "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 everyone,\n\nthis is the second version of the patch set to implement gstreamer controls\nfrom the yaml files.\nThis now depends on \"[PATCH 00/10] libcamera: Improve code generation for\ncontrols\" for the code generation.\n\nThe following things changed:\n\nThe (old) third commit fixing a typo has been removed as it is already merged.\n\nThe first commit is new: it removes the auto-focus-mode property from the\ndevice provider where it has been added on accident.\n\nThe commit message has been updated in the second commit.\n\nThe third commit, which adds the code that generates the gstreamer controls,\nnow makes use of jinja2 and the new controls.py file. As a consequence the\nwhole code generation has been redone.\n\nThere are also some new features:\n\nIt is now possible to read the metadata returned by requests from the gstreamer\nproperties. This is done using a new function readMetadata() which reads the\nControlList in requestCompleted().\n\nBefore a control is set it is now checked whether this control is actually\nsupported by the camera. This is done by checking the cameras ControlInfoMap.\n\nThe Rectangle type is now supported.\n\nSome checks were added to make sure the arrays passed to the element have the\ncorrect length.\n\nBest regards,\n\nJaslo\n\nJaslo Ziska (3):\n gstreamer: Remove auto-focus-mode property from device provider\n gstreamer: Remove auto-focus-mode property from libcamerasrc\n gstreamer: Generate controls from control_ids_*.yaml files\n\n src/gstreamer/gstlibcamera-controls.cpp.in | 296 +++++++++++++++++++++\n src/gstreamer/gstlibcamera-controls.h | 43 +++\n src/gstreamer/gstlibcameraprovider.cpp | 15 --\n src/gstreamer/gstlibcamerasrc.cpp | 50 ++--\n src/gstreamer/meson.build | 10 +\n utils/codegen/controls.py | 8 +\n utils/codegen/gen-gst-controls.py | 151 +++++++++++\n utils/codegen/meson.build | 1 +\n 8 files changed, 528 insertions(+), 46 deletions(-)\n create mode 100644 src/gstreamer/gstlibcamera-controls.cpp.in\n create mode 100644 src/gstreamer/gstlibcamera-controls.h\n create mode 100755 utils/codegen/gen-gst-controls.py\n\n--\n2.46.0" }