Go to the documentation of this file.
36 #define OFFSET(x) offsetof(FrameStepContext, x)
37 #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
49 FrameStepContext *framestep =
ctx->priv;
58 framestep->frame_step,
67 FrameStepContext *framestep =
inlink->dst->priv;
96 .priv_size =
sizeof(FrameStepContext),
97 .priv_class = &framestep_class,
int ff_filter_frame(AVFilterLink *link, AVFrame *frame)
Send a frame of data to the next filter.
AVRational av_div_q(AVRational b, AVRational c)
Divide one rational by another.
The exact code depends on how similar the blocks are and how related they are to the and needs to apply these operations to the correct inlink or outlink if there are several Macros are available to factor that when no extra processing is inlink
void av_frame_free(AVFrame **frame)
Free the frame and any dynamically allocated objects in it, e.g.
#define FILTER_INPUTS(array)
This structure describes decoded (raw) audio or video data.
static int filter_frame(AVFilterLink *inlink, AVFrame *ref)
#define AV_LOG_VERBOSE
Detailed information.
const char * name
Filter name.
A link between two filters.
Link properties exposed to filter code, but not external callers.
static int config_output_props(AVFilterLink *outlink)
A filter pad used for either input or output.
static const AVFilterPad framestep_inputs[]
static double av_q2d(AVRational a)
Convert an AVRational to a double.
#define FILTER_OUTPUTS(array)
Describe the class of an AVClass context structure.
Rational number (pair of numerator and denominator).
static FilterLink * ff_filter_link(AVFilterLink *link)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
AVFilterContext * src
source filter
static const AVFilterPad framestep_outputs[]
#define AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC
Some filters support a generic "enable" expression option that can be used to enable or disable a fil...
const AVFilter ff_vf_framestep
const char * name
Pad name.
AVFILTER_DEFINE_CLASS(framestep)
@ AV_OPT_TYPE_INT
Underlying C type is int.
#define AVFILTER_FLAG_METADATA_ONLY
The filter is a "metadata" filter - it does not modify the frame data in any way.
static int ref[MAX_W *MAX_W]
static const AVOption framestep_options[]
AVRational frame_rate
Frame rate of the stream on the link, or 1/0 if unknown or variable.