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_read (RingBuffer *ring, void *dest, int buf_size) |
|
static int | wrapped_url_read (void *src, void *dst, size_t *size) |
|
static int | ring_write (RingBuffer *ring, URLContext *h, size_t size) |
|
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 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) |
|
static int | async_read (URLContext *h, unsigned char *buf, int size) |
|
static int64_t | async_seek (URLContext *h, int64_t pos, int whence) |
|
◆ BUFFER_CAPACITY
#define BUFFER_CAPACITY (4 * 1024 * 1024) |
@TODO support timeout support work with concatdec, hls
Definition at line 44 of file async.c.
◆ 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_read()
◆ wrapped_url_read()
static int wrapped_url_read |
( |
void * |
src, |
|
|
void * |
dst, |
|
|
size_t * |
size |
|
) |
| |
|
static |
◆ ring_write()
◆ ring_size_of_read_back()
◆ ring_drain()
◆ async_check_interrupt()
static int async_check_interrupt |
( |
void * |
arg | ) |
|
|
static |
◆ async_buffer_task()
static void* async_buffer_task |
( |
void * |
arg | ) |
|
|
static |
◆ async_open()
◆ async_close()
◆ async_read_internal()
◆ async_read()
◆ async_seek()
◆ options
◆ async_context_class
Initial value:= {
.class_name = "Async",
}
Definition at line 485 of file async.c.
◆ ff_async_protocol
Initial value:
Definition at line 492 of file async.c.