Home
last modified time | relevance | path

Searched refs:subpxl_index (Results 1 – 2 of 2) sorted by relevance

/external/skia/tools/fonts/
Dgenerate_fir_coeff.py51 (float(subpxl_index)/subpxls_per_pixel + 1.0/(2.0*subpxls_per_pixel))
53 ) for subpxl_index in range(subpxls_per_pixel)
/external/skia/src/core/
DSkScalerContext.cpp374 for (int subpxl_index = 0; subpxl_index < LCD_PER_PIXEL; ++subpxl_index) { in pack4xHToMask() local
375 fir[subpxl_index] += coefficients[subpxl_index][coeff_index] * sample_value; in pack4xHToMask()
378 for (int subpxl_index = 0; subpxl_index < LCD_PER_PIXEL; ++subpxl_index) { in pack4xHToMask() local
379 fir[subpxl_index] /= 0x100; in pack4xHToMask()
380 fir[subpxl_index] = std::min(fir[subpxl_index], 255); in pack4xHToMask()