FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
vf_framestep.c File Reference
#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 filter_frame (AVFilterLink *inlink, AVFilterBufferRef *ref)
 
static int request_frame (AVFilterLink *outlink)
 

Variables

static const AVFilterPad framestep_inputs []
 
static const AVFilterPad framestep_outputs []
 
AVFilter avfilter_vf_framestep
 

Function Documentation

static av_cold int init ( AVFilterContext ctx,
const char *  args 
)
static

Definition at line 34 of file vf_framestep.c.

static int config_output_props ( AVFilterLink outlink)
static

Definition at line 53 of file vf_framestep.c.

static int filter_frame ( AVFilterLink inlink,
AVFilterBufferRef ref 
)
static

Definition at line 69 of file vf_framestep.c.

static int request_frame ( AVFilterLink outlink)
static

Definition at line 83 of file vf_framestep.c.

Variable Documentation

const AVFilterPad framestep_inputs[]
static
Initial value:
= {
{
.name = "default",
.get_video_buffer = ff_null_get_video_buffer,
.filter_frame = filter_frame,
},
{ NULL }
}

Definition at line 97 of file vf_framestep.c.

const AVFilterPad framestep_outputs[]
static
Initial value:
= {
{
.name = "default",
.config_props = config_output_props,
.request_frame = request_frame,
},
{ NULL }
}

Definition at line 107 of file vf_framestep.c.

AVFilter avfilter_vf_framestep
Initial value:
= {
.name = "framestep",
.description = NULL_IF_CONFIG_SMALL("Select one frame every N frames."),
.init = init,
.priv_size = sizeof(FrameStepContext),
}

Definition at line 117 of file vf_framestep.c.