Lines Matching defs:width
151 * Sum to data a periodic peak of a given period, width and shape.
155 static void add_peak(int period, int width, const float *shape,
164 for (i = 0; i < width / 2; i++)
167 for (i = 1; i < ROUNDED_DIV(len, width); i++) {
169 for (j = -width / 2; j < (width + 1) / 2; j++)
175 for (j = -width / 2; j < (width + 1) / 2 && shape < shape_end; j++)
199 int width;
203 width = ROUNDED_DIV((period + 800) * mtab->peak_per2wid,
206 width = period * mtab->peak_per2wid / (400 * mtab->size);
208 add_peak(period, width, shape, ppc_gain, speech, mtab->ppc_shape_len);