#include "avfilter.h"#include "internal.h"#include "video.h"Go to the source code of this file.
Data Structures | |
| struct | FrameStepContext |
Functions | |
| static av_cold int | init (AVFilterContext *ctx, const char *args) |
| static int | config_output_props (AVFilterLink *outlink) |
| static int | start_frame (AVFilterLink *inlink, AVFilterBufferRef *ref) |
| static int | draw_slice (AVFilterLink *inlink, int y, int h, int slice_dir) |
| static int | end_frame (AVFilterLink *inlink) |
| static int | request_frame (AVFilterLink *outlink) |
Variables | |
| AVFilter | avfilter_vf_framestep |
| static int config_output_props | ( | AVFilterLink * | outlink | ) | [static] |
Definition at line 53 of file vf_framestep.c.
| static int draw_slice | ( | AVFilterLink * | inlink, | |
| int | y, | |||
| int | h, | |||
| int | slice_dir | |||
| ) | [static] |
Definition at line 82 of file vf_framestep.c.
| static int end_frame | ( | AVFilterLink * | inlink | ) | [static] |
Definition at line 91 of file vf_framestep.c.
| static av_cold int init | ( | AVFilterContext * | ctx, | |
| const char * | args | |||
| ) | [static] |
Definition at line 34 of file vf_framestep.c.
| static int request_frame | ( | AVFilterLink * | outlink | ) | [static] |
Definition at line 100 of file vf_framestep.c.
| static int start_frame | ( | AVFilterLink * | inlink, | |
| AVFilterBufferRef * | ref | |||
| ) | [static] |
Definition at line 69 of file vf_framestep.c.
Initial value:
{
.name = "framestep",
.description = NULL_IF_CONFIG_SMALL("Select one frame every N frames."),
.init = init,
.priv_size = sizeof(FrameStepContext),
.inputs = (const AVFilterPad[]) {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.get_video_buffer = ff_null_get_video_buffer,
.start_frame = start_frame,
.draw_slice = draw_slice,
.end_frame = end_frame,
},
{ .name = NULL }
},
.outputs = (const AVFilterPad[]) {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.config_props = config_output_props,
.request_frame = request_frame,
},
{ .name = NULL }
},
}
Definition at line 114 of file vf_framestep.c.
1.5.8