Go to the source code of this file.
|
| AVFILTER_DEFINE_CLASS (avsynctest) |
|
static av_cold int | query_formats (const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out) |
|
static av_cold int | aconfig_props (AVFilterLink *outlink) |
|
static av_cold int | config_props (AVFilterLink *outlink) |
|
static int32_t | sin32 (int32_t x, AVRational scale) |
|
static int | audio_frame (AVFilterLink *outlink) |
|
static void | draw_text (FFDrawContext *draw, AVFrame *out, FFDrawColor *color, int x0, int y0, const uint8_t *text) |
|
static int | offset (int x, int num, int den) |
|
static int | video_frame (AVFilterLink *outlink) |
|
static int | activate (AVFilterContext *ctx) |
|
◆ OFFSET
◆ FPI
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
avsynctest |
| ) |
|
◆ query_formats()
◆ aconfig_props()
◆ config_props()
◆ sin32()
◆ audio_frame()
◆ draw_text()
◆ offset()
static int offset |
( |
int |
x, |
|
|
int |
num, |
|
|
int |
den |
|
) |
| |
|
static |
◆ video_frame()
◆ activate()
◆ avsynctest_options
◆ avsynctest_outputs
Initial value:= {
{
.name = "audio",
},
{
.name = "video",
},
}
Definition at line 386 of file src_avsynctest.c.
◆ ff_avsrc_avsynctest
Initial value:= {
.name = "avsynctest",
.priv_class = &avsynctest_class,
}
Definition at line 399 of file src_avsynctest.c.
static const AVFilterPad avsynctest_outputs[]
@ AV_OPT_TYPE_VIDEO_RATE
Underlying C type is AVRational.
@ AV_OPT_TYPE_DURATION
Underlying C type is int64_t.
#define FILTER_OUTPUTS(array)
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default minimum maximum flags name is the option keep it simple and lowercase description are in without period
static av_cold int query_formats(const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out)
@ AV_OPT_TYPE_COLOR
Underlying C type is uint8_t[4].
@ AV_OPT_TYPE_IMAGE_SIZE
Underlying C type is two consecutive integers.
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several inputs
static av_cold int aconfig_props(AVFilterLink *outlink)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
int ff_filter_process_command(AVFilterContext *ctx, const char *cmd, const char *arg, char *res, int res_len, int flags)
Generic processing of user supplied commands that are set in the same way as the filter options.
@ AV_OPT_TYPE_FLOAT
Underlying C type is float.
static int activate(AVFilterContext *ctx)
#define FILTER_QUERY_FUNC2(func)
@ AV_OPT_TYPE_INT
Underlying C type is int.
@ AV_OPT_TYPE_BOOL
Underlying C type is int.
static av_cold int config_props(AVFilterLink *outlink)