vf_showinfo.c File Reference

filter for showing textual video frame information More...

#include "libavutil/adler32.h"
#include "libavutil/imgutils.h"
#include "libavutil/internal.h"
#include "libavutil/pixdesc.h"
#include "libavutil/timestamp.h"
#include "avfilter.h"
#include "internal.h"
#include "video.h"
Include dependency graph for vf_showinfo.c:

Go to the source code of this file.

Data Structures

struct  ShowInfoContext
 

Functions

static int filter_frame (AVFilterLink *inlink, AVFrame *frame)
 

Variables

static const AVFilterPad avfilter_vf_showinfo_inputs []
 
static const AVFilterPad avfilter_vf_showinfo_outputs []
 
AVFilter avfilter_vf_showinfo
 

Detailed Description

filter for showing textual video frame information

Definition in file vf_showinfo.c.

Function Documentation

static int filter_frame ( AVFilterLink inlink,
AVFrame frame 
)
static

Definition at line 38 of file vf_showinfo.c.

Variable Documentation

AVFilter avfilter_vf_showinfo
Initial value:
= {
.name = "showinfo",
.description = NULL_IF_CONFIG_SMALL("Show textual information for each video frame."),
.priv_size = sizeof(ShowInfoContext),
}
static const AVFilterPad outputs[]
Definition: af_ashowinfo.c:117
static const AVFilterPad avfilter_vf_showinfo_inputs[]
Definition: vf_showinfo.c:84
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static const AVFilterPad avfilter_vf_showinfo_outputs[]
Definition: vf_showinfo.c:94
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 102 of file vf_showinfo.c.

const AVFilterPad avfilter_vf_showinfo_inputs[]
static
Initial value:
= {
{
.name = "default",
.get_video_buffer = ff_null_get_video_buffer,
.filter_frame = filter_frame,
},
{ NULL }
}
AVFrame * ff_null_get_video_buffer(AVFilterLink *link, int w, int h)
Definition: video.c:35
static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
Definition: vf_showinfo.c:38
NULL
Definition: eval.c:55

Definition at line 84 of file vf_showinfo.c.

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

Definition at line 94 of file vf_showinfo.c.