summaryrefslogtreecommitdiffstats
path: root/gst/speexresample/fixed_generic.h
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-11-27 19:22:42 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-11-27 19:22:42 +0000
commitd56af9d36dabd5339be7ec71d32d2edf536ca832 (patch)
tree32483c2cca147e14d5df55c99f274ea29d5130ab /gst/speexresample/fixed_generic.h
parentbf2d02c1b6a78cf7bf117fb4fa5c909218863824 (diff)
downloadgst-plugins-bad-d56af9d36dabd5339be7ec71d32d2edf536ca832.tar.gz
gst-plugins-bad-d56af9d36dabd5339be7ec71d32d2edf536ca832.tar.bz2
gst-plugins-bad-d56af9d36dabd5339be7ec71d32d2edf536ca832.zip
Remove old speexresample files.
Original commit message from CVS: * gst/speexresample/Makefile.am: * gst/speexresample/README: * gst/speexresample/arch.h: * gst/speexresample/fixed_arm4.h: * gst/speexresample/fixed_arm5e.h: * gst/speexresample/fixed_bfin.h: * gst/speexresample/fixed_debug.h: * gst/speexresample/fixed_generic.h: * gst/speexresample/gstspeexresample.c: * gst/speexresample/gstspeexresample.h: * gst/speexresample/resample.c: * gst/speexresample/resample_sse.h: * gst/speexresample/speex_resampler.h: * gst/speexresample/speex_resampler_double.c: * gst/speexresample/speex_resampler_float.c: * gst/speexresample/speex_resampler_int.c: * gst/speexresample/speex_resampler_wrapper.h: * tests/check/elements/speexresample.c: Remove old speexresample files.
Diffstat (limited to 'gst/speexresample/fixed_generic.h')
-rw-r--r--gst/speexresample/fixed_generic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/speexresample/fixed_generic.h b/gst/speexresample/fixed_generic.h
index 3fb096ed..2948177c 100644
--- a/gst/speexresample/fixed_generic.h
+++ b/gst/speexresample/fixed_generic.h
@@ -47,14 +47,14 @@
#define SHR32(a,shift) ((a) >> (shift))
#define SHL32(a,shift) ((a) << (shift))
#define PSHR16(a,shift) (SHR16((a)+((1<<((shift))>>1)),shift))
-#define PSHR32(a,shift) (SHR32((a)+((EXTEND32(1)<<((shift))>>1)),shift))
+#define PSHR32(a,shift) (SHR32((a)+((1<<((shift))>>1)),shift))
#define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift)))
#define SATURATE16(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x)))
#define SATURATE32(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x)))
#define SHR(a,shift) ((a) >> (shift))
#define SHL(a,shift) ((spx_word32_t)(a) << (shift))
-#define PSHR(a,shift) (SHR((a)+((EXTEND32(1)<<((shift))>>1)),shift))
+#define PSHR(a,shift) (SHR((a)+((1<<((shift))>>1)),shift))
#define SATURATE(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x)))