Go to the source code of this file.
|
static int | ring_init (RingBuffer *ring, unsigned int capacity, int read_back_capacity) |
|
static void | ring_destroy (RingBuffer *ring) |
|
static void | ring_reset (RingBuffer *ring) |
|
static int | ring_size (RingBuffer *ring) |
|
static int | ring_space (RingBuffer *ring) |
|
static int | ring_generic_read (RingBuffer *ring, void *dest, int buf_size, void(*func)(void *, void *, int)) |
|
static int | ring_generic_write (RingBuffer *ring, void *src, int size, int(*func)(void *, void *, int)) |
|
static int | ring_size_of_read_back (RingBuffer *ring) |
|
static int | ring_drain (RingBuffer *ring, int offset) |
|
static int | async_check_interrupt (void *arg) |
|
static int | wrapped_url_read (void *src, void *dst, int size) |
|
static void * | async_buffer_task (void *arg) |
|
static int | async_open (URLContext *h, const char *arg, int flags, AVDictionary **options) |
|
static int | async_close (URLContext *h) |
|
static int | async_read_internal (URLContext *h, void *dest, int size, int read_complete, void(*func)(void *, void *, int)) |
|
static int | async_read (URLContext *h, unsigned char *buf, int size) |
|
static void | fifo_do_not_copy_func (void *dest, void *src, int size) |
|
static int64_t | async_seek (URLContext *h, int64_t pos, int whence) |
|
◆ BUFFER_CAPACITY
#define BUFFER_CAPACITY (4 * 1024 * 1024) |
support timeout support work with concatdec, hls
Definition at line 44 of file async.c.
Referenced by async_open().
◆ READ_BACK_CAPACITY
#define READ_BACK_CAPACITY (4 * 1024 * 1024) |
◆ SHORT_SEEK_THRESHOLD
#define SHORT_SEEK_THRESHOLD (256 * 1024) |
◆ OFFSET
#define OFFSET |
( |
|
x | ) |
offsetof(Context, x) |
◆ ring_init()
◆ ring_destroy()
◆ ring_reset()
◆ ring_size()
◆ ring_space()
◆ ring_generic_read()
◆ ring_generic_write()
◆ ring_size_of_read_back()
◆ ring_drain()
◆ async_check_interrupt()
static int async_check_interrupt |
( |
void * |
arg | ) |
|
|
static |
◆ wrapped_url_read()
◆ async_buffer_task()
static void* async_buffer_task |
( |
void * |
arg | ) |
|
|
static |
◆ async_open()
◆ async_close()
◆ async_read_internal()
◆ async_read()
◆ fifo_do_not_copy_func()
◆ async_seek()
static int64_t async_seek |
( |
URLContext * |
h, |
|
|
int64_t |
pos, |
|
|
int |
whence |
|
) |
| |
|
static |
◆ options
Initial value:
Definition at line 468 of file async.c.
◆ async_context_class
Initial value:= {
.class_name = "Async",
}
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
static const AVOption options[]
Definition at line 475 of file async.c.
◆ ff_async_protocol
Initial value:= {
.name = "async",
}
static const AVClass async_context_class
static int64_t async_seek(URLContext *h, int64_t pos, int whence)
static int async_open(URLContext *h, const char *arg, int flags, AVDictionary **options)
static int async_close(URLContext *h)
static int async_read(URLContext *h, unsigned char *buf, int size)
Definition at line 482 of file async.c.