From patchwork Sat Aug 22 13:46:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 9360 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 D3312BE173 for ; Sat, 22 Aug 2020 13:46:29 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 6F47962710; Sat, 22 Aug 2020 15:46:29 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="ZGPt0Brz"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E512761EA0 for ; Sat, 22 Aug 2020 15:46:27 +0200 (CEST) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 67D2829E for ; Sat, 22 Aug 2020 15:46:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1598103987; bh=iEcLSt5ijPw1VbTsnUpBg3rN4AL7hZpgkKczgi4VW8k=; h=From:To:Subject:Date:From; b=ZGPt0BrzrUkIH7p0aiZe/3ZkiNP172qKhRUKVjHj3L408+bmcxkclrUTUjg3BvE0h XzGDuLg8pV6hrxLa0VJJuqA2cZN4qjMFxxg/Zy6VAALTcfRoHXzhcr1h8aDVRoGE3o qdpo6K7iyFRl0gx6/z8u7iKA3w1ohJeNXlg4KXFQ= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Sat, 22 Aug 2020 16:46:02 +0300 Message-Id: <20200822134605.17666-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/3] v4l2: Miscellaneous cleanups 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" Hello, This small series contains miscellaneous cleanups for the V4L2 compatibility layer that I've had in my tree for quite some time. There's nothing urgent, and hopefully nothing controversial. Laurent Pinchart (3): v4l2: camera_proxy: Pass const reference to setFmtFromConfig() v4l2: camera_proxy: Store v4l2_pix_format instead of v4l2_format v4l2: camera: Merge getStreamConfig() with open() src/v4l2/v4l2_camera.cpp | 8 ++----- src/v4l2/v4l2_camera.h | 4 ++-- src/v4l2/v4l2_camera_proxy.cpp | 39 +++++++++++++++++----------------- src/v4l2/v4l2_camera_proxy.h | 7 +++--- 4 files changed, 27 insertions(+), 31 deletions(-)