From owner-freebsd-multimedia@FreeBSD.ORG Tue Apr 12 19:31:51 2005 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C033B16A4CE for ; Tue, 12 Apr 2005 19:31:51 +0000 (GMT) Received: from mail231.csoft.net (resin.csoft.net [63.111.22.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 17D3943D41 for ; Tue, 12 Apr 2005 19:31:51 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: (qmail 1062 invoked from network); 12 Apr 2005 19:37:18 -0000 Received: from unknown (HELO puff.jakemsr.gom) (63.111.27.87) by mail231.csoft.net with SMTP; 12 Apr 2005 19:37:18 -0000 Received: (from jakemsr@jakemsr.com) by puff.jakemsr.gom (mini_sendmail/1.3.5 16nov2003); Tue, 12 Apr 2005 12:31:49 PDT (sender jakemsr@puff.jakemsr.gom) Date: Tue, 12 Apr 2005 12:31:49 -0700 From: Jacob Meuser To: freebsd-multimedia@freebsd.org Message-ID: <20050412193149.GA15619@puff.jakemsr.gom> Mail-Followup-To: freebsd-multimedia@freebsd.org References: <425C18A2.8010807@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <425C18A2.8010807@elischer.org> User-Agent: Mutt/1.4.2i Subject: Re: Anyone working on V4L2 for BSD? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 19:31:51 -0000 On Tue, Apr 12, 2005 at 11:51:14AM -0700, Julian Elischer wrote: > > I'm considerring it.. It looks quite doable. (assuming we can get > compatible include files > without copyright problems.) I can forsee at least one big obstacle in the bktr driver. it is necessary to call TVTUNER_SETTYPE before setting the tuner, even if you use TVTUNER_SETFREQ, which is quite different than V4L2. there are several bugs lurking in bktr. for example, why are the U saturation and V saturation ranges different? according to the datasheets they should be the same. also notice that on startup bktr reports a U saturation above the supposed limit! I'd much rather see the problems fixed than a shim added to it. how about working about multiple frame buffers? that's probably need for many V4L2 programs. IMO, it would be better (maybe even easier) to rewrite bktr with a V4L2 interface than to try to add V4L2 to it. but, IMO, the best thing would be to fix bktr and document it better. some bktr programs -> http://www.jakemsr.com/bsdav/bsdav-1.0.tar.gz --