From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:49397 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752790AbeEOUBT (ORCPT ); Tue, 15 May 2018 16:01:19 -0400 Date: Tue, 15 May 2018 22:01:17 +0200 From: Pavel Machek To: Mauro Carvalho Chehab Cc: Hans Verkuil , pali.rohar@gmail.com, sre@kernel.org, Sakari Ailus , linux-media@vger.kernel.org, hans.verkuil@cisco.com Subject: Re: [RFC, libv4l]: Make libv4l2 usable on devices with complex pipeline Message-ID: <20180515200117.GA21673@amd> References: <20170516124519.GA25650@amd> <76e09f45-8f04-1149-a744-ccb19f36871a@xs4all.nl> <20180316205512.GA6069@amd> <20180319102354.GA12557@amd> <20180319074715.5b700405@vento.lan> <20180319120043.GA20451@amd> <20180319095544.7e235a3e@vento.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline In-Reply-To: <20180319095544.7e235a3e@vento.lan> Sender: linux-media-owner@vger.kernel.org List-ID: --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > So, IMHO, entities should be described as: >=20 > [entity entity1] > name =3D foo > function =3D bar I don't really think windows-style config file is suitable here, as we have more than two "nested blocks". What about something like this? Note that I'd only implement the controls mapping for now... but it should be extensible later to setup mappings for the application. Best regards, Pavel #modes: 2 Driver name: OMAP 3 resizer Mode: 3000x1800 #devices: 2 0: et8ek8 sensor 1: OMAP3 resizer #controls: 2 0x4321a034: 1 0x4113aab0: 1 #links: 1 link: entity1: et8ek8 sensor:1 entity2: OMAP3 resizer:0 resolution1: 1024x768 resolution2: 1024x768 Mode: 1024x768 #devices: 2 0: et8ek8 sensor 1: OMAP3 resizer #controls: 2 0x4321a034: 1 0x4113aab0: 1 #links: 1 link: entity1: et8ek8 sensor:1 entity2: OMAP3 resizer:0 resolution1: 1024x768 resolution2: 1024x768 --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlr7PI0ACgkQMOfwapXb+vIO/ACbBKQNBJ4iBBFSk+d6zkU9ftjl JEEAoJz7LD+rL7z5UwBp+kfymRZfAAJL =o0Qo -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5--