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(AVTXContext *imdct, \
float *synth_buf_ptr, int *synth_buf_offset, \
float synth_buf2[32], const float window[512], \
float out[32], float in[32], float scale, \
av_tx_fn imdct_fn) \
{ \
float *synth_buf= synth_buf_ptr + *synth_buf_offset; \
\
imdct_fn(imdct, synth_buf, in, sizeof(float)); \
\
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 52 of file synth_filter_init.c.

Referenced by ff_synth_filter_init().

out
FILE * out
Definition: movenc.c:54
AVTXContext
Definition: tx_priv.h:235
window
static SDL_Window * window
Definition: ffplay.c:364
av_tx_fn
void(* av_tx_fn)(AVTXContext *s, void *out, void *in, ptrdiff_t stride)
Function pointer to a function to perform the transform.
Definition: tx.h:151
scale
static void scale(int *out, const int *in, const int w, const int h, const int shift)
Definition: vvc_intra.c:291
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