diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2006-08-03 03:18:47 +0000 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2006-08-03 03:18:47 +0000 |
commit | 2dac4acfc0f2abbe28082cdb5c3ed775a78d2867 (patch) | |
tree | ae3bf6a7ddd9bb5bf29a305eef842488629965d9 /libavcodec/dsputil.c | |
parent | 7bf0049623652b92a566999d37f0b481c2056d6e (diff) | |
download | ffmpeg-2dac4acfc0f2abbe28082cdb5c3ed775a78d2867.tar.gz |
sse & sse2 implementations of vorbis channel coupling.
9% faster vorbis (on a K8).
Originally committed as revision 5898 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 9b79b8659d..937dceb2c4 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -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 @@ void dsputil_init(DSPContext* c, AVCodecContext *avctx) 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; |