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"
Include dependency graph for vf_pixdesctest.c:

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 avfilter_vf_pixdesctest
 

Detailed Description

pixdesc test filter

Definition in file vf_pixdesctest.c.

Function Documentation

static int config_props ( AVFilterLink inlink)
static

Definition at line 43 of file vf_pixdesctest.c.

static int filter_frame ( AVFilterLink inlink,
AVFrame in 
)
static

Definition at line 55 of file vf_pixdesctest.c.

static av_cold void uninit ( AVFilterContext ctx)
static

Definition at line 37 of file vf_pixdesctest.c.

Variable Documentation

AVFilter avfilter_vf_pixdesctest
Initial value:
= {
.name = "pixdesctest",
.description = NULL_IF_CONFIG_SMALL("Test pixel format definitions."),
.priv_size = sizeof(PixdescTestContext),
}
static const AVFilterPad outputs[]
Definition: af_ashowinfo.c:117
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. ...
static const AVFilterPad avfilter_vf_pixdesctest_outputs[]
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 at line 126 of file vf_pixdesctest.c.

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

Definition at line 108 of file vf_pixdesctest.c.

const AVFilterPad avfilter_vf_pixdesctest_outputs[]
static
Initial value:
= {
{
.name = "default",
},
{ NULL }
}
NULL
Definition: eval.c:55

Definition at line 118 of file vf_pixdesctest.c.