FFmpeg
4.1.4
|
#include "avformat.h"
#include "libavutil/aes.h"
#include "libavutil/avstring.h"
#include "libavutil/opt.h"
#include "internal.h"
#include "url.h"
Go to the source code of this file.
Data Structures | |
struct | CryptoContext |
Macros | |
#define | MAX_BUFFER_BLOCKS 257 |
#define | BLOCKSIZE 16 |
#define | OFFSET(x) offsetof(CryptoContext, x) |
#define | D AV_OPT_FLAG_DECODING_PARAM |
#define | E AV_OPT_FLAG_ENCODING_PARAM |
Functions | |
static int | set_aes_arg (URLContext *h, uint8_t **buf, int *buf_len, uint8_t *default_buf, int default_buf_len, const char *desc) |
static int | crypto_open2 (URLContext *h, const char *uri, int flags, AVDictionary **options) |
static int | crypto_read (URLContext *h, uint8_t *buf, int size) |
static int64_t | crypto_seek (URLContext *h, int64_t pos, int whence) |
static int | crypto_write (URLContext *h, const unsigned char *buf, int size) |
static int | crypto_close (URLContext *h) |
Variables | |
static const AVOption | options [] |
static const AVClass | crypto_class |
const URLProtocol | ff_crypto_protocol |
#define BLOCKSIZE 16 |
Definition at line 31 of file crypto.c.
Referenced by crypto_close(), crypto_open2(), crypto_read(), crypto_seek(), crypto_write(), and set_aes_arg().
#define OFFSET | ( | x | ) | offsetof(CryptoContext, x) |
#define D AV_OPT_FLAG_DECODING_PARAM |
#define E AV_OPT_FLAG_ENCODING_PARAM |
|
static |
Definition at line 83 of file crypto.c.
Referenced by crypto_open2().
|
static |
|
static |
Definition at line 183 of file crypto.c.
Referenced by crypto_seek().
|
static |
|
static |
|
static |
|
static |
|
static |
const URLProtocol ff_crypto_protocol |