From patchwork Fri Dec 4 06:54:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 10552 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 52E19BE177 for ; Fri, 4 Dec 2020 06:55:04 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id C74DA635D4; Fri, 4 Dec 2020 07:55:03 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=uajain.com header.i=@uajain.com header.b="pfDyNwfl"; dkim-atps=neutral Received: from mail.uajain.com (static.126.159.217.95.clients.your-server.de [95.217.159.126]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id BC221635C4 for ; Fri, 4 Dec 2020 07:55:01 +0100 (CET) From: Umang Jain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uajain.com; s=mail; t=1607064900; bh=IHBT+IMsG/efDohjaMmHuKelRzNXRqW9r1jozS2Axjw=; h=From:To:Cc:Subject; b=pfDyNwflXs99L/2yOpPVWoure8I5iWhcYBao3R+II/Gpy5fR4TBtULD2pP401LR/2 WHtIrp1+l6pWnGNdnpjSWu3DiiLBGgNn2hXpe2ym5Szh47vYpHhvl3LRUgSglyetUm J7aqpExmUR0SAYKNkVJ1DBsNSED/X7NhuTdPMJ7+m++kVLGR0EaEPYsQXymINKkxq6 zdR2VZo5mHeXlcAyRVzAJQn0mJpyuHNtMs6FzygVuXw4ZokVVs9k54dur1Phhk/y9g 5yFzRnPVgtxS/wOAYq98TDnGNvQQoOQHY2MjrMEKd/VLlKyi198d0H3AQoOhxojPb1 DNoX1I8A++7jg== To: libcamera-devel@lists.libcamera.org Date: Fri, 4 Dec 2020 12:24:48 +0530 Message-Id: <20201204065452.2764628-1-email@uajain.com> Mime-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 0/4] simple-cam: Provide event-loop backed by libevent 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Changes in v3: - Patch 4/4 : Introduce an entire EventLoop class based on cam's EventLoop. - Update tags. Umang Jain (4): simple-cam: Make return codes consistent for main() simple-cam: Early return if no cameras are found on the system. simple-cam: Fix documentation typo simple-cam: Provide event-loop backed by libevent event_loop.cpp | 103 +++++++++++++++++++++++++++++++++++++++++++++++++ event_loop.h | 44 +++++++++++++++++++++ meson.build | 2 + simple-cam.cpp | 54 +++++++++++++++++--------- 4 files changed, 184 insertions(+), 19 deletions(-) create mode 100644 event_loop.cpp create mode 100644 event_loop.h