FFmpeg
Macros | Functions
synth_filter_init.c File Reference
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/x86/cpu.h"
#include "libavcodec/synth_filter.h"

Go to the source code of this file.

Macros

#define SYNTH_FILTER_FUNC(opt)
 

Functions

av_cold void ff_synth_filter_init_x86 (SynthFilterContext *s)
 

Macro Definition Documentation

◆ SYNTH_FILTER_FUNC

#define SYNTH_FILTER_FUNC (   opt)
Value:
void ff_synth_filter_inner_##opt(float *synth_buf_ptr, float synth_buf2[32], \
const float window[512], \
float out[32], intptr_t offset, float scale); \
static void synth_filter_##opt(FFTContext *imdct, \
float *synth_buf_ptr, int *synth_buf_offset, \
float synth_buf2[32], const float window[512], \
float out[32], const float in[32], float scale) \
{ \
float *synth_buf= synth_buf_ptr + *synth_buf_offset; \
\
imdct->imdct_half(imdct, synth_buf, in); \
\
ff_synth_filter_inner_##opt(synth_buf, synth_buf2, window, \
out, *synth_buf_offset, scale); \
\
*synth_buf_offset = (*synth_buf_offset - 32) & 511; \
} \

Definition at line 26 of file synth_filter_init.c.

Function Documentation

◆ ff_synth_filter_init_x86()

av_cold void ff_synth_filter_init_x86 ( SynthFilterContext s)

Definition at line 54 of file synth_filter_init.c.

Referenced by ff_synth_filter_init().

out
FILE * out
Definition: movenc.c:54
window
static SDL_Window * window
Definition: ffplay.c:364
scale
static av_always_inline float scale(float x, float s)
Definition: vf_v360.c:1388
offset
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 offset
Definition: writing_filters.txt:86
FFTContext
Definition: fft.h:75