FFmpeg
Classes | Macros | Typedefs | Functions | Variables
af_compand.c File Reference

audio compand filter More...

#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/ffmath.h"
#include "libavutil/opt.h"
#include "libavutil/samplefmt.h"
#include "audio.h"
#include "avfilter.h"
#include "internal.h"

Classes

struct  ChanParam
 
struct  CompandSegment
 
struct  CompandContext
 

Macros

#define OFFSET(x)   offsetof(CompandContext, x)
 
#define A   AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
 
#define MOD(a, b)   (((a) >= (b)) ? (a) - (b) : (a))
 
#define S(x)   s->segments[2 * ((x) + 1)]
 
#define S(x)   s->segments[2 * (x)]
 
#define L(x)   s->segments[i - (x)]
 

Typedefs

typedef struct ChanParam ChanParam
 
typedef struct CompandSegment CompandSegment
 
typedef struct CompandContext CompandContext
 

Functions

 AVFILTER_DEFINE_CLASS (compand)
 

Variables

AVFilter ff_af_compand
 

Detailed Description

audio compand filter

Variable Documentation

§ ff_af_compand

AVFilter ff_af_compand
Initial value:
= {
.name = "compand",
.description = NULL_IF_CONFIG_SMALL(
"Compress or expand audio dynamic range."),
.query_formats = query_formats,
.priv_size = sizeof(CompandContext),
.priv_class = &compand_class,
.init = init,
.uninit = uninit,
.inputs = compand_inputs,
.outputs = compand_outputs,
}
Definition: af_compand.c:50
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186