FFmpeg
Macros | Functions
resample_init.c File Reference
#include "libavutil/attributes.h"
#include "libavutil/x86/cpu.h"
#include "libswresample/resample.h"

Go to the source code of this file.

Macros

#define RESAMPLE_FUNCS(type, opt)
 

Functions

 RESAMPLE_FUNCS (int16, mmxext)
 
 RESAMPLE_FUNCS (int16, sse2)
 
 RESAMPLE_FUNCS (int16, xop)
 
 RESAMPLE_FUNCS (float, sse)
 
 RESAMPLE_FUNCS (float, avx)
 
 RESAMPLE_FUNCS (float, fma3)
 
 RESAMPLE_FUNCS (float, fma4)
 
 RESAMPLE_FUNCS (double, sse2)
 
 RESAMPLE_FUNCS (double, avx)
 
 RESAMPLE_FUNCS (double, fma3)
 
av_cold void swri_resample_dsp_x86_init (ResampleContext *c)
 

Detailed Description

audio resampling

Author
Michael Niedermayer micha.nosp@m.elni.nosp@m.@gmx..nosp@m.at

Definition in file resample_init.c.

Macro Definition Documentation

◆ RESAMPLE_FUNCS

#define RESAMPLE_FUNCS (   type,
  opt 
)
Value:
int ff_resample_common_##type##_##opt(ResampleContext *c, void *dst, \
const void *src, int sz, int upd); \
int ff_resample_linear_##type##_##opt(ResampleContext *c, void *dst, \
const void *src, int sz, int upd)

Definition at line 32 of file resample_init.c.

Function Documentation

◆ RESAMPLE_FUNCS() [1/10]

RESAMPLE_FUNCS ( int16  ,
mmxext   
)

◆ RESAMPLE_FUNCS() [2/10]

RESAMPLE_FUNCS ( int16  ,
sse2   
)

◆ RESAMPLE_FUNCS() [3/10]

RESAMPLE_FUNCS ( int16  ,
xop   
)

◆ RESAMPLE_FUNCS() [4/10]

RESAMPLE_FUNCS ( float  ,
sse   
)

◆ RESAMPLE_FUNCS() [5/10]

RESAMPLE_FUNCS ( float  ,
avx   
)

◆ RESAMPLE_FUNCS() [6/10]

RESAMPLE_FUNCS ( float  ,
fma3   
)

◆ RESAMPLE_FUNCS() [7/10]

RESAMPLE_FUNCS ( float  ,
fma4   
)

◆ RESAMPLE_FUNCS() [8/10]

RESAMPLE_FUNCS ( double  ,
sse2   
)

◆ RESAMPLE_FUNCS() [9/10]

RESAMPLE_FUNCS ( double  ,
avx   
)

◆ RESAMPLE_FUNCS() [10/10]

RESAMPLE_FUNCS ( double  ,
fma3   
)

◆ swri_resample_dsp_x86_init()

av_cold void swri_resample_dsp_x86_init ( ResampleContext c)

Definition at line 49 of file resample_init.c.

Referenced by swri_resample_dsp_init().

type
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf type
Definition: writing_filters.txt:86
ResampleContext
Definition: af_resample.c:38
src
#define src
Definition: vp8dsp.c:255
c
Undefined Behavior In the C some operations are like signed integer dereferencing freed accessing outside allocated Undefined Behavior must not occur in a C it is not safe even if the output of undefined operations is unused The unsafety may seem nit picking but Optimizing compilers have in fact optimized code on the assumption that no undefined Behavior occurs Optimizing code based on wrong assumptions can and has in some cases lead to effects beyond the output of computations The signed integer overflow problem in speed critical code Code which is highly optimized and works with signed integers sometimes has the problem that often the output of the computation does not c
Definition: undefined.txt:32
_
#define _