[XviD-devel] GME

Radek Czyz radoslaw at syskin.cjb.net
Sat Jul 12 22:37:03 CEST 2003


Hi,

elcabesa wrote:
> you are right, how can i found that a block is restored form a block outside
> image??
> could this help??
> a mb is identified by x nad y pos ( i hope)

close, but it's x+y*mb_width

> if(xmb*16-motion_vector <x_pixel  ) {lower quatizer}

Not really: if the x value of leftmost block is negative, the picture
is being copied from outside the image. Similary, if y value of
topmost is negative, x of rightmost is positive etc.

However, it will not be easy to do: information about quantizer
changes need to be available for motion estimation, while what you
need is motion estimation result - you'll somehow need to squize it
into ME loop after motion search and before mode decision.
Don't be tempted to use the result of MEAnalysis(), edge macroblocks
are ignored there.

Good luck,
Radek



More information about the XviD-devel mailing list