Lines Matching refs:weights
38 FT_Byte* weights = library->lcd_weights;
50 /* the values in `weights' can exceed 0xFF */
59 fir[0] = weights[2] * val1;
60 fir[1] = weights[3] * val1;
61 fir[2] = weights[4] * val1;
65 fir[0] += weights[1] * val1;
66 fir[1] += weights[2] * val1;
67 fir[2] += weights[3] * val1;
68 fir[3] += weights[4] * val1;
76 pix = fir[0] + weights[0] * val;
77 fir[0] = fir[1] + weights[1] * val;
78 fir[1] = fir[2] + weights[2] * val;
79 fir[2] = fir[3] + weights[3] * val;
80 fir[3] = weights[4] * val;
117 fir[0] = weights[2] * val1;
118 fir[1] = weights[3] * val1;
119 fir[2] = weights[4] * val1;
124 fir[0] += weights[1] * val1;
125 fir[1] += weights[2] * val1;
126 fir[2] += weights[3] * val1;
127 fir[3] += weights[4] * val1;
136 pix = fir[0] + weights[0] * val;
137 fir[0] = fir[1] + weights[1] * val;
138 fir[1] = fir[2] + weights[2] * val;
139 fir[2] = fir[3] + weights[3] * val;
140 fir[3] = weights[4] * val;
274 unsigned char *weights )
276 if ( !library || !weights )
279 ft_memcpy( library->lcd_weights, weights, 5 );
357 unsigned char *weights )
360 FT_UNUSED( weights );