summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-30 09:10:01 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-30 09:10:01 +0000
commit4e39ea3dfea44f5628937a762626f4255e30f66c (patch)
tree8aa86a0a411c716622fc2fefa67a6b62d7cbf647 /libmpcodecs
parent8136f604092ffa7cc49143bfe79f67957dccae61 (diff)
downloadmpv-4e39ea3dfea44f5628937a762626f4255e30f66c.tar.bz2
mpv-4e39ea3dfea44f5628937a762626f4255e30f66c.tar.xz
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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24891 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vf_2xsai.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/libmpcodecs/vf_2xsai.c b/libmpcodecs/vf_2xsai.c
index 3e853b567c..8dbf185e2c 100644
--- a/libmpcodecs/vf_2xsai.c
+++ b/libmpcodecs/vf_2xsai.c
@@ -76,47 +76,6 @@ int Init_2xSaI(int d)
}
-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))