Lines Matching full:factor
7 * - stretch factor f
32 * FIXME: maybe shift could be allowed > 1.0 with factor < 1.0 ???
34 double factor; /* strech factor. 1.0 means copy. */ member
65 p->factor = 1.0; /* default is no change */ in getopts()
68 if (argc > 0 && !sscanf(argv[0], "%lf", &p->factor)) { in getopts()
69 lsx_fail("error while parsing factor"); in getopts()
90 p->shift = (p->factor <= 1.0) ? in getopts()
104 it makes sense for factor >= 0.5 */ in getopts()
105 if (p->factor < 1.0) in getopts()
106 p->fading = 1.0 - (p->factor * p->shift); in getopts()
133 if (p->factor == 1) in start()
145 if (p->factor < 1.0) { in start()
147 p->oshift = p->factor * p->ishift; in start()
150 p->ishift = p->oshift / p->factor; in start()
176 lsx_debug("start: (factor=%g segment=%g shift=%g overlap=%g)\nstate=%d\n" in start()
180 p->factor, p->window, p->shift, p->fading, p->state, in start()
319 "factor [window fade shift fading]\n" in lsx_stretch_effect_fn()