Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavformat/
Dasync.c417 int pos_delta = (int)(new_logical_pos - c->logical_pos); in async_seek() local
423 if (pos_delta > 0) { in async_seek()
425 async_read_internal(h, NULL, pos_delta, 1, fifo_do_not_copy_func); in async_seek()
428 ring_drain(ring, pos_delta); in async_seek()
Dutils.c2068 int64_t pos_delta = 0; in ff_configure_buffers_for_index() local
2104 pos_delta = FFMAX(pos_delta, e1->pos - e2->pos); in ff_configure_buffers_for_index()
2111 pos_delta *= 2; in ff_configure_buffers_for_index()
2113 if (s->pb->buffer_size < pos_delta && pos_delta < (1<<24)) { in ff_configure_buffers_for_index()
2114 av_log(s, AV_LOG_VERBOSE, "Reconfiguring buffers to size %"PRId64"\n", pos_delta); in ff_configure_buffers_for_index()
2117 if (ffio_realloc_buf(s->pb, pos_delta)) { in ff_configure_buffers_for_index()
2122 s->pb->short_seek_threshold = FFMAX(s->pb->short_seek_threshold, pos_delta/2); in ff_configure_buffers_for_index()