From owner-freebsd-multimedia Tue May 4 18:37:40 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from hydrogen.fircrest.net (metriclient-2.uoregon.edu [128.223.172.2]) by hub.freebsd.org (Postfix) with ESMTP id 86FBE15374 for ; Tue, 4 May 1999 18:37:28 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.fircrest.net (8.9.1/8.8.7) id SAA05790; Tue, 4 May 1999 18:37:18 -0700 (PDT) Message-ID: <19990504183718.55418@hydrogen.nike.efn.org> Date: Tue, 4 May 1999 18:37:18 -0700 From: John-Mark Gurney To: Frode Vatvedt Fjeld Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: bt848: how to capture fields References: <2hg15c26d5.fsf@dslab7.cs.uit.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <2hg15c26d5.fsf@dslab7.cs.uit.no>; from Frode Vatvedt Fjeld on Tue, May 04, 1999 at 05:37:42PM +0200 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 3.0-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Frode Vatvedt Fjeld scribbled this message on May 4: > Using a Miro PCTV card and the bktr driver (in -stable), how can I > recieve each field (even/odd) individually at 50/60 Hz? > > Currently, my application extracts the fields from the combined image > that arrive at 25 Hz. This has two problems: Both fields are delayed > by 20 ms, and it's very difficult to get the timings right to display > the even field. > > And are there plans to make /dev/bktr select(2)'able so I can avoid > that ugly signal interface (or are there other alternatives)? actually, there isn't really a better way for it IMO... and signals aren't to bad, you just pause(3) when your waiting for a signal and use a simple signal handler that just sets a sig_atomic_t to true... I am looking at implementing METEORCAPFRM right now, and also supporting breaking the even/odd fields out, but it will require rewriting the RISC programs for the Bt848... but work is slow going as the driver has a number of problems.. there is a lot of code that is in the Bt848 driver that isn't used (WANT_TS), also it doesn't do bits per pixel for frame sizes, it does bytes per pixel which ruins things when you do YUV_12... frame_size is used by the WANT_TS code, but never initalized... at least there isn't a way to enable the WANT_TS flag so you can't cause problems with it.. -- John-Mark Gurney Voice: +1 541 684 8449 Cu Networking P.O. Box 5693, 97405 "The soul contains in itself the event that shall presently befall it. The event is only the actualizing of its thought." -- Ralph Waldo Emerson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message