[XviD-devel] gme code

elcabesa elcabesa at inwind.it
Sat Nov 15 12:41:43 CET 2003


as you could see if you look in xvid code there are 2 area that where enabled 
by using GME

1° you enable  GlobalMotionEstRefine function
2° you enable the final section of GlobalMotionEst() function

enabling only the first create problem
enableing only  the 2nd don't create problem


looking inside  GlobalMotionEstRefine  and using  lots of /* */ i found that 
this function stop working properly all the times a globalSAD function is 
used , the problem seems to me that this function create problem 
somewhere.... i'm stil working to find the error

is good code  returning a struct from a function?

WARPPOINTS
GlobalMotionEst(....)
{...
	WARPPOINTS gmc;

..
return gmc;
}
i don't know


On Friday 14 November 2003 21:32, Christoph Lampert wrote:
> On Thu, 13 Nov 2003, elcabesa wrote:
> > On Thursday 13 November 2003 19:23, Christoph Lampert wrote:
> > > P.S. The wrong code should only very slightly change behaviour, by
> > > choosing less frame for GMC. If you had problems before, you will still
> > > have (more) afterwards.
> >
> > i have problem iwth GME not gmc..
> >  i still couldn't find a error in code but i don't know too much
> > algorithm you use, i only could search for visible wrong code
>
> Actually, it's very simple. Gradient decent in 6-dim. GMC parameter space.
>
> Start with some parameters. Calculate GlobalSAD. Change all parameter by
> +1 or -1. Everytime calculate GlobalSAD. Choose the best of all 7
> possibilites (no change, +-1 in 3 components). Update current best.
> Repeat, until the position doesn't change anymore.
>
> gruel
>
>
> _______________________________________________
> XviD-devel mailing list
> XviD-devel at xvid.org
> http://list.xvid.org/mailman/listinfo/xvid-devel



More information about the XviD-devel mailing list