Mercurial > mplayer.hg
comparison libmpcodecs/pullup.c @ 24319:033b9debbec4
warnig fix (blessed by Rich):
pullup.c:223: warning: 'qpcomb_y' defined but not used
| author | diego |
|---|---|
| date | Tue, 04 Sep 2007 12:54:45 +0000 |
| parents | f6afc9bab149 |
| children | eb7b1f3327aa |
comparison
equal
deleted
inserted
replaced
| 24318:e6e8bf060dae | 24319:033b9debbec4 |
|---|---|
| 217 a+=s; b+=s; | 217 a+=s; b+=s; |
| 218 } | 218 } |
| 219 return diff; | 219 return diff; |
| 220 } | 220 } |
| 221 | 221 |
| 222 #if 0 | |
| 222 static int qpcomb_y(unsigned char *a, unsigned char *b, int s) | 223 static int qpcomb_y(unsigned char *a, unsigned char *b, int s) |
| 223 { | 224 { |
| 224 int i, j, diff=0; | 225 int i, j, diff=0; |
| 225 for (i=4; i; i--) { | 226 for (i=4; i; i--) { |
| 226 for (j=0; j<8; j++) | 227 for (j=0; j<8; j++) |
| 228 a+=s; b+=s; | 229 a+=s; b+=s; |
| 229 } | 230 } |
| 230 return diff; | 231 return diff; |
| 231 } | 232 } |
| 232 | 233 |
| 233 #if 0 | |
| 234 static int licomb_y_test(unsigned char *a, unsigned char *b, int s) | 234 static int licomb_y_test(unsigned char *a, unsigned char *b, int s) |
| 235 { | 235 { |
| 236 int c = licomb_y(a,b,s); | 236 int c = licomb_y(a,b,s); |
| 237 int m = licomb_y_mmx(a,b,s); | 237 int m = licomb_y_mmx(a,b,s); |
| 238 if (c != m) printf("%d != %d\n", c, m); | 238 if (c != m) printf("%d != %d\n", c, m); |
