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) |
|
#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().
#define READ_BACK_CAPACITY (4 * 1024 * 1024) |
#define SHORT_SEEK_THRESHOLD (256 * 1024) |
#define OFFSET |
( |
|
x | ) |
offsetof(Context, x) |
static int ring_init |
( |
RingBuffer * |
ring, |
|
|
unsigned int |
capacity, |
|
|
int |
read_back_capacity |
|
) |
| |
|
static |
static int ring_size_of_read_back |
( |
RingBuffer * |
ring | ) |
|
|
static |
static int ring_drain |
( |
RingBuffer * |
ring, |
|
|
int |
offset |
|
) |
| |
|
static |
static int async_check_interrupt |
( |
void * |
arg | ) |
|
|
static |
static int wrapped_url_read |
( |
void * |
src, |
|
|
void * |
dst, |
|
|
int |
size |
|
) |
| |
|
static |
static void* async_buffer_task |
( |
void * |
arg | ) |
|
|
static |
static int async_read |
( |
URLContext * |
h, |
|
|
unsigned char * |
buf, |
|
|
int |
size |
|
) |
| |
|
static |
static void fifo_do_not_copy_func |
( |
void * |
dest, |
|
|
void * |
src, |
|
|
int |
size |
|
) |
| |
|
static |
static int64_t async_seek |
( |
URLContext * |
h, |
|
|
int64_t |
pos, |
|
|
int |
whence |
|
) |
| |
|
static |
Initial value:
Definition at line 468 of file async.c.
Initial value:= {
.class_name = "Async",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption options[]
Definition at line 475 of file async.c.
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.