libavfilter/vf_showinfo.c File Reference

filter for showing textual video frame information More...

#include "libavutil/adler32.h"
#include "libavutil/imgutils.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"

Go to the source code of this file.

Data Structures

struct  ShowInfoContext

Functions

static av_cold int init (AVFilterContext *ctx, const char *args, void *opaque)
static void end_frame (AVFilterLink *inlink)

Variables

AVFilter avfilter_vf_showinfo


Detailed Description

filter for showing textual video frame information

Definition in file vf_showinfo.c.


Function Documentation

static void end_frame ( AVFilterLink inlink  )  [static]

Definition at line 41 of file vf_showinfo.c.

static av_cold int init ( AVFilterContext ctx,
const char *  args,
void *  opaque 
) [static]

Definition at line 34 of file vf_showinfo.c.


Variable Documentation

Initial value:

 {
    .name        = "showinfo",
    .description = NULL_IF_CONFIG_SMALL("Show textual information for each video frame."),

    .priv_size = sizeof(ShowInfoContext),
    .init      = init,

    .inputs    = (const AVFilterPad[]) {{ .name       = "default",
                                    .type             = AVMEDIA_TYPE_VIDEO,
                                    .get_video_buffer = avfilter_null_get_video_buffer,
                                    .start_frame      = avfilter_null_start_frame,
                                    .end_frame        = end_frame,
                                    .min_perms        = AV_PERM_READ, },
                                  { .name = NULL}},

    .outputs   = (const AVFilterPad[]) {{ .name       = "default",
                                    .type             = AVMEDIA_TYPE_VIDEO },
                                  { .name = NULL}},
}

Definition at line 80 of file vf_showinfo.c.


Generated on Fri Oct 26 02:46:12 2012 for FFmpeg by  doxygen 1.5.8