Lines Matching defs:cost
169 cost = delay + late_factor*[number of frames that would be late if we used that delay]
171 @param late_factor Equivalent cost of a late frame (in timestamp units)
197 /* Compute cost for one lost packet */
225 spx_int32_t cost;
233 /* Actual cost function that tells us how bad using this delay would be */
234 cost = -latest + late_factor*late;
235 /*fprintf(stderr, "cost %d = %d + %f * %d\n", cost, -latest, late_factor, late);*/
236 if (cost < best_cost)
238 best_cost = cost;