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

Functions

static av_cold int pp_init (AVFilterContext *ctx, const char *args)
 
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, AVFilterBufferRef *inbuf)
 
static av_cold void pp_uninit (AVFilterContext *ctx)
 

Variables

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.

Function Documentation

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

Definition at line 39 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 
)
static

Definition at line 56 of file vf_pp.c.

static int pp_query_formats ( AVFilterContext ctx)
static

Definition at line 68 of file vf_pp.c.

static int pp_config_props ( AVFilterLink inlink)
static

Definition at line 81 of file vf_pp.c.

static int pp_filter_frame ( AVFilterLink inlink,
AVFilterBufferRef inbuf 
)
static

Definition at line 103 of file vf_pp.c.

static av_cold void pp_uninit ( AVFilterContext ctx)
static

Definition at line 132 of file vf_pp.c.

Variable Documentation

const AVFilterPad pp_inputs[]
static
Initial value:
= {
{
.name = "default",
.config_props = pp_config_props,
.filter_frame = pp_filter_frame,
.min_perms = AV_PERM_READ,
},
{ NULL }
}

Definition at line 143 of file vf_pp.c.

const AVFilterPad pp_outputs[]
static
Initial value:
= {
{
.name = "default",
},
{ NULL }
}

Definition at line 154 of file vf_pp.c.

AVFilter avfilter_vf_pp
Initial value:
= {
.name = "pp",
.description = NULL_IF_CONFIG_SMALL("Filter video using libpostproc."),
.priv_size = sizeof(PPFilterContext),
}

Definition at line 162 of file vf_pp.c.