#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/error.h"
#include "libavutil/fifo.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "url.h"
#include <stdint.h>
#include <pthread.h>
Go to the source code of this file.
|
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, 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 backward short seek support work with concatdec, hls
Definition at line 45 of file async.c.
Referenced by async_open().
#define SHORT_SEEK_THRESHOLD (256 * 1024) |
#define OFFSET |
( |
|
x | ) |
offsetof(Context, x) |
static int async_check_interrupt |
( |
void * |
arg | ) |
|
|
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 369 of file async.c.
Initial value:= {
.class_name = "Async",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption options[]
Definition at line 373 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 380 of file async.c.