From patchwork Wed Jun 8 07:24:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 16179 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 32A4EBD161 for ; Wed, 8 Jun 2022 07:24:43 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 21F4365639; Wed, 8 Jun 2022 09:24:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1654673082; bh=fmQ7HCFr89nd8Pi7JT4rhqMGcxAgUc4N3LwMcG9hCys=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=YYDZNdGBctNxXR1/fRC0zMU2z06yh5RwS7fC1mz4b5wTKNogPIVtl01h7arncLwOf +1hnj+QfNIwb57m2j5rkD3qKJj6t4l+VBGITqOr3vDLkxiA7a+w7WmVUASbykBFfUV 2Vj+N62eFlZhPTYFocAlblh4ODCquMgqwZaLnz4RXG82cuDEBnvf4Af9237eT8w6qc 6VYfdOcnzIWD84zZSda1v3Tw2Hkxxj5tqOG3jp/ItwiAIk9mpUytxQ+oDoQNA/s1Qv 7vftohqq1uBRD/123LrNom/t5GMcw6IhqAr1B4gOJA748ZOYNVSsL5iBe/cI6zEN6E VeX37rN4z2/Tg== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 921BA633A6 for ; Wed, 8 Jun 2022 09:24:40 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Wn85Axd5"; dkim-atps=neutral Received: from deskari.lan (91-156-85-209.elisa-laajakaista.fi [91.156.85.209]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 5C7F980A; Wed, 8 Jun 2022 09:24:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1654673079; bh=fmQ7HCFr89nd8Pi7JT4rhqMGcxAgUc4N3LwMcG9hCys=; h=From:To:Cc:Subject:Date:From; b=Wn85Axd56XQ11gU6mcoJSfvf8YbZcCRfvuhXtQ8HTA2nbkv9hKDdGPecp6bPGTCEf +EqUPZiET8qU32tRY+pL9qTuZv+FjIpZnKcBQIu7zMuZaWzyOFEc6zYgrcfhxYxNVe iWn4IiKhSskC6Q6ZDIGRv5Dchb9A2BTqLWCl2xG4= To: libcamera-devel@lists.libcamera.org, David Plowman , Kieran Bingham , Laurent Pinchart , Jacopo Mondi Date: Wed, 8 Jun 2022 10:24:14 +0300 Message-Id: <20220608072418.13154-1-tomi.valkeinen@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v5 0/4] More misc Python patches X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Tomi Valkeinen via libcamera-devel From: Tomi Valkeinen Reply-To: Tomi Valkeinen Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi, v5 of the series, or what's left of it. Most of the patches have been merged already. I dropped the itest.py, as perhaps its value as an example is not much. Other than that, I've addressed the comments, and there were no bigger changes. Tomi Tomi Valkeinen (4): Documentation: Add python-bindings.rst py: examples: Add simple-capture.py py: examples: Add simple-continuous-capture.py py: examples: Add simple-cam.py Documentation/index.rst | 1 + Documentation/meson.build | 1 + Documentation/python-bindings.rst | 69 ++++ src/py/examples/simple-cam.py | 350 +++++++++++++++++++ src/py/examples/simple-capture.py | 162 +++++++++ src/py/examples/simple-continuous-capture.py | 191 ++++++++++ 6 files changed, 774 insertions(+) create mode 100644 Documentation/python-bindings.rst create mode 100755 src/py/examples/simple-cam.py create mode 100755 src/py/examples/simple-capture.py create mode 100755 src/py/examples/simple-continuous-capture.py