FFmpeg
|
#include <float.h>
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/ffmath.h"
#include "libavutil/opt.h"
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/parseutils.h"
#include "libavutil/xga_font_data.h"
#include "avfilter.h"
#include "drawutils.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | TestSourceContext |
Macros | |
#define | OFFSET(x) offsetof(TestSourceContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
#define | FLAGSR AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM |
#define | SIZE_OPTIONS |
#define | COMMON_OPTIONS_NOSIZE |
#define | COMMON_OPTIONS SIZE_OPTIONS COMMON_OPTIONS_NOSIZE |
#define | NOSIZE_OPTIONS_OFFSET 2 |
Functions | |
static av_cold int | init (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | config_props (AVFilterLink *outlink) |
static int | activate (AVFilterContext *ctx) |
AVFILTER_DEFINE_CLASS_EXT (nullsrc_yuvtestsrc, "nullsrc/yuvtestsrc", options) | |
AVFILTER_DEFINE_CLASS_EXT (allyuv_allrgb, "allyuv/allrgb", &options[NOSIZE_OPTIONS_OFFSET]) | |
Variables | |
static const AVOption | options [] |
Misc test sources.
testsrc is based on the test pattern generator demuxer by Nicolas George: http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2007-October/037845.html
rgbtestsrc is ported from MPlayer libmpcodecs/vf_rgbtest.c by Michael Niedermayer.
allyuv, smptebars and smptehdbars are by Paul B Mahol.
Definition in file vsrc_testsrc.c.
#define OFFSET | ( | x | ) | offsetof(TestSourceContext, x) |
Definition at line 90 of file vsrc_testsrc.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 91 of file vsrc_testsrc.c.
Definition at line 92 of file vsrc_testsrc.c.
#define SIZE_OPTIONS |
Definition at line 94 of file vsrc_testsrc.c.
#define COMMON_OPTIONS_NOSIZE |
Definition at line 98 of file vsrc_testsrc.c.
#define COMMON_OPTIONS SIZE_OPTIONS COMMON_OPTIONS_NOSIZE |
Definition at line 105 of file vsrc_testsrc.c.
#define NOSIZE_OPTIONS_OFFSET 2 |
Definition at line 107 of file vsrc_testsrc.c.
|
static |
Definition at line 115 of file vsrc_testsrc.c.
|
static |
Definition at line 130 of file vsrc_testsrc.c.
|
static |
Definition at line 137 of file vsrc_testsrc.c.
|
static |
Definition at line 150 of file vsrc_testsrc.c.
AVFILTER_DEFINE_CLASS_EXT | ( | nullsrc_yuvtestsrc | , |
"nullsrc/yuvtestsrc" | , | ||
options | |||
) |
AVFILTER_DEFINE_CLASS_EXT | ( | allyuv_allrgb | , |
"allyuv/allrgb" | , | ||
& | options[NOSIZE_OPTIONS_OFFSET] | ||
) |
|
static |
Definition at line 110 of file vsrc_testsrc.c.