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.c419 int64_t this_duration; in adjust_frame_rate() local
426 this_duration = source->ts_end - source->ts_start; in adjust_frame_rate()
432 this_duration = source->ts_end - cpi->last_end_time_stamp_seen; in adjust_frame_rate()
436 step = (int)((this_duration - last_duration) * 10 / last_duration); in adjust_frame_rate()
439 if (this_duration) { in adjust_frame_rate()
441 av1_new_framerate(cpi, 10000000.0 / this_duration); in adjust_frame_rate()
449 avg_duration *= (interval - avg_duration + this_duration); in adjust_frame_rate()
/external/libvpx/libvpx/vp8/encoder/
Donyx_if.c4893 int64_t this_duration; in vp8_get_compressed_data() local
4897 this_duration = cpi->source->ts_end - cpi->source->ts_start; in vp8_get_compressed_data()
4902 this_duration = cpi->source->ts_end - cpi->last_end_time_stamp_seen; in vp8_get_compressed_data()
4906 step = (int)(((this_duration - last_duration) * 10 / last_duration)); in vp8_get_compressed_data()
4910 if (this_duration) { in vp8_get_compressed_data()
4912 cpi->ref_framerate = 10000000.0 / this_duration; in vp8_get_compressed_data()
4924 avg_duration *= (interval - avg_duration + this_duration); in vp8_get_compressed_data()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_svc_layercontext.c1226 int64_t this_duration = in vp9_svc_adjust_frame_rate() local
1228 vp9_new_framerate(cpi, 10000000.0 / this_duration); in vp9_svc_adjust_frame_rate()
Dvp9_encoder.c5089 int64_t this_duration; local
5093 this_duration = source->ts_end - source->ts_start;
5099 this_duration = source->ts_end - cpi->last_end_time_stamp_seen;
5103 step = (int)((this_duration - last_duration) * 10 / last_duration);
5106 if (this_duration) {
5108 vp9_new_framerate(cpi, 10000000.0 / this_duration);
5116 avg_duration *= (interval - avg_duration + this_duration);