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 "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, 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 44 of file vf_showinfo.c.

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

Definition at line 37 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 = ff_null_get_video_buffer,
                                    .start_frame      = ff_null_start_frame_keep_ref,
                                    .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 88 of file vf_showinfo.c.


Generated on Fri Oct 26 02:48:01 2012 for FFmpeg by  doxygen 1.5.8