Home
last modified time | relevance | path

Searched refs:this_duration (Results 1 – 4 of 4) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dencode_strategy.c315 int64_t this_duration; in adjust_frame_rate() local
328 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()
/external/libvpx/libvpx/vp8/encoder/
Donyx_if.c4911 int64_t this_duration; in vp8_get_compressed_data() local
4915 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()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_svc_layercontext.c1290 int64_t this_duration = in vp9_svc_adjust_frame_rate() local
1292 vp9_new_framerate(cpi, 10000000.0 / this_duration); in vp9_svc_adjust_frame_rate()
Dvp9_encoder.c5446 int64_t this_duration; local
5450 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);