FFmpeg
Loading...
Searching...
No Matches
af_afade.c File Reference

fade audio filter More...

#include "config_components.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/opt.h"
#include "audio.h"
#include "avfilter.h"
#include "filters.h"

Go to the source code of this file.

Data Structures

struct  AudioFadeContext
 

Macros

#define OFFSET(x)
 
#define FLAGS   AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
 
#define TFLAGS   AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM
 
#define CUBE(a)
 
#define FADE_PLANAR(name, type)
 
#define FADE(name, type)
 
#define SCALE_PLANAR(name, type)
 
#define SCALE(name, type)
 

Enumerations

enum  CurveType {
  NONE = -1 , TRI , QSIN , ESIN ,
  HSIN , LOG , IPAR , QUA ,
  CUB , SQU , CBR , PAR ,
  EXP , IQSIN , IHSIN , DESE ,
  DESI , LOSI , SINC , ISINC ,
  QUAT , QUATR , QSIN2 , HSIN2 ,
  NB_CURVES
}
 

Functions

static double fade_gain (int curve, int64_t index, int64_t range, double silence, double unity)
 
static int config_output (AVFilterLink *outlink)
 

Variables

static enum AVSampleFormat sample_fmts []
 

Detailed Description

fade audio filter

Definition in file af_afade.c.

Macro Definition Documentation

◆ OFFSET

#define OFFSET ( x)
Valu