Re: Re: capturing fields to separate buffers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Gerd Knorr (kraxel@xxxxxxxxxxx):

> > > Sorry, no.  bttv 0.8.x will happily put the fields into separate
> > > capture buffers.  But the IRQ is raised once per frame, thus the
> > > application(s) will be waked up when both fields are finished.
> >  
> >  What's the problem?
> 
> The driver decides once per frame what to do next depending on the
> state of overlay and the request(s) in the capture queue.  At this
> point it also wakes up the processes waiting on the completed buffers.

  Ugh..

> >  Would this be easy to put in the driver, or is there something I've
> >  missed?
> 
> It is probably possible, but not trivial.  Sometimes you need both
> fields, sometimes one is enougth.  Thats why the code is less complex
> if that is done per frame, not per field.

  Sure, but I thought alot of the point of V4L2 is that we can finally
get that interrupt per field ...  Isn't it simply a matter of, on each
field, checking if there are any completed buffers?

  I'm very much relieved to hear that it is possible.. :)

-- 
Billy Biggs
vektor@xxxxxxxxxxxx





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux