Home
last modified time | relevance | path

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

/external/skqp/tools/fonts/
Dgenerate_fir_coeff.py64 coeffs_rounded = [] variable
82 coeffs_rounded.append(int(round(coverage * target_sum)))
89 coeffs_rounded_sum = sum(coeffs_rounded)
103 for coeff, coeff_rounded in zip(coeffs, coeffs_rounded)]
125 coeffs_rounded[coeff_pkg[i].index] += delta
128 coeffs_rounded_aligned = ([0] * int(sample_align)) + coeffs_rounded
132 print sum(coeffs), hex(sum(coeffs_rounded))
/external/skia/tools/fonts/
Dgenerate_fir_coeff.py68 coeffs_rounded = [] variable
86 coeffs_rounded.append(int(round(coverage * target_sum)))
93 coeffs_rounded_sum = sum(coeffs_rounded)
107 for coeff, coeff_rounded in zip(coeffs, coeffs_rounded)]
129 coeffs_rounded[coeff_pkg[i].index] += delta
132 coeffs_rounded_aligned = ([0] * int(sample_align)) + coeffs_rounded
136 print(sum(coeffs), hex(sum(coeffs_rounded)))