113
113
#define QUALITY_THRESHOLD 100
114
114
#define THRESHOLD_MULTIPLIER 0.6
120
116
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){
121
117
int count, y, x, i, j, split, best_mean, best_score, best_count;