changeset 24863:8ac6f14f882d

Remove unused functions, fixes the warnings: vf_2xsai.c:80: warning: 'GetResult1' defined but not used vf_2xsai.c:100: warning: 'GetResult2' defined but not used
author diego
date Tue, 30 Oct 2007 09:10:01 +0000
parents 94ec445120da
children 419d6e4bf2f0
files libmpcodecs/vf_2xsai.c
diffstat 1 files changed, 0 insertions(+), 41 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_2xsai.c	Tue Oct 30 08:55:29 2007 +0000
+++ b/libmpcodecs/vf_2xsai.c	Tue Oct 30 09:10:01 2007 +0000
@@ -76,47 +76,6 @@
 }
 
 
-static int GetResult1(uint32 A, uint32 B, uint32 C, uint32 D)
-{
-	int x = 0;
-	int y = 0;
-	int r = 0;
-	if (A == C)
-		x += 1;
-	else if (B == C)
-		y += 1;
-	if (A == D)
-		x += 1;
-	else if (B == D)
-		y += 1;
-	if (x <= 1)
-		r += 1;
-	if (y <= 1)
-		r -= 1;
-	return r;
-}
-
-static int GetResult2(uint32 A, uint32 B, uint32 C, uint32 D, uint32 E)
-{
-	int x = 0;
-	int y = 0;
-	int r = 0;
-	if (A == C)
-		x += 1;
-	else if (B == C)
-		y += 1;
-	if (A == D)
-		x += 1;
-	else if (B == D)
-		y += 1;
-	if (x <= 1)
-		r -= 1;
-	if (y <= 1)
-		r += 1;
-	return r;
-}
-
-
 #define GET_RESULT(A, B, C, D) ((A != C || A != D) - (B != C || B != D))
 
 #define INTERPOLATE(A, B) (((A & colorMask) >> 1) + ((B & colorMask) >> 1) + (A & B & lowPixelMask))