Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3739218imm; Mon, 30 Jul 2018 02:34:05 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfkkFhjzEHBw3bDgoGPuuSy4ADbimJHOBqHw9TOGlgH6+aupr3sHfz7/+Bz6288PeUR0iWC X-Received: by 2002:a62:3d86:: with SMTP id x6-v6mr17108396pfj.192.1532943245404; Mon, 30 Jul 2018 02:34:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532943245; cv=none; d=google.com; s=arc-20160816; b=pi5xlBlWH6bby7+YrjBqspoTn9H60hfJ2F9jFo70r6X5ZnKA8fhlo49ybWyP9F0SoS TmGMqtKGfDzofg0p2Is4Dlla9qIrprRp6dLAgwDmXRW9Hnzm43IRqXIsx9n0M/Uen5lj utg+ml+81aVGs64IVDLrJYnVR9XsYjLlVB1JexIO9gewy6pv9NlHgzt3qnZsSQgTplOM XJr9k6JRq8kJYkWnCxXB+kcFwOKMtxQ/EToIxE9n0blPXvyfSyjseKGzjbBHCTgV80SF PEBk3mKnz71zNWzK3RMNjiBTYdSPBJQaxzqAahYfVpJnMx0f6hhzlCkAMhW4iY8G2tfh eh4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=SbkjBoWInJJMPsFGBAI72P5z7I6y/jfV4DDG6h25E2s=; b=eqoDkOGUBaoCj9FmtCg9+S4bLbLoSZ4YpHTxzCSis2c0p4rsaUBppoqbPn6jGLP/B+ Z0iWxPfg0hzjzOxgOC32yn4jBqWt6OCmTtOVxDUIce75m0GGY8sziRqDX0Bgq6eGlIcd 9I5JVI7DFHRntzMS0NLEPpwtH1gFp3z9JPYLL2ANNVM8nV36ek0LRyM4jivPE3vpE5JB 5Iif+wzZNdbR2zmpP/axTuDXKEgImWlcxX7P5ibpupibF9x2XRCQlVQ80QVawf25b/nV BfTwgAdOq5iMyZFYIkCKaI0eeNvWnIL6bOn/5C0BuvtKcIcJogy6+W4bNIH+RZOn04v2 G0pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=TZCAXU+8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si1237752plz.220.2018.07.30.02.33.50; Mon, 30 Jul 2018 02:34:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=TZCAXU+8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727277AbeG3LFs (ORCPT + 99 others); Mon, 30 Jul 2018 07:05:48 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:35046 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726703AbeG3LFs (ORCPT ); Mon, 30 Jul 2018 07:05:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=SbkjBoWInJJMPsFGBAI72P5z7I6y/jfV4DDG6h25E2s=; b=TZCAXU+8fdx6d8wn3pXNXGEii BJgxUzwgtGZ4bpe7fDVx+J811UTu+8JWcY2fvahjptKPK+Zh8PxptKlj2S/l2xDA4DO5ywANgd6zq seJQ1W9aXtaVd+Wk2CVybBQ+hl/WDrTL1Mogck6qZ+MhNYdtjBqby78bMW3E+fuzsQBLVSnyTFMD4 LOf5m12pf6SIJAbLug7XRvEevjxtn3Ng6AAZbQljlBEGdEopAjeUj68rBBUcGY36KTb24Ydj38+BX CI++aJsEVDVS2NKeZHFMbc/1y4YUC+NhtwVWiTfkLgZtCEK/BjGnVCUnsXElx+WIzawGDwL/kZS0M Rt8hOMJIQ==; Received: from [179.95.0.119] (helo=coco.lan) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fk4Wf-0002ky-RN; Mon, 30 Jul 2018 09:31:38 +0000 Date: Mon, 30 Jul 2018 06:31:30 -0300 From: Mauro Carvalho Chehab To: Pavel Machek Cc: pali.rohar@gmail.com, sre@kernel.org, kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, tony@atomide.com, khilman@kernel.org, aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com, patrikbachan@gmail.com, serge@hallyn.com, abcloriens@gmail.com, clayton@craftyguy.net, martijn@brixit.nl, sakari.ailus@linux.intel.com, Filip =?UTF-8?B?TWF0aWpldmnEhw==?= , mchehab@s-opensource.com, sakari.ailus@iki.fi, linux-media@vger.kernel.org, hans.verkuil@cisco.com Subject: Re: new libv4l2 (was Re: [PATCH, libv4l]: Make libv4l2 usable on devices with complex pipeline) Message-ID: <20180730063122.73a20c55@coco.lan> In-Reply-To: <20180728211110.GB1152@amd> References: <20180708213258.GA18217@amd> <20180719205344.GA12098@amd> <20180723153649.73337c0f@coco.lan> <20180728211110.GB1152@amd> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Sat, 28 Jul 2018 23:11:10 +0200 Pavel Machek escreveu: > Hi! > > > > > Add support for opening multiple devices in v4l2_open(), and for > > > > mapping controls between devices. > > > > > > > > This is necessary for complex devices, such as Nokia N900. > > > > > > > > Signed-off-by: Pavel Machek > > > > > > Ping? > > > > > > There's a lot of work to do on libv4l2... timely patch handling would > > > be nice. > > > > As we're be start working at the new library in order to support > > complex cameras, and I don't want to prevent you keeping doing your > > work, IMHO the best way to keep doing it would be to create two > > libv4l2 forks: > > BTW.. new library. Was there decision what langauge to use? I know C > is obvious choice, but while working on libv4l2, I wished it would be > Rust... > > Rewriting same routine over and over, with slightly different types > was not too much fun, and it looked like textbook example for > generics... Whatever language it uses, the library should provide a standard C API interface and avoid using libraries that may not be available on the systems supported by the v4l-utils package, as other packages and a libv4l-compatible interface should be linked using it. It should also be something that the existing v4l-utils developers are familiar with. Right now, we have only C and C++ code inside v4l-utils. So, I'd say that the language should be either C (the obvious choice) or C++. It should also be licensed using the same terms as v4l-utils libraries, e. g. LGPL 2.1+. Thanks, Mauro