FFmpeg  4.0
Data Structures | Functions | Variables
vf_pixdesctest.c File Reference

pixdesc test filter More...

#include "libavutil/common.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "internal.h"
#include "video.h"

Go to the source code of this file.

Data Structures

struct  PixdescTestContext
 

Functions

static av_cold void uninit (AVFilterContext *ctx)
 
static int config_props (AVFilterLink *inlink)
 
static int filter_frame (AVFilterLink *inlink, AVFrame *in)
 

Variables

static const AVFilterPad avfilter_vf_pixdesctest_inputs []
 
static const AVFilterPad avfilter_vf_pixdesctest_outputs []
 
AVFilter ff_vf_pixdesctest
 

Detailed Description

pixdesc test filter

Definition in file vf_pixdesctest.c.

Function Documentation

◆ uninit()

static av_cold void uninit ( AVFilterContext ctx)
static

Definition at line 37 of file vf_pixdesctest.c.

◆ config_props()

static int config_props ( AVFilterLink inlink)
static

Definition at line 43 of file vf_pixdesctest.c.

◆ filter_frame()

static int filter_frame ( AVFilterLink inlink,
AVFrame in 
)
static

Definition at line 56 of file vf_pixdesctest.c.

Variable Documentation

◆ avfilter_vf_pixdesctest_inputs

const AVFilterPad avfilter_vf_pixdesctest_inputs[]
static
Initial value:
= {
{
.name = "default",
.filter_frame = filter_frame,
.config_props = config_props,
},
{ NULL }
}
#define NULL
Definition: coverity.c:32
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
static int config_props(AVFilterLink *inlink)

Definition at line 110 of file vf_pixdesctest.c.

◆ avfilter_vf_pixdesctest_outputs

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

Definition at line 120 of file vf_pixdesctest.c.

◆ ff_vf_pixdesctest

AVFilter ff_vf_pixdesctest
Initial value:
= {
.name = "pixdesctest",
.description = NULL_IF_CONFIG_SMALL("Test pixel format definitions."),
.priv_size = sizeof(PixdescTestContext),
}
static av_cold void uninit(AVFilterContext *ctx)
static const AVFilterPad avfilter_vf_pixdesctest_inputs[]
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static const AVFilterPad avfilter_vf_pixdesctest_outputs[]
static const AVFilterPad inputs[]
Definition: af_acontrast.c:193
static const AVFilterPad outputs[]
Definition: af_acontrast.c:203

Definition at line 128 of file vf_pixdesctest.c.