On Thu, Jul 11, 2002 at 12:23:50AM +0300, Ville Syrj�l� wrote:
> Would it be possible to do field notification when blitting from an
> offscren surface to the BES surface?

So you want to blit each field separately to the BES surface (i.e.
double the display frame-rate from 29.97 to 59.94 fps)?  What video
cards support scanline scaling (i.e. doubling the scanlines in a 240
line frame to produce a 480 line frame) in their BES?  Or are there
other methods to deinterlace being used?  I am hoping you will say the
Matrox G400.  I have one of those.  :-)

> I've been thinking about the best
> way to do capturing and getting a good deinterlaced image.

Yes!

> Here's the
> sequence I came up with:
> 
> 1. capture (overlay mode) to an offscreen surface.
> 2. on v4l vsync

Which as I understand it is one vsync per frame (two fields), which is
no good for proper interlaced capture and display.  But I see your
comment below.  I also just read the thread you commented on on v4l.

> blit (with source color key) to the bes backbuffer.

> 3. Flip the bes buffers.
> 
> But deinterlacing would require the field notification to work.
> 
> Any thoughts?
> 
> 
> Naturally this requires accurate field syncing from the v4l device. I've
> hacked the bttv driver to do just that.

What version of bttv driver?

I am very interested in this work you are doing as it will allow for
accurate interlaced video capture and display, which we don't have
right now due to neither capture nor playback being field based
currently.

Can you send me (or make available somehow) your directfb app that you
are using?  I will get your bttv patch off of v4l.  Was there anything
further in that thread than what was on the list?  Was Gerd's reaction
to your bttv mods positive?

b.

-- 
Brian J. Murrell

Attachment: msg00783/pgp00000.pgp
Description: PGP signature

Reply via email to