libavfilter/af_ashowinfo.c File Reference

filter for showing textual audio frame information More...

#include "libavutil/adler32.h"
#include "libavutil/audioconvert.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 filter_samples (AVFilterLink *inlink, AVFilterBufferRef *samplesref)

Variables

AVFilter avfilter_af_ashowinfo


Detailed Description

filter for showing textual audio frame information

Definition in file af_ashowinfo.c.


Function Documentation

static void filter_samples ( AVFilterLink inlink,
AVFilterBufferRef samplesref 
) [static]

Definition at line 41 of file af_ashowinfo.c.

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

Definition at line 34 of file af_ashowinfo.c.


Variable Documentation

Initial value:

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

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

    .inputs    = (const AVFilterPad[]) {{ .name       = "default",
                                    .type             = AVMEDIA_TYPE_AUDIO,
                                    .get_audio_buffer = avfilter_null_get_audio_buffer,
                                    .filter_samples   = filter_samples,
                                    .min_perms        = AV_PERM_READ, },
                                  { .name = NULL}},

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

Definition at line 86 of file af_ashowinfo.c.


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