[MPlayer-dev-eng] [PATCH]: af_resample SIMD optimization (MMX/SSE2/3DNOW!/SSE/SSE3)

Zuxy Meng zuxy.meng at gmail.com
Wed Apr 1 07:35:15 CEST 2009


Hi,

2009/3/31 Zhou Zongyi <zhouzongyi at pset.suntec.net>:
> Plz give an example. I have no idea where to put memalign.
>

Weights are malloc()'ed in s->w at af_resample.c:control(). You can
force a 16-byte alignment there. memalign() isn't available on all
platforms and you can use av_malloc() instead.

-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6



More information about the MPlayer-dev-eng mailing list