#include "float.h"
#include "libavutil/log.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/audioconvert.h"
#include "libavfilter/avfilter.h"
#include "libavfilter/avfiltergraph.h"
#include "libavfilter/buffersink.h"
#include "libavformat/internal.h"
#include "avdevice.h"
Go to the source code of this file.
Data Structures | |
struct | LavfiContext |
Defines | |
#define | FAIL(ERR) { ret = ERR; goto end; } |
#define | OFFSET(x) offsetof(LavfiContext, x) |
#define | DEC AV_OPT_FLAG_DECODING_PARAM |
Functions | |
static int * | create_all_formats (int n) |
static av_cold int | lavfi_read_close (AVFormatContext *avctx) |
static av_cold int | lavfi_read_header (AVFormatContext *avctx) |
static int | lavfi_read_packet (AVFormatContext *avctx, AVPacket *pkt) |
Variables | |
static const AVOption | options [] |
static const AVClass | lavfi_class |
AVInputFormat | ff_lavfi_demuxer |
Definition in file lavfi.c.
#define FAIL | ( | ERR | ) | { ret = ERR; goto end; } |
Referenced by has_codec_parameters(), lavfi_read_header(), and parse_times().
#define OFFSET | ( | x | ) | offsetof(LavfiContext, x) |
static av_cold int lavfi_read_close | ( | AVFormatContext * | avctx | ) | [static] |
static av_cold int lavfi_read_header | ( | AVFormatContext * | avctx | ) | [static] |
static int lavfi_read_packet | ( | AVFormatContext * | avctx, | |
AVPacket * | pkt | |||
) | [static] |
Initial value:
{ .name = "lavfi", .long_name = NULL_IF_CONFIG_SMALL("Libavfilter virtual input device"), .priv_data_size = sizeof(LavfiContext), .read_header = lavfi_read_header, .read_packet = lavfi_read_packet, .read_close = lavfi_read_close, .flags = AVFMT_NOFILE, .priv_class = &lavfi_class, }
const AVClass lavfi_class [static] |
Initial value:
{ .class_name = "lavfi indev", .item_name = av_default_item_name, .option = options, .version = LIBAVUTIL_VERSION_INT, }