FFmpeg
|
vf_framestep.c File Reference
Include dependency graph for vf_framestep.c:
Go to the source code of this file.
Data Structures | |
struct | FrameStepContext |
Macros | |
#define | OFFSET(x) offsetof(FrameStepContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (framestep) | |
static int | config_output_props (AVFilterLink *outlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *ref) |
Variables | |
static const AVOption | framestep_options [] |
static const AVFilterPad | framestep_inputs [] |
static const AVFilterPad | framestep_outputs [] |
AVFilter | avfilter_vf_framestep |
Macro Definition Documentation
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 37 of file vf_framestep.c.
#define OFFSET | ( | x | ) | offsetof(FrameStepContext, x) |
Definition at line 36 of file vf_framestep.c.
Function Documentation
AVFILTER_DEFINE_CLASS | ( | framestep | ) |
|
static |
Definition at line 46 of file vf_framestep.c.
|
static |
Definition at line 63 of file vf_framestep.c.
Variable Documentation
AVFilter avfilter_vf_framestep |
Initial value:
= {
.name = "framestep",
.description = NULL_IF_CONFIG_SMALL("Select one frame every N frames."),
.priv_size = sizeof(FrameStepContext),
.priv_class = &framestep_class,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
Definition: vf_framestep.c:31
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
Definition: filter_design.txt:216
Definition at line 93 of file vf_framestep.c.
|
static |
Initial value:
= {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.filter_frame = filter_frame,
},
{ NULL }
}
static int filter_frame(AVFilterLink *inlink, AVFrame *ref)
Definition: vf_framestep.c:63
Definition: avutil.h:143
Definition at line 75 of file vf_framestep.c.
|
static |
Initial value:
Definition at line 39 of file vf_framestep.c.
|
static |
Initial value:
= {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.config_props = config_output_props,
},
{ NULL }
}
static int config_output_props(AVFilterLink *outlink)
Definition: vf_framestep.c:46
Definition: avutil.h:143
Definition at line 84 of file vf_framestep.c.
Generated on Tue Jan 21 2025 06:52:36 for FFmpeg by 1.8.11