From patchwork Thu Nov 19 12:34:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 10446 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 2AD81BE08A for ; Thu, 19 Nov 2020 12:34:38 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 9FAB5615A6; Thu, 19 Nov 2020 13:34:37 +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="LsjSxNKs"; 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 D5650615A1 for ; Thu, 19 Nov 2020 13:34:34 +0100 (CET) From: Umang Jain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uajain.com; s=mail; t=1605789273; bh=Ozw1o+TQrJQxygTstUiRS5PFPyOuXKMV6J+PobB16TE=; h=From:To:Cc:Subject; b=LsjSxNKso/6H1cF9f7FM6CURsy1hJOUZn6SzYzT3yjZwU5lkVHezgVDvVfOOTKNFG ZiQk/uNhSXxO43pXm917vY2QNKBXx8geGHeV+e58mqOpdKf1bPy5+aJg0zKIHWCwIR Ivzo9NDIZJc1A1M8MjYWomScI5xttPSsim2RAkYPgvUj3iNxhMf4Fimnw0i9XFOXl8 kdOb/oKM1d+4BfhN91vadZtFRh0G02ix6AKsDkxOYUqtSi1YqFAdPNF18NWB/E81G0 Pks8MMgdysQArmwIIlk1hS3gb2bpiDm3kAdgw9jLUaA2yr/Va8Gr/cHoZJ9akBtBGp ekHFjkD6ASlxA== To: libcamera-devel@lists.libcamera.org Date: Thu, 19 Nov 2020 18:04:23 +0530 Message-Id: <20201119123427.53864-1-email@uajain.com> Mime-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/3] 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" Port simple-cam to use event loop backed by libevent since EventDispatcher and Timer classes have been internalized. Patch 1/2 and 2/2 are previous patch which I think, feel thorough the cracks for merging. They are already reviewed by Kieran. Patch 3/3 is the main patch that introduces event loop by libevent. Umang Jain (3): Early return if no cameras are found on the system. simple-cam: Fix documentation typo simple-cam: Provide event-loop backed by libevent meson.build | 1 + simple-cam.cpp | 109 +++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 98 insertions(+), 12 deletions(-)