FFmpeg
|
#include "libavutil/avstring.h"
#include "libavutil/file_open.h"
#include "libavutil/getenv_utf8.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include <sys/stat.h>
#include "os_support.h"
#include "url.h"
Go to the source code of this file.
Data Structures | |
struct | IPFSGatewayContext |
Macros | |
#define | PATH_MAX 4096 |
#define | OFFSET(x) offsetof(IPFSGatewayContext, x) |
Functions | |
static int | populate_ipfs_gateway (URLContext *h) |
static int | translate_ipfs_to_http (URLContext *h, const char *uri, int flags, AVDictionary **options) |
static int | ipfs_read (URLContext *h, unsigned char *buf, int size) |
static int64_t | ipfs_seek (URLContext *h, int64_t pos, int whence) |
static int | ipfs_close (URLContext *h) |
Variables | |
static const AVOption | options [] |
static const AVClass | ipfs_gateway_context_class |
const URLProtocol | ff_ipfs_gateway_protocol |
const URLProtocol | ff_ipns_gateway_protocol |
#define PATH_MAX 4096 |
Definition at line 34 of file ipfsgateway.c.
#define OFFSET | ( | x | ) | offsetof(IPFSGatewayContext, x) |
Definition at line 326 of file ipfsgateway.c.
|
static |
Definition at line 52 of file ipfsgateway.c.
Referenced by translate_ipfs_to_http().
|
static |
Definition at line 199 of file ipfsgateway.c.
|
static |
Definition at line 308 of file ipfsgateway.c.
|
static |
Definition at line 314 of file ipfsgateway.c.
|
static |
Definition at line 320 of file ipfsgateway.c.
Definition at line 328 of file ipfsgateway.c.
|
static |
Definition at line 333 of file ipfsgateway.c.
const URLProtocol ff_ipfs_gateway_protocol |
Definition at line 340 of file ipfsgateway.c.
const URLProtocol ff_ipns_gateway_protocol |
Definition at line 350 of file ipfsgateway.c.