On Fri, May 12, 2006 at 06:50:27AM +0200, Stefan Lucke wrote:
> On Dienstag 09 Mai 2006 07:21, Stefan Lucke wrote:
> > On Montag 08 Mai 2006 18:54, Ville Syrjälä wrote:
> > > On Sun, May 07, 2006 at 10:52:54PM +0200, Stefan Lucke wrote:
> > > >
> > > > Ok, here is the latest one (done against DirectFB cvs from 2006-04-14).
> > > > But I'd like to have a comment from Ville, as I count him as _the_
> > > > reference of matrox programming.
> > >
> > > :)
> > >
> > > I actually experimented with something similar some time ago but I
> > > didn't get the patch into a good enough shape so it was left gathering
> > > dust on my HD. My approach was done without a new blitting flag. My idea
> > > was that a blit should handle the fields properly without any flags.
> > > I've attached the patch. I just excavated it from my source tree which
> > > was a real mess so it might not even compile.
> >
> > I tested your patch. I applies with a few offsets and compiles clean.
> > There are 2 issues:
> > - I guess the restore of registers is missing. Had a similary behaviour
> > when dropping register restore from my patch. I'm doing:
> > scrSurface->SetBlittingFlags(DSBLIT_NOFX);
> > scrSurface->StretchBlit(videoSurface, &src, &dst);
> > if (OSDpresent)
> > {
> > scrSurface->SetBlittingFlags(DSBLIT_BLEND_ALPHACHANNEL);
> > scrSurface->StretchBlit(osdSurface, &osdsrc, &osddest);
> > }
> > So the OSD is at double high, partly out of screen.
> > - When OSD disappears there are a few strechblits of video witch
> > results in half high video on TV
>
> To be a bit more preceise in the second case:
> It happens to when OSD actions start. What is in common between them:
> target surface gets cleared scrSurface->Clear(0,0,0,0); .
> When there is a aspect change (full - 4:3 -> downscaled - 16:9), the half
> high video frame stays partly, non flickering on screen (where black
> bars should be in that case).
>
> Automagic interlaced handling would be better than an additional flag, but ..
>
> Ville did you had a look at this, or do you expect me to fix it ?
I've been somewhat busy lately. I'll try to take a look at it during the
weekend.
--
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev