From owner-freebsd-multimedia Wed May 14 20:52:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA26445 for multimedia-outgoing; Wed, 14 May 1997 20:52:33 -0700 (PDT) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA26440 for ; Wed, 14 May 1997 20:52:31 -0700 (PDT) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.8.5) with ESMTP id UAA23946; Wed, 14 May 1997 20:52:31 -0700 (PDT) Message-Id: <199705150352.UAA23946@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: Brad Parker cc: multimedia@FreeBSD.ORG Subject: Re: questions about current bt848 code In-reply-to: Your message of "Wed, 14 May 1997 21:09:35 EDT." <199705150109.VAA29229@sparc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 14 May 1997 20:52:31 -0700 From: Amancio Hasty Sender: owner-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >From The Desk Of Brad Parker : > > I have a couple of questions about the current freebsd bt848 driver > > - why is BROOKTREE_PAGES so large? it seems like it should be, worst > case, pal rgb (768*576*4)/4096 = 432. NTSC looks like > (640*480*4)/4096=300 You can fine tune that value it was left large for the possibility of multiple frame captures which the card can do. > the "217*4" does not make sense to me... (I get the 217 - for 16 bit) > > - is bktr_read missing a call to "start_capture"? the "examples/single.c" > program I have from my meteor days hangs in the read of a single frame... Just debug , I have not had a chance to check bktr_read . Most of us use the ioctl interface. download dtv from ftp site for sample code if you like. Also you should be able to get vic going with very little problems Just use grabber-meteor.cc and change the reference to meteor0 to bktr0 or whatever bt848 device you have created. Regards, Amancio