[FFmpeg-cvslog] motion_est: remove unused macros

Mans Rullgard git at videolan.org
Fri Aug 10 04:52:04 CEST 2012


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Tue Jul 31 14:56:28 2012 +0100| [5bf7bc625ba75a44d9034d123d687375783d31e6] | committer: Mans Rullgard

motion_est: remove unused macros

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5bf7bc625ba75a44d9034d123d687375783d31e6
---

 libavcodec/motion_est.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c
index 155786e..ee4abea 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);\



More information about the ffmpeg-cvslog mailing list