[XviD-devel] [PATCH] Faster direct/interpolate bvop block interpolation

skal skal at planet-d.net
Sat Jul 24 07:34:23 CEST 2004


	Ed,

On Sat, 2004-07-24 at 01:02, Edouard Gomez wrote:
> Yep i confirm, skal, your code isn't right.
> 

	Nope =>
	Section 6.3.5, syntax element "vop_rounding_type":
	"...When vop_rounding_type is not present in the VOP
	header, the value of rounding_control is 0".

	and dst = (a+b+ 1-rounding_control)>>1


> xmm code doesn't match the spec, or we're doing wrong in xvid
> since ever. I hope it'syour code that is wrong :-)

	Nope. In decoder.c, calls to interpolate8x8_avg2()
	should be done with a rounding param 0 (instead of '1',
	currently).

	bye!
Skal



More information about the XviD-devel mailing list