FFmpeg
|
vf_telecine.c File Reference
#include "libavutil/avstring.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Include dependency graph for vf_telecine.c:
Go to the source code of this file.
Data Structures | |
struct | TelecineContext |
Macros | |
#define | OFFSET(x) offsetof(TelecineContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (telecine) | |
static av_cold int | init (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static int | config_output (AVFilterLink *outlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *inpicref) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | telecine_options [] |
static const AVFilterPad | telecine_inputs [] |
static const AVFilterPad | telecine_outputs [] |
AVFilter | avfilter_vf_telecine |
Macro Definition Documentation
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 57 of file vf_telecine.c.
#define OFFSET | ( | x | ) | offsetof(TelecineContext, x) |
Definition at line 56 of file vf_telecine.c.
Function Documentation
AVFILTER_DEFINE_CLASS | ( | telecine | ) |
|
static |
Definition at line 115 of file vf_telecine.c.
|
static |
Definition at line 141 of file vf_telecine.c.
|
static |
Definition at line 166 of file vf_telecine.c.
|
static |
Definition at line 71 of file vf_telecine.c.
|
static |
Definition at line 100 of file vf_telecine.c.
|
static |
Definition at line 244 of file vf_telecine.c.
Variable Documentation
AVFilter avfilter_vf_telecine |
Initial value:
= {
.name = "telecine",
.description = NULL_IF_CONFIG_SMALL("Apply a telecine pattern."),
.priv_size = sizeof(TelecineContext),
.priv_class = &telecine_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_telecine.c:36
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 273 of file vf_telecine.c.
|
static |
Initial value:
= {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.filter_frame = filter_frame,
.config_props = config_input,
},
{ NULL }
}
static int filter_frame(AVFilterLink *inlink, AVFrame *inpicref)
Definition: vf_telecine.c:166
Definition: avutil.h:143
Definition at line 254 of file vf_telecine.c.
|
static |
Initial value:
= {
{"first_field", "select first field", OFFSET(first_field), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS, "field"},
{"pattern", "pattern that describe for how many fields a frame is to be displayed", OFFSET(pattern), AV_OPT_TYPE_STRING, {.str="23"}, 0, 0, FLAGS},
{NULL}
}
Definition: opt.h:222
Definition: opt.h:229
Definition: opt.h:226
Definition at line 59 of file vf_telecine.c.
|
static |
Initial value:
= {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.config_props = config_output,
},
{ NULL }
}
Definition: avutil.h:143
Definition at line 264 of file vf_telecine.c.
Generated on Mon Nov 18 2024 06:52:10 for FFmpeg by 1.8.11