Home
last modified time | relevance | path

Searched refs:cycle_time (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavdevice/
Dtimefilter.c33 double cycle_time; member
76 self->cycle_time = system_time; in ff_timefilter_update()
79 self->cycle_time += self->clock_period * period; in ff_timefilter_update()
80 loop_error = system_time - self->cycle_time; in ff_timefilter_update()
82 self->cycle_time += FFMAX(self->feedback2_factor, 1.0 / self->count) * loop_error; in ff_timefilter_update()
85 return self->cycle_time; in ff_timefilter_update()
90 return self->cycle_time + self->clock_period * delta; in ff_timefilter_eval()
Djack.c70 double cycle_time; in process_callback() local
79 cycle_time = ff_timefilter_update(self->timefilter, in process_callback()
106 pkt.pts = (cycle_time - (double) latency / (self->nports * self->sample_rate)) * 1000000.0; in process_callback()