FFmpeg
Data Structures | Functions | Variables
vf_pixdesctest.c File Reference
#include "libavutil/common.h"
#include "libavutil/mem.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 []
 
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 38 of file vf_pixdesctest.c.

◆ config_props()

static int config_props ( AVFilterLink inlink)
static

Definition at line 44 of file vf_pixdesctest.c.

◆ filter_frame()

static int filter_frame ( AVFilterLink inlink,
AVFrame in 
)
static

Definition at line 57 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 110 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 119 of file vf_pixdesctest.c.

PixdescTestContext
Definition: vf_pixdesctest.c:33
filter_frame
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
Definition: vf_pixdesctest.c:57
ff_video_default_filterpad
const AVFilterPad ff_video_default_filterpad[1]
An AVFilterPad array whose only entry has name "default" and is of type AVMEDIA_TYPE_VIDEO.
Definition: video.c:37
FILTER_INPUTS
#define FILTER_INPUTS(array)
Definition: internal.h:182
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:94
config_props
static int config_props(AVFilterLink *inlink)
Definition: vf_pixdesctest.c:44
avfilter_vf_pixdesctest_inputs
static const AVFilterPad avfilter_vf_pixdesctest_inputs[]
Definition: vf_pixdesctest.c:110
uninit
static av_cold void uninit(AVFilterContext *ctx)
Definition: vf_pixdesctest.c:38
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201
FILTER_OUTPUTS
#define FILTER_OUTPUTS(array)
Definition: internal.h:183