Mercurial > libavcodec.hg
diff dsputil.c @ 3536:545a15c19c91 libavcodec
sse & sse2 implementations of vorbis channel coupling.
9% faster vorbis (on a K8).
author | lorenm |
---|---|
date | Thu, 03 Aug 2006 03:18:47 +0000 |
parents | 7dc8e4a12105 |
children | 945caa35ee9a |
line wrap: on
line diff
--- a/dsputil.c Thu Aug 03 02:18:07 2006 +0000 +++ b/dsputil.c Thu Aug 03 03:18:47 2006 +0000 @@ -35,6 +35,9 @@ /* snow.c */ void ff_spatial_dwt(int *buffer, int width, int height, int stride, int type, int decomposition_count); +/* vorbis.c */ +void vorbis_inverse_coupling(float *mag, float *ang, int blocksize); + uint8_t cropTbl[256 + 2 * MAX_NEG_CROP] = {0, }; uint32_t squareTbl[512] = {0, }; @@ -4090,6 +4093,10 @@ c->inner_add_yblock = ff_snow_inner_add_yblock; #endif +#ifdef CONFIG_VORBIS_DECODER + c->vorbis_inverse_coupling = vorbis_inverse_coupling; +#endif + c->shrink[0]= ff_img_copy_plane; c->shrink[1]= ff_shrink22; c->shrink[2]= ff_shrink44;