FFmpeg
|
lavfi.c File Reference
libavfilter virtual input device More...
#include <float.h>
#include "libavutil/bprint.h"
#include "libavutil/channel_layout.h"
#include "libavutil/file.h"
#include "libavutil/log.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "libavfilter/avfilter.h"
#include "libavfilter/avfiltergraph.h"
#include "libavfilter/buffersink.h"
#include "libavformat/internal.h"
#include "avdevice.h"
Include dependency graph for lavfi.c:
Go to the source code of this file.
Data Structures | |
struct | LavfiContext |
Macros | |
#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 |
Detailed Description
libavfilter virtual input device
Definition in file lavfi.c.
Macro Definition Documentation
#define DEC AV_OPT_FLAG_DECODING_PARAM |
Referenced by lavfi_read_header().
#define OFFSET | ( | x | ) | offsetof(LavfiContext, x) |
Function Documentation
|
static |
Definition at line 57 of file lavfi.c.
Referenced by lavfi_read_header().
|
static |
Definition at line 78 of file lavfi.c.
Referenced by lavfi_read_header().
|
static |
|
static |
Variable Documentation
AVInputFormat ff_lavfi_demuxer |
Initial value:
= {
.name = "lavfi",
.long_name = NULL_IF_CONFIG_SMALL("Libavfilter virtual input device"),
.priv_data_size = sizeof(LavfiContext),
.flags = AVFMT_NOFILE,
.priv_class = &lavfi_class,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
static int lavfi_read_packet(AVFormatContext *avctx, AVPacket *pkt)
Definition: lavfi.c:313
#define AVFMT_NOFILE
Demuxer will use avio_open, no opened file should be provided by the caller.
Definition: avformat.h:345
Definition: lavfi.c:44
|
static |
Initial value:
= {
.class_name = "lavfi indev",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
}
|
static |
Initial value:
= {
{ "graph", "set libavfilter graph", OFFSET(graph_str), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, DEC },
{ "graph_file","set libavfilter graph filename", OFFSET(graph_filename), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, DEC},
{ "dumpgraph", "dump graph to stderr", OFFSET(dump_graph), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, DEC },
{ NULL },
}
Definition: opt.h:226
Generated on Mon Nov 18 2024 06:52:07 for FFmpeg by 1.8.11