gnash-dev
[Top][All Lists]
Advanced

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

Re: [Gnash-dev] OpenGL Video Scaling


From: strk
Subject: Re: [Gnash-dev] OpenGL Video Scaling
Date: Mon, 4 Jun 2007 21:54:22 +0200

On Mon, Jun 04, 2007 at 07:39:53PM +0200, strk wrote:
> On Sun, Jun 03, 2007 at 08:03:00PM -0400, Quinn Storm wrote:
> > It turns out the reason OpenGL videos aren't being scaled properly is the 
> > current OpenGL code doesn't take into account the implicit scale caused by 
> > the viewport not matching the movie coordinates, which is fine everywhere 
> > except in video drawing b/c video drawing doesn't take into account the 
> > projection matrix(I think) since it just uses glDrawPixels.  I've provided 
> > a 
> > patch which properly calculates the values to pass to glPixelZoom, but I am 
> > running into an obnoxious bug in my OpenGL implementation here (i915/945GM) 
> > where the leftmost few columns have a transparent line through them at the 
> > top of each source pixel.
> 
> I'm willing to test this, can you tell me how to reproduce the bug 
> or point me to the bug item explaining ?

Ok, I made NetStream-SquareTest.swf file scale and rotate the video.
AGG scales (but doesn't rotate).
OpenGL doesn't scale and doesn't rotate.

You'r patch seems to scale in the Y direction, but inverse-scaling in the
X direction. Check it out (needs Ming to buil NetStream-SquareTest.swf).

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]