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 []
 
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 }
}

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 }
}

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),
}

Definition at line 128 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
outputs
static const AVFilterPad outputs[]
Definition: af_acontrast.c:203
NULL
#define NULL
Definition: coverity.c:32
inputs
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several inputs
Definition: filter_design.txt:243
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:188
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:110
uninit
static av_cold void uninit(AVFilterContext *ctx)
Definition: vf_pixdesctest.c:37
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201
avfilter_vf_pixdesctest_outputs
static const AVFilterPad avfilter_vf_pixdesctest_outputs[]
Definition: vf_pixdesctest.c:120