FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
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/attributes.h"
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/downmix_info.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "libavutil/replaygain.h"
#include "libavutil/timestamp.h"
#include "libavutil/samplefmt.h"
#include "audio.h"
#include "avfilter.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  AShowInfoContext
 

Functions

static av_cold void uninit (AVFilterContext *ctx)
 
static void dump_matrixenc (AVFilterContext *ctx, AVFrameSideData *sd)
 
static void dump_downmix (AVFilterContext *ctx, AVFrameSideData *sd)
 
static void print_gain (AVFilterContext *ctx, const char *str, int32_t gain)
 
static void print_peak (AVFilterContext *ctx, const char *str, uint32_t peak)
 
static void dump_replaygain (AVFilterContext *ctx, AVFrameSideData *sd)
 
static void dump_unknown (AVFilterContext *ctx, AVFrameSideData *sd)
 
static int filter_frame (AVFilterLink *inlink, AVFrame *buf)
 

Variables

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

Detailed Description

filter for showing textual audio frame information

Definition in file af_ashowinfo.c.

Function Documentation

static av_cold void uninit ( AVFilterContext ctx)
static

Definition at line 51 of file af_ashowinfo.c.

static void dump_matrixenc ( AVFilterContext ctx,
AVFrameSideData sd 
)
static

Definition at line 57 of file af_ashowinfo.c.

Referenced by filter_frame().

static void dump_downmix ( AVFilterContext ctx,
AVFrameSideData sd 
)
static

Definition at line 81 of file af_ashowinfo.c.

Referenced by filter_frame().

static void print_gain ( AVFilterContext ctx,
const char *  str,
int32_t  gain 
)
static

Definition at line 108 of file af_ashowinfo.c.

Referenced by dump_replaygain().

static void print_peak ( AVFilterContext ctx,
const char *  str,
uint32_t  peak 
)
static

Definition at line 118 of file af_ashowinfo.c.

Referenced by dump_replaygain().

static void dump_replaygain ( AVFilterContext ctx,
AVFrameSideData sd 
)
static

Definition at line 128 of file af_ashowinfo.c.

Referenced by filter_frame().

static void dump_unknown ( AVFilterContext ctx,
AVFrameSideData sd 
)
static

Definition at line 145 of file af_ashowinfo.c.

Referenced by filter_frame().

static int filter_frame ( AVFilterLink inlink,
AVFrame buf 
)
static

Definition at line 150 of file af_ashowinfo.c.

Variable Documentation

const AVFilterPad inputs[]
static
Initial value:
= {
{
.name = "default",
.filter_frame = filter_frame,
},
{ NULL }
}
Examples:
filtering_audio.c, filtering_video.c, and transcoding.c.

Definition at line 212 of file af_ashowinfo.c.

Referenced by avfilter_graph_parse(), configure_filtergraph(), init(), init_filter(), init_filters(), join_config_output(), and push_frame().

const AVFilterPad outputs[]
static
Initial value:
= {
{
.name = "default",
},
{ NULL }
}
Examples:
filtering_audio.c, filtering_video.c, and transcoding.c.

Definition at line 221 of file af_ashowinfo.c.

Referenced by avfilter_graph_parse(), configure_filtergraph(), init(), init_filter(), and init_filters().

AVFilter ff_af_ashowinfo
Initial value:
= {
.name = "ashowinfo",
.description = NULL_IF_CONFIG_SMALL("Show textual information for each audio frame."),
.priv_size = sizeof(AShowInfoContext),
}

Definition at line 229 of file af_ashowinfo.c.