Home | History | Annotate | Download | only in core

Lines Matching refs:fir

265     // An N tap FIR is defined by
270 // The strategy is to use one FIR (different coefficients) for each of r, g, and b.
271 // This means using every 4th FIR output value of each FIR and discarding the rest.
298 // TODO: this fir filter implementation is straight forward, but slow.
301 int fir[LCD_PER_PIXEL] = { 0 };
308 fir[subpxl_index] += coefficients[subpxl_index][coeff_index] * sample_value;
312 fir[subpxl_index] /= 0x100;
313 fir[subpxl_index] = SkMin32(fir[subpxl_index], 255);
316 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(fir[0], maskPreBlend.fR);
317 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(fir[1], maskPreBlend.fG);
318 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(fir[2], maskPreBlend.fB);
342 // TODO: need to use fir filter here as well.