diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-26 22:43:38 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-26 22:43:38 +0000 |
commit | 6e0510ff84b563da2d10cf4d385e46b54b9b94fd (patch) | |
tree | 619e80b4ce81aa4007b738cf94e8e9d7af359e91 | |
parent | 81c28fba0809bb244211fd5dc3d1e1e090d3947d (diff) |
Remove unused crappy hash_pic function, blessed by Rich.
Fixes warning:
vf_detc.c:57: warning: 'hash_pic' defined but not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24622 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpcodecs/vf_detc.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libmpcodecs/vf_detc.c b/libmpcodecs/vf_detc.c index 87b9bff3a7..ef4ce9b0ac 100644 --- a/libmpcodecs/vf_detc.c +++ b/libmpcodecs/vf_detc.c @@ -53,25 +53,6 @@ enum { TC_IL2 }; -static unsigned int hash_pic(unsigned char *img, int w, int h, int stride) -{ - int step = w*h/1024; - unsigned int hash=0; - int x=0, y; - - step -= step % 3; - - for (y=0; y<h; y++) { - for (; x<w; x+=step) { - hash = hash ^ (hash<<4) ^ img[x]; - } - x -= w; - img += stride; - } - - return hash; -} - static void block_diffs(struct metrics *m, unsigned char *old, unsigned char *new, int os, int ns) { int x, y, even=0, odd=0, noise, temp; |