Searched refs:this_duration (Results 1 – 4 of 4) sorted by relevance
315 int64_t this_duration; in adjust_frame_rate() local328 this_duration = ts_end - ts_start; in adjust_frame_rate()334 this_duration = ts_end - time_stamps->prev_end_seen; in adjust_frame_rate()338 step = (int)((this_duration - last_duration) * 10 / last_duration); in adjust_frame_rate()341 if (this_duration) { in adjust_frame_rate()343 av1_new_framerate(cpi, 10000000.0 / this_duration); in adjust_frame_rate()351 avg_duration *= (interval - avg_duration + this_duration); in adjust_frame_rate()
4911 int64_t this_duration; in vp8_get_compressed_data() local4915 this_duration = cpi->source->ts_end - cpi->source->ts_start; in vp8_get_compressed_data()4920 this_duration = cpi->source->ts_end - cpi->last_end_time_stamp_seen; in vp8_get_compressed_data()4924 step = (int)(((this_duration - last_duration) * 10 / last_duration)); in vp8_get_compressed_data()4928 if (this_duration) { in vp8_get_compressed_data()4930 cpi->ref_framerate = 10000000.0 / this_duration; in vp8_get_compressed_data()4942 avg_duration *= (interval - avg_duration + this_duration); in vp8_get_compressed_data()
1290 int64_t this_duration = in vp9_svc_adjust_frame_rate() local1292 vp9_new_framerate(cpi, 10000000.0 / this_duration); in vp9_svc_adjust_frame_rate()
5446 int64_t this_duration; local5450 this_duration = source->ts_end - source->ts_start;5456 this_duration = source->ts_end - cpi->last_end_time_stamp_seen;5460 step = (int)((this_duration - last_duration) * 10 / last_duration);5463 if (this_duration) {5465 vp9_new_framerate(cpi, 10000000.0 / this_duration);5473 avg_duration *= (interval - avg_duration + this_duration);