All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
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"

Go to the source code of this file.

Data Structures

struct  PPFilterContext


#define OFFSET(x)   offsetof(PPFilterContext, x)


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)


static const AVOption pp_options []
static const AVFilterPad pp_inputs []
static const AVFilterPad pp_outputs []
AVFilter ff_vf_pp

Detailed Description

libpostproc filter, ported from MPlayer.

Definition in file vf_pp.c.

Macro Definition Documentation

#define OFFSET (   x)    offsetof(PPFilterContext, x)

Definition at line 41 of file vf_pp.c.

Definition at line 42 of file vf_pp.c.

Function Documentation

static av_cold int pp_init ( AVFilterContext ctx)

Definition at line 50 of file vf_pp.c.

static int pp_process_command ( AVFilterContext ctx,
const char *  cmd,
const char *  args,
char *  res,
int  res_len,
int  flags 

Definition at line 64 of file vf_pp.c.

static int pp_query_formats ( AVFilterContext ctx)

Definition at line 76 of file vf_pp.c.

static int pp_config_props ( AVFilterLink inlink)

Definition at line 95 of file vf_pp.c.

static int pp_filter_frame ( AVFilterLink inlink,
AVFrame inbuf 

Definition at line 121 of file vf_pp.c.

static av_cold void pp_uninit ( AVFilterContext ctx)

Definition at line 155 of file vf_pp.c.

Variable Documentation

const AVOption pp_options[]
Initial value:
= {
{ "subfilters", "set postprocess subfilters", OFFSET(subfilters), AV_OPT_TYPE_STRING, {.str="de"}, .flags = FLAGS },
{ NULL }
#define NULL
Definition: coverity.c:32
#define FLAGS
Definition: vf_pp.c:42
#define OFFSET(x)
Definition: vf_pp.c:41

Definition at line 43 of file vf_pp.c.

const AVFilterPad pp_inputs[]
Initial value:
= {
.name = "default",
.config_props = pp_config_props,
.filter_frame = pp_filter_frame,
{ NULL }
#define NULL
Definition: coverity.c:32
static int pp_filter_frame(AVFilterLink *inlink, AVFrame *inbuf)
Definition: vf_pp.c:121
static int pp_config_props(AVFilterLink *inlink)
Definition: vf_pp.c:95

Definition at line 166 of file vf_pp.c.

const AVFilterPad pp_outputs[]
Initial value:
= {
.name = "default",
{ NULL }
#define NULL
Definition: coverity.c:32

Definition at line 176 of file vf_pp.c.

AVFilter ff_vf_pp
Initial value:
= {
.name = "pp",
.description = NULL_IF_CONFIG_SMALL("Filter video using libpostproc."),
.priv_size = sizeof(PPFilterContext),
.priv_class = &pp_class,
static av_cold void pp_uninit(AVFilterContext *ctx)
Definition: vf_pp.c:155
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
Some filters support a generic "enable" expression option that can be used to enable or disable a fil...
Definition: avfilter.h:125
static const AVFilterPad pp_outputs[]
Definition: vf_pp.c:176
static av_cold int uninit(AVCodecContext *avctx)
Definition: crystalhd.c:279
static av_cold int pp_init(AVFilterContext *ctx)
Definition: vf_pp.c:50
#define flags(name, subs,...)
Definition: cbs_h2645.c:263
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static const AVFilterPad inputs[]
Definition: af_acontrast.c:193
static const AVFilterPad pp_inputs[]
Definition: vf_pp.c:166
static const AVFilterPad outputs[]
Definition: af_acontrast.c:203
static int process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags)
static int query_formats(AVFilterContext *ctx)
Definition: aeval.c:244
static int pp_query_formats(AVFilterContext *ctx)
Definition: vf_pp.c:76
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

Definition at line 184 of file vf_pp.c.