FFmpeg
Macros | Functions
avf_showcqt_init.c File Reference
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/x86/cpu.h"
#include "libavfilter/avf_showcqt.h"

Go to the source code of this file.

Macros

#define DECLARE_CQT_CALC(type)
 
#define permute_coeffs_0   NULL
 
#define SELECT_CQT_CALC(type, TYPE, align, perm)
 

Functions

 DECLARE_CQT_CALC (sse)
 
 DECLARE_CQT_CALC (sse3)
 
 DECLARE_CQT_CALC (avx)
 
 DECLARE_CQT_CALC (fma3)
 
 DECLARE_CQT_CALC (fma4)
 
static void permute_coeffs_01452367 (float *v, int len)
 
av_cold void ff_showcqt_init_x86 (ShowCQTContext *s)
 

Macro Definition Documentation

◆ DECLARE_CQT_CALC

#define DECLARE_CQT_CALC (   type)
Value:
void ff_showcqt_cqt_calc_##type(AVComplexFloat *dst, const AVComplexFloat *src, \
const Coeffs *coeffs, int len, int fft_len)

Definition at line 26 of file avf_showcqt_init.c.

◆ permute_coeffs_0

#define permute_coeffs_0   NULL

Definition at line 36 of file avf_showcqt_init.c.

◆ SELECT_CQT_CALC

#define SELECT_CQT_CALC (   type,
  TYPE,
  align,
  perm 
)
Value:
if (EXTERNAL_##TYPE(cpuflags)) { \
s->cqt_calc = ff_showcqt_cqt_calc_##type; \
s->cqt_align = align; \
s->permute_coeffs = permute_coeffs_##perm; \
}

Function Documentation

◆ DECLARE_CQT_CALC() [1/5]

DECLARE_CQT_CALC ( sse  )

◆ DECLARE_CQT_CALC() [2/5]

DECLARE_CQT_CALC ( sse3  )

◆ DECLARE_CQT_CALC() [3/5]

DECLARE_CQT_CALC ( avx  )

◆ DECLARE_CQT_CALC() [4/5]

DECLARE_CQT_CALC ( fma3  )

◆ DECLARE_CQT_CALC() [5/5]

DECLARE_CQT_CALC ( fma4  )

◆ permute_coeffs_01452367()

static void permute_coeffs_01452367 ( float v,
int  len 
)
static

Definition at line 38 of file avf_showcqt_init.c.

◆ ff_showcqt_init_x86()

av_cold void ff_showcqt_init_x86 ( ShowCQTContext s)

Definition at line 47 of file avf_showcqt_init.c.

Referenced by config_output().

AVComplexFloat
Definition: tx.h:27
perm
perm
Definition: f_perms.c:75
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
TYPE
#define TYPE
Definition: ffv1dec.c:116
dst
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
Definition: dsp.h:83
align
static const uint8_t *BS_FUNC() align(BSCTX *bc)
Skip bits to a byte boundary.
Definition: bitstream_template.h:411
len
int len
Definition: vorbis_enc_data.h:426
Coeffs
Definition: af_atilt.c:28
src
#define src
Definition: vp8dsp.c:248