FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
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"

Go to the source code of this file.

Data Structures

struct  ShowInfoContext
 

Functions

static av_cold int init (AVFilterContext *ctx, const char *args)
 
static int filter_frame (AVFilterLink *inlink, AVFilterBufferRef *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 av_cold int init ( AVFilterContext ctx,
const char *  args 
)
static

Definition at line 38 of file vf_showinfo.c.

static int filter_frame ( AVFilterLink inlink,
AVFilterBufferRef frame 
)
static

Definition at line 45 of file vf_showinfo.c.

Variable Documentation

const AVFilterPad avfilter_vf_showinfo_inputs[]
static
Initial value:
= {
{
.name = "default",
.get_video_buffer = ff_null_get_video_buffer,
.filter_frame = filter_frame,
.min_perms = AV_PERM_READ,
},
{ NULL }
}

Definition at line 91 of file vf_showinfo.c.

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

Definition at line 102 of file vf_showinfo.c.

AVFilter avfilter_vf_showinfo
Initial value:
= {
.name = "showinfo",
.description = NULL_IF_CONFIG_SMALL("Show textual information for each video frame."),
.priv_size = sizeof(ShowInfoContext),
.init = init,
}

Definition at line 110 of file vf_showinfo.c.