FFmpeg
Data Structures | Functions | Variables
vf_pixdesctest.c File Reference
#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 []
 
const 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,
},
}

Definition at line 109 of file vf_pixdesctest.c.

◆ avfilter_vf_pixdesctest_outputs

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

Definition at line 118 of file vf_pixdesctest.c.

◆ ff_vf_pixdesctest

const AVFilter ff_vf_pixdesctest
Initial value:
= {
.name = "pixdesctest",
.description = NULL_IF_CONFIG_SMALL("Test pixel format definitions."),
.priv_size = sizeof(PixdescTestContext),
}

Definition at line 125 of file vf_pixdesctest.c.

PixdescTestContext
Definition: vf_pixdesctest.c:32
filter_frame
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
Definition: vf_pixdesctest.c:56
FILTER_INPUTS
#define FILTER_INPUTS(array)
Definition: internal.h:190
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:117
config_props
static int config_props(AVFilterLink *inlink)
Definition: vf_pixdesctest.c:43
avfilter_vf_pixdesctest_inputs
static const AVFilterPad avfilter_vf_pixdesctest_inputs[]
Definition: vf_pixdesctest.c:109
uninit
static av_cold void uninit(AVFilterContext *ctx)
Definition: vf_pixdesctest.c:37
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201
FILTER_OUTPUTS
#define FILTER_OUTPUTS(array)
Definition: internal.h:191
avfilter_vf_pixdesctest_outputs
static const AVFilterPad avfilter_vf_pixdesctest_outputs[]
Definition: vf_pixdesctest.c:118