From 02305ff38ffcc41a72fc1cb79c028b724d2d795d Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 11 Oct 2006 22:59:37 +0000 Subject: Rename SIGN macro to FFSIGN to avoid clashes with system headers. Originally committed as revision 6665 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libpostproc/postprocess.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libpostproc/postprocess.c') diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c index aba73725cd..7db2ab5069 100644 --- a/libpostproc/postprocess.c +++ b/libpostproc/postprocess.c @@ -340,7 +340,7 @@ static inline void doHorizDefFilter_C(uint8_t dst[], int stride, PPContext *c) d= FFMAX(d, 0); d= (5*d + 32) >> 6; - d*= SIGN(-middleEnergy); + d*= FFSIGN(-middleEnergy); if(q>0) { @@ -449,7 +449,7 @@ static inline void horizX1Filter(uint8_t *src, int stride, int QP) if(d < QP) { - int v = d * SIGN(-b); + int v = d * FFSIGN(-b); src[1] +=v/8; src[2] +=v/4; @@ -542,7 +542,7 @@ static always_inline void do_a_deblock_C(uint8_t *src, int step, int stride, PPC d= FFMAX(d, 0); d= (5*d + 32) >> 6; - d*= SIGN(-middleEnergy); + d*= FFSIGN(-middleEnergy); if(q>0) { -- cgit v1.2.3