summaryrefslogtreecommitdiff
path: root/libavcodec/motion_est.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-07-31 14:56:28 +0100
committerMans Rullgard <mans@mansr.com>2012-08-09 12:27:49 +0100
commit5bf7bc625ba75a44d9034d123d687375783d31e6 (patch)
tree3f6e87c74f555021e8a50b2ba572a6547ce239f8 /libavcodec/motion_est.c
parent74f82f92a4683a431db84b0a4d4197f705ec54ad (diff)
motion_est: remove unused macros
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/motion_est.c')
-rw-r--r--libavcodec/motion_est.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c
index 155786e11b..ee4abea61b 100644
--- a/libavcodec/motion_est.c
+++ b/libavcodec/motion_est.c
@@ -39,8 +39,6 @@
#undef NDEBUG
#include <assert.h>
-#define SQ(a) ((a)*(a))
-
#define P_LEFT P[1]
#define P_TOP P[2]
#define P_TOPRIGHT P[3]
@@ -374,8 +372,6 @@ int ff_init_me(MpegEncContext *s){
return 0;
}
-#define Z_THRESHOLD 256
-
#define CHECK_SAD_HALF_MV(suffix, x, y) \
{\
d= s->dsp.pix_abs[size][(x?1:0)+(y?2:0)](NULL, pix, ptr+((x)>>1), stride, h);\