Lines Matching refs:weights
51 float *weights; // dct coeff are cumulated with overlapping; these values are used for averaging
52 int p_linesize; // line sizes for color and weights
169 s->weights = av_malloc(s->pr_height * linesize * sizeof(*s->weights));
170 if (!s->weights)
182 s->weights[y*linesize + x] = 1. / iweights[y*linesize + x];
278 const float *weights = s->weights;
314 dst[x] *= weights[x];
316 weights += dst_linesize;
395 av_free(s->weights);