Mercurial > libavcodec.hg
comparison svq1.c @ 2069:a8100a516b0a libavcodec
gcc bug workaround by (Jonathan Gray <khalek at linuxgamers dot net>)
author | michael |
---|---|
date | Tue, 08 Jun 2004 17:01:17 +0000 |
parents | 141a9539e270 |
children | 00ba706bc844 |
comparison
equal
deleted
inserted
replaced
2068:4a0ec9031804 | 2069:a8100a516b0a |
---|---|
912 | 912 |
913 | 913 |
914 #define QUALITY_THRESHOLD 100 | 914 #define QUALITY_THRESHOLD 100 |
915 #define THRESHOLD_MULTIPLIER 0.6 | 915 #define THRESHOLD_MULTIPLIER 0.6 |
916 | 916 |
917 #if defined(HAVE_ALTIVEC) | |
918 #undef vector | |
919 #endif | |
917 | 920 |
918 static int encode_block(SVQ1Context *s, uint8_t *src, uint8_t *ref, uint8_t *decoded, int stride, int level, int threshold, int lambda, int intra){ | 921 static int encode_block(SVQ1Context *s, uint8_t *src, uint8_t *ref, uint8_t *decoded, int stride, int level, int threshold, int lambda, int intra){ |
919 int count, y, x, i, j, split, best_mean, best_score, best_count; | 922 int count, y, x, i, j, split, best_mean, best_score, best_count; |
920 int best_vector[6]; | 923 int best_vector[6]; |
921 int block_sum[7]= {0, 0, 0, 0, 0, 0}; | 924 int block_sum[7]= {0, 0, 0, 0, 0, 0}; |