comparison svq1enc.c @ 8590:7a463923ecd1 libavcodec

Change semantic of CONFIG_*, HAVE_* and ARCH_*. They are now always defined to either 0 or 1.
author aurel
date Tue, 13 Jan 2009 23:44:16 +0000
parents b9e82845e7eb
children e9d9d946f213
comparison
equal deleted inserted replaced
8589:a29b5b5c3c9d 8590:7a463923ecd1
117 117
118 118
119 #define QUALITY_THRESHOLD 100 119 #define QUALITY_THRESHOLD 100
120 #define THRESHOLD_MULTIPLIER 0.6 120 #define THRESHOLD_MULTIPLIER 0.6
121 121
122 #if defined(HAVE_ALTIVEC) 122 #if HAVE_ALTIVEC
123 #undef vector 123 #undef vector
124 #endif 124 #endif
125 125
126 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){ 126 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){
127 int count, y, x, i, j, split, best_mean, best_score, best_count; 127 int count, y, x, i, j, split, best_mean, best_score, best_count;