Home
last modified time | relevance | path

Searched refs:delay (Results 1 - 25 of 338) sorted by relevance

12345678910>>...14

/third_party/ffmpeg/libavfilter/
H A Daf_adelay.c31 int64_t delay; member
60 { "all", "use last available delay for remained channels", OFFSET(all), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, A },
75 if (d->delay_index < d->delay) { \
76 const int len = FFMIN(nb_samples, d->delay - d->delay_index); \
90 d->index = d->index >= d->delay ? 0 : d->index; \
106 if (new_delay == d->delay) { \
113 d->delay = 0; \
124 if (new_delay < d->delay) { \
130 memmove(&samples[d->index], &samples[d->index+(d->delay-new_delay)], \
132 d->delay_index -= d->delay
158 float delay, div; parse_delays() local
272 int64_t delay; process_command() local
[all...]
H A Daf_anlms.c51 AVFrame *delay; member
98 static float fir_sample(AudioNLMSContext *s, float sample, float *delay, in fir_sample() argument
104 delay[*offset] = sample; in fir_sample()
108 output = s->fdsp->scalarproduct_float(delay, tmp, s->kernel_size); in fir_sample()
117 float *delay, float *coeffs, float *tmp, int *offsetp) in process_sample()
126 delay[offset + order] = input; in process_sample()
128 output = fir_sample(s, input, delay, coeffs, tmp, offsetp); in process_sample()
131 sum = s->fdsp->scalarproduct_float(delay, delay, s->kernel_size); in process_sample()
138 memcpy(tmp, delay in process_sample()
116 process_sample(AudioNLMSContext *s, float input, float desired, float *delay, float *coeffs, float *tmp, int *offsetp) process_sample() argument
165 float *delay = (float *)s->delay->extended_data[c]; process_channels() local
[all...]
H A Daf_aecho.c34 float *delay, *decay; member
93 av_freep(&s->delay); in uninit()
115 s->delay = av_realloc_f(s->delay, nb_delays, sizeof(*s->delay)); in init()
117 if (!s->delay || !s->decay) in init()
120 fill_items(s->delays, &nb_delays, s->delay); in init()
130 av_log(ctx, AV_LOG_ERROR, "At least one decay & delay must be set.\n"); in init()
139 if (s->delay[i] <= 0 || s->delay[ in init()
[all...]
/third_party/libwebsockets/lib/drivers/i2c/bitbang/
H A Dlws-bb-i2c.c47 ctx->delay(); in lws_bb_i2c_start()
53 ctx->delay(); in lws_bb_i2c_start()
66 ctx->delay(); in lws_bb_i2c_stop()
72 ctx->delay(); in lws_bb_i2c_stop()
83 ctx->delay(); in lws_bb_i2c_write()
85 ctx->delay(); in lws_bb_i2c_write()
91 ctx->delay(); in lws_bb_i2c_write()
93 ctx->delay(); in lws_bb_i2c_write()
96 ctx->delay(); in lws_bb_i2c_write()
111 ctx->delay(); in lws_bb_i2c_read()
[all...]
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/main/
H A Dbb-i2c.c19 ctx->delay(); in lws_bb_i2c_start()
25 ctx->delay(); in lws_bb_i2c_start()
38 ctx->delay(); in lws_bb_i2c_stop()
44 ctx->delay(); in lws_bb_i2c_stop()
55 ctx->delay(); in lws_bb_i2c_write()
57 ctx->delay(); in lws_bb_i2c_write()
63 ctx->delay(); in lws_bb_i2c_write()
65 ctx->delay(); in lws_bb_i2c_write()
68 ctx->delay(); in lws_bb_i2c_write()
83 ctx->delay(); in lws_bb_i2c_read()
[all...]
/third_party/libcoap/src/
H A Dcoap_async.c40 const coap_pdu_t *request, coap_tick_t delay) { in coap_register_async()
94 coap_async_set_delay(s, delay); in coap_register_async()
102 coap_ticks(&async->delay); in coap_async_trigger()
113 coap_async_set_delay(coap_async_t *async, coap_tick_t delay) { in coap_async_set_delay() argument
119 if (delay) { in coap_async_set_delay()
120 async->delay = now + delay; in coap_async_set_delay()
122 coap_update_epoll_timer(async->session->context, delay); in coap_async_set_delay()
126 (unsigned int)(delay / COAP_TICKS_PER_SECOND), in coap_async_set_delay()
127 (unsigned int)((delay in coap_async_set_delay()
39 coap_register_async(coap_session_t *session, const coap_pdu_t *request, coap_tick_t delay) coap_register_async() argument
195 coap_register_async(coap_session_t *session, const coap_pdu_t *request, coap_tick_t delay) coap_register_async() argument
205 coap_async_set_delay(coap_async_t *async, coap_tick_t delay) coap_async_set_delay() argument
[all...]
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_delay.c34 * Helpers to figure out the necessary delay slots between instructions. Used
42 /* calculate required # of delay slots between the instruction that
73 /* As far as we know, shader outputs don't need any delay. */ in ir3_delayslots()
134 unsigned delay = ir3_delayslots(assigner, consumer, consumer_n, false); in ir3_delayslots_with_repeat() local
140 return delay; in ir3_delayslots_with_repeat()
150 return delay; in ir3_delayslots_with_repeat()
156 return delay; in ir3_delayslots_with_repeat()
166 return delay; in ir3_delayslots_with_repeat()
193 /* The delay we return is relative to the *end* of assigner and the in ir3_delayslots_with_repeat()
196 * subtract from the delay, an in ir3_delayslots_with_repeat()
249 unsigned delay = 0; delay_calc() local
[all...]
H A Dir3_postsched.c86 unsigned delay; member
130 unsigned delay = (unsigned)(uintptr_t)edge->data; in schedule() local
133 child->earliest_ip = MAX2(child->earliest_ip, ctx->ip + delay); in schedule()
187 unsigned delay = node_delay(ctx, n); in node_delay_soft() local
193 delay = MAX2(delay, ctx->ss_delay); in node_delay_soft()
195 delay = MAX2(delay, ctx->sy_delay); in node_delay_soft()
197 return delay; in node_delay_soft()
276 /* Next try to find a ready leader w/ soft delay (i in choose_instr()
687 unsigned delay = node_delay(ctx, instr->data); sched_block() local
[all...]
/third_party/ltp/include/
H A Dtst_fuzzy_sync.h125 * Internal; Number of spins to use in the delay.
129 int delay; member
142 * random delay can be calculated. Defaults to 1024.
272 pair->delay = 0; in tst_fzsync_pair_reset()
371 * Calculate various statistics and the delay
399 * scenario (and others) a randomised delay is introduced before the syscalls
411 * | delay | Syscall B | Thread B
417 * The delay is not introduced immediately and the delay range is only
421 * The delay rang
701 volatile int delay; tst_fzsync_start_race_a() local
742 volatile int delay; tst_fzsync_start_race_b() local
[all...]
/third_party/ltp/testcases/realtime/func/sched_latency/
H A Dsched_latency.c27 * - The delay is measured as
29 * delay = (now - start - i*period) converted to microseconds
120 nsec_t delay, avg_delay = 0, start_delay, min_delay = -1ULL, max_delay = in periodic_thread() local
178 delay = in periodic_thread()
181 rec.y = delay; in periodic_thread()
184 if (delay < min_delay) in periodic_thread()
185 min_delay = delay; in periodic_thread()
186 if (delay > max_delay) in periodic_thread()
187 max_delay = delay; in periodic_thread()
188 if (delay > pass_criteri in periodic_thread()
[all...]
/third_party/node/deps/undici/src/lib/
H A Dtimers.js17 timer.state = fastNow + timer.delay
54 constructor (callback, delay, opaque) {
56 this.delay = delay
85 setTimeout (callback, delay, opaque) {
86 return delay < 1e3
87 ? setTimeout(callback, delay, opaque)
88 : new Timeout(callback, delay, opaque)
/third_party/ffmpeg/libavformat/
H A Dgifdec.c40 int delay; member
42 * Minimum allowed delay between frames in hundredths of
64 * Default delay = 100hundredths of second / 10fps = 10hos per frame.
68 * By default delay values less than this threshold considered to be invalid.
121 gdc->delay = gdc->default_delay; in gif_read_header()
157 int delay; in gif_read_header() local
160 delay = avio_rl16(pb); in gif_read_header()
161 if (delay < gdc->min_delay) in gif_read_header()
162 delay = gdc->default_delay; in gif_read_header()
163 delay in gif_read_header()
[all...]
H A Dapngenc.c98 "Last frame delay is too precise. Reducing to %d/%d (%f).\n", in apng_write_header()
187 AVRational delay; in flush_packet() local
193 delay.num = AV_RB16(existing_fcTL_chunk + 20); in flush_packet()
194 delay.den = AV_RB16(existing_fcTL_chunk + 22); in flush_packet()
196 if (delay.num == 0 && delay.den == 0) { in flush_packet()
202 if (!av_reduce(&delay.num, &delay.den, delay_num_raw, delay_den_raw, UINT16_MAX) && in flush_packet()
209 delay = apng->last_delay; in flush_packet()
211 delay in flush_packet()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DICUServiceThreadTest.java123 private final long delay; field in ICUServiceThreadTest.TestThread
125 public TestThread(String name, ICUService service, long delay) { in TestThread() argument
128 this.delay = delay; in TestThread()
141 if (delay > 0) { in run()
142 Thread.sleep(delay); in run()
197 RegisterFactoryThread(String name, ICUService service, long delay) { in RegisterFactoryThread() argument
198 super("REG " + name, service, delay); in RegisterFactoryThread()
213 UnregisterFactoryThread(String name, ICUService service, long delay) { in UnregisterFactoryThread() argument
214 super("UNREG " + name, service, delay); in UnregisterFactoryThread()
238 UnregisterFactoryListThread(String name, ICUService service, long delay, Factory[] factories) UnregisterFactoryListThread() argument
256 GetVisibleThread(String name, ICUService service, long delay) GetVisibleThread() argument
276 GetDisplayThread(String name, ICUService service, long delay, ULocale locale) GetDisplayThread() argument
309 GetThread(String name, ICUService service, long delay) GetThread() argument
329 GetListThread(String name, ICUService service, long delay, String[] list) GetListThread() argument
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DICUServiceThreadTest.java120 private final long delay; field in ICUServiceThreadTest.TestThread
122 public TestThread(String name, ICUService service, long delay) { in TestThread() argument
125 this.delay = delay; in TestThread()
138 if (delay > 0) { in run()
139 Thread.sleep(delay); in run()
194 RegisterFactoryThread(String name, ICUService service, long delay) { in RegisterFactoryThread() argument
195 super("REG " + name, service, delay); in RegisterFactoryThread()
210 UnregisterFactoryThread(String name, ICUService service, long delay) { in UnregisterFactoryThread() argument
211 super("UNREG " + name, service, delay); in UnregisterFactoryThread()
235 UnregisterFactoryListThread(String name, ICUService service, long delay, Factory[] factories) UnregisterFactoryListThread() argument
253 GetVisibleThread(String name, ICUService service, long delay) GetVisibleThread() argument
273 GetDisplayThread(String name, ICUService service, long delay, ULocale locale) GetDisplayThread() argument
306 GetThread(String name, ICUService service, long delay) GetThread() argument
326 GetListThread(String name, ICUService service, long delay, String[] list) GetListThread() argument
[all...]
/third_party/ltp/lib/newlib_tests/
H A Dtst_fuzzy_sync01.c49 * the start or end. The delay times are cubed to ensure that a delay
70 /* Scale all the delay times by this function. The races become harder
79 /* The delay until the start of the critical section */
83 /* The remaining delay until the method returns */
151 static void delay(const int t) in delay() function
169 delay(b.critical_s); in worker()
172 delay(b.critical_t); in worker()
175 delay(b.return_t); in worker()
193 delay( in run()
[all...]
/third_party/backends/backend/
H A Dgt68xx_mid.c51 gt68xx_delay_buffer_init (GT68xx_Delay_Buffer * delay, in gt68xx_delay_buffer_init() argument
72 delay->line_count = line_count = delay_count + 1; in gt68xx_delay_buffer_init()
73 delay->read_index = 0; in gt68xx_delay_buffer_init()
74 delay->write_index = delay_count; in gt68xx_delay_buffer_init()
76 delay->mem_block = (SANE_Byte *) malloc (bytes_per_line * line_count); in gt68xx_delay_buffer_init()
77 if (!delay->mem_block) in gt68xx_delay_buffer_init()
79 DBG (3, "gt68xx_delay_buffer_init: no memory for delay block\n"); in gt68xx_delay_buffer_init()
84 delay->mem_block[i] = i % 256; in gt68xx_delay_buffer_init()
86 delay->lines = in gt68xx_delay_buffer_init()
88 if (!delay in gt68xx_delay_buffer_init()
104 gt68xx_delay_buffer_done(GT68xx_Delay_Buffer * delay) gt68xx_delay_buffer_done() argument
[all...]
/third_party/cups-filters/backend/
H A Dbeh.c50 int dd, att, delay, retval; in main() local
122 delay = 0; in main()
124 delay = delay * 10 + (int)(*ptr) - 48; in main()
131 dd, att, delay, ptr); in main()
177 if (delay > 0) in main()
178 sleep (delay); in main()
200 "ERROR: URI must be \"beh:/<dd>/<att>/<delay>/<original uri>\"!\n"); in main()
/third_party/backends/lib/
H A Dusleep.c50 struct timeval delay; in usleep()
52 delay.tv_sec = 0; in usleep()
53 delay.tv_usec = useconds; in usleep()
54 select (0, 0, 0, 0, &delay); in usleep()
/third_party/pulseaudio/src/tests/
H A Dalsa-time-test.c157 snd_pcm_sframes_t avail, delay; in main() local
187 delay = snd_pcm_status_get_delay(status); in main()
211 delay == last_delay) { in main()
220 pos = (unsigned long long) ((sample_count - handled - delay) * 1000000LU / SAMPLE_RATE); in main()
222 pos = (unsigned long long) ((sample_count - handled + delay) * 1000000LU / SAMPLE_RATE); in main()
234 (signed long) delay, in main()
245 last_delay = delay; in main()
/third_party/toybox/toys/other/
H A Dusleep.c21 long delay = atol(*toys.optargs); in usleep_main() local
23 tv.tv_sec = delay/1000000; in usleep_main()
24 tv.tv_nsec = (delay%1000000) * 1000; in usleep_main()
/third_party/python/Lib/
H A Dsched.py9 implement a delay. You can implement real-time scheduling by
12 also be used to integrate scheduling with STDWIN events; the delay
54 """Initialize a new instance, passing the time and delay
78 def enter(self, delay, priority, action, argument=(), kwargs=_sentinel):
84 time = self.timefunc() + delay
109 When there is a positive delay until the first event, the
110 delay function is called and the event is left in the queue;
113 the delay function returns prematurely, it is simply
116 It is legal for both the delay function and the action
122 just after an event is executed, a delay o
[all...]
/third_party/node/deps/npm/node_modules/exponential-backoff/dist/delay/
H A Ddelay.factory.js3 var skip_first_delay_1 = require("./skip-first/skip-first.delay");
4 var always_delay_1 = require("./always/always.delay");
6 var delay = initDelayClass(options);
7 delay.setAttemptNumber(attempt);
8 return delay;
17 //# sourceMappingURL=delay.factory.js.ma
/third_party/libuv/test/
H A Dtest-semaphore.c31 int delay; member
39 if (c->delay) in worker()
40 uv_sleep(c->delay); in worker()
79 wc.delay = 100; in TEST_IMPL()
/third_party/ltp/testcases/kernel/ipc/semaphore/
H A Dsem01.c23 * each go through a loop where they semdown, delay for a
79 int delay; in delayloop() local
80 delay = 1 + ((100.0 * rand()) / RAND_MAX); in delayloop()
82 printf("in delay function for %d microseconds\n", delay); in delayloop()
83 usleep(delay); in delayloop()

Completed in 12 milliseconds

12345678910>>...14