[MPlayer-dev-eng] [PATCH] altivec fixes, part 1: alignment

Michael Niedermayer michaelni at gmx.at
Mon Feb 6 17:09:44 CET 2006


Hi

On Mon, Feb 06, 2006 at 01:27:02AM -0500, Alan Curry wrote:
[...]
> -  vYCoeffsBank = malloc (sizeof (vector signed short)*lumFilterSize*dstW);
> -  vCCoeffsBank = malloc (sizeof (vector signed short)*chrFilterSize*dstW);
> +  vYCoeffsBank = memalign (16, sizeof (vector signed short)*lumFilterSize*c->dstH);
> +  vCCoeffsBank = memalign (16, sizeof (vector signed short)*chrFilterSize*c->dstH);

wrong, rejected

[...]

-- 
Michael




More information about the MPlayer-dev-eng mailing list