Lines Matching defs:late
48 + late
144 spx_uint32_t arrival[SPEEX_JITTER_MAX_BUFFER_SIZE]; /**< Packet arrival time (0 means it was late, even though it's a valid timestamp) */
152 int late_cutoff; /**< How late must a packet be for it not to be considered at all */
158 int window_size; /**< Total window over which the late frames are counted */
160 int max_late_rate; /**< Absolute maximum amount of late packets tolerable (in percent) */
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)
178 int late = 0;
207 /* Pick the TOP_DELAY "latest" packets (doesn't need to actually be late
234 cost = -latest + late_factor*late;
235 /*fprintf(stderr, "cost %d = %d + %f * %d\n", cost, -latest, late_factor, late);*/
245 /* For the next timing we will consider, there will be one more late packet to count */
246 late++;
247 /* Two-frame penalty if we're going to increase the amount of late frames (hysteresis) */
251 late+=4;
369 int late;
377 /* Make sure we don't discard a "just-late" packet in case we want to play it next (if we interpolate). */
391 /* Check if packet is late (could still be useful though) */
395 late = 1;
397 late = 0;
407 /* Only insert the packet if it's not hopelessly late (i.e. totally useless) */
453 if (jitter->reset_state || late)