Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 May 1999 18:37:18 -0700
From:      John-Mark Gurney <gurney_j@efn.org>
To:        Frode Vatvedt Fjeld <frodef@acm.org>
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: bt848: how to capture fields
Message-ID:  <19990504183718.55418@hydrogen.nike.efn.org>
In-Reply-To: <2hg15c26d5.fsf@dslab7.cs.uit.no>; from Frode Vatvedt Fjeld on Tue, May 04, 1999 at 05:37:42PM %2B0200
References:  <2hg15c26d5.fsf@dslab7.cs.uit.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990504183718.55418>