FFmpeg
|
vf_pp.c File Reference
libpostproc filter, ported from MPlayer. More...
#include "libavutil/avassert.h"
#include "libavutil/opt.h"
#include "internal.h"
#include "libpostproc/postprocess.h"
Include dependency graph for vf_pp.c:
Go to the source code of this file.
Data Structures | |
struct | PPFilterContext |
Macros | |
#define | OFFSET(x) offsetof(PPFilterContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (pp) | |
static av_cold int | pp_init (AVFilterContext *ctx) |
static int | pp_process_command (AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) |
static int | pp_query_formats (AVFilterContext *ctx) |
static int | pp_config_props (AVFilterLink *inlink) |
static int | pp_filter_frame (AVFilterLink *inlink, AVFrame *inbuf) |
static av_cold void | pp_uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | pp_options [] |
static const AVFilterPad | pp_inputs [] |
static const AVFilterPad | pp_outputs [] |
AVFilter | avfilter_vf_pp |
Detailed Description
libpostproc filter, ported from MPlayer.
Definition in file vf_pp.c.
Macro Definition Documentation
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
#define OFFSET | ( | x | ) | offsetof(PPFilterContext, x) |
Function Documentation
AVFILTER_DEFINE_CLASS | ( | pp | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Variable Documentation
AVFilter avfilter_vf_pp |
Initial value:
= {
.name = "pp",
.description = NULL_IF_CONFIG_SMALL("Filter video using libpostproc."),
.priv_size = sizeof(PPFilterContext),
.outputs = pp_outputs,
.priv_class = &pp_class,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
static int process_command(AVFilterContext *ctx, const char *cmd, const char *arg, char *res, int res_len, int flags)
Definition: af_atempo.c:1141
Definition: vf_pp.c:33
static int pp_process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags)
Definition: vf_pp.c:64
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
|
static |
Initial value:
= {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.config_props = pp_config_props,
.filter_frame = pp_filter_frame,
},
{ NULL }
}
static int pp_filter_frame(AVFilterLink *inlink, AVFrame *inbuf)
Definition: vf_pp.c:111
Definition: avutil.h:143
|
static |
Initial value:
= {
{ "subfilters", "set postprocess subfilters", OFFSET(subfilters), AV_OPT_TYPE_STRING, {.str="de"}, .flags = FLAGS },
{ NULL }
}
Definition: opt.h:226
|
static |
Initial value:
Generated on Fri Dec 20 2024 06:56:16 for FFmpeg by 1.8.11