af_ashowinfo.c File Reference

filter for showing textual audio frame information More...

#include <inttypes.h>
#include <stddef.h>
#include "libavutil/adler32.h"
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/mem.h"
#include "libavutil/timestamp.h"
#include "libavutil/samplefmt.h"
#include "audio.h"
#include "avfilter.h"
#include "internal.h"
Include dependency graph for af_ashowinfo.c:

Go to the source code of this file.

Data Structures

struct  AShowInfoContext
 

Typedefs

typedef struct AShowInfoContext AShowInfoContext
 

Functions

static void uninit (AVFilterContext *ctx)
 
static int filter_frame (AVFilterLink *inlink, AVFrame *buf)
 

Variables

static const AVFilterPad inputs []
 
static const AVFilterPad outputs []
 
AVFilter avfilter_af_ashowinfo
 

Detailed Description

filter for showing textual audio frame information

Definition in file af_ashowinfo.c.

Typedef Documentation

Function Documentation

static int filter_frame ( AVFilterLink inlink,
AVFrame buf 
)
static

Definition at line 58 of file af_ashowinfo.c.

static void uninit ( AVFilterContext ctx)
static

Definition at line 52 of file af_ashowinfo.c.

Variable Documentation

AVFilter avfilter_af_ashowinfo
Initial value:
= {
.name = "ashowinfo",
.description = NULL_IF_CONFIG_SMALL("Show textual information for each audio frame."),
.priv_size = sizeof(AShowInfoContext),
}
static const AVFilterPad outputs[]
Definition: af_ashowinfo.c:117
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
struct AShowInfoContext AShowInfoContext
static const AVFilterPad inputs[]
Definition: af_ashowinfo.c:107
static void uninit(AVFilterContext *ctx)
Definition: af_ashowinfo.c:52

Definition at line 125 of file af_ashowinfo.c.

const AVFilterPad inputs[]
static
Initial value:
= {
{
.name = "default",
.get_audio_buffer = ff_null_get_audio_buffer,
.filter_frame = filter_frame,
},
{ NULL },
}
static int filter_frame(AVFilterLink *inlink, AVFrame *buf)
Definition: af_ashowinfo.c:58
AVFrame * ff_null_get_audio_buffer(AVFilterLink *link, int nb_samples)
get_audio_buffer() handler for filters which simply pass audio along
Definition: audio.c:36
NULL
Definition: eval.c:55

Definition at line 107 of file af_ashowinfo.c.

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

Definition at line 117 of file af_ashowinfo.c.

Referenced by avfilter_graph_parse(), compute_dar(), configure_filtergraph(), exit_program(), filter_frame(), init_filters(), movie_request_frame(), request_frame(), and uninit().