Home
last modified time | relevance | path

Searched refs:FFTSample (Results 1 – 25 of 37) sorted by relevance

12

/third_party/ffmpeg/libavcodec/x86/
Dfft.h30 void ff_imdct_calc_3dnow(FFTContext *s, FFTSample *output, const FFTSample *input);
31 void ff_imdct_half_3dnow(FFTContext *s, FFTSample *output, const FFTSample *input);
32 void ff_imdct_calc_3dnowext(FFTContext *s, FFTSample *output, const FFTSample *input);
33 void ff_imdct_half_3dnowext(FFTContext *s, FFTSample *output, const FFTSample *input);
34 void ff_imdct_calc_sse(FFTContext *s, FFTSample *output, const FFTSample *input);
35 void ff_imdct_half_sse(FFTContext *s, FFTSample *output, const FFTSample *input);
36 void ff_imdct_half_avx(FFTContext *s, FFTSample *output, const FFTSample *input);
Ddct_init.c25 void ff_dct32_float_sse(FFTSample *out, const FFTSample *in);
26 void ff_dct32_float_sse2(FFTSample *out, const FFTSample *in);
27 void ff_dct32_float_avx(FFTSample *out, const FFTSample *in);
/third_party/ffmpeg/libavcodec/
Dfft.h52 typedef int32_t FFTSample; typedef
58 typedef int16_t FFTSample; typedef
63 FFTSample re, im;
96 FFTSample *tcos;
97 FFTSample *tsin;
107 void (*imdct_calc)(struct FFTContext *s, FFTSample *output, const FFTSample *input);
108 void (*imdct_half)(struct FFTContext *s, FFTSample *output, const FFTSample *input);
109 void (*mdct_calc)(struct FFTContext *s, FFTSample *output, const FFTSample *input);
110 void (*mdct_calcw)(struct FFTContext *s, FFTDouble *output, const FFTSample *input);
123 COSTABLE_CONST DECLARE_ALIGNED(32, FFTSample, FFT_NAME(ff_cos_##size))[size/2]
[all …]
Davfft.h35 typedef float FFTSample; typedef
38 FFTSample re, im;
64 void av_imdct_calc(FFTContext *s, FFTSample *output, const FFTSample *input);
65 void av_imdct_half(FFTContext *s, FFTSample *output, const FFTSample *input);
66 void av_mdct_calc(FFTContext *s, FFTSample *output, const FFTSample *input);
86 void av_rdft_calc(RDFTContext *s, FFTSample *data);
111 void av_dct_calc(DCTContext *s, FFTSample *data);
Davfft.c68 void av_imdct_calc(FFTContext *s, FFTSample *output, const FFTSample *input) in av_imdct_calc()
73 void av_imdct_half(FFTContext *s, FFTSample *output, const FFTSample *input) in av_imdct_half()
78 void av_mdct_calc(FFTContext *s, FFTSample *output, const FFTSample *input) in av_mdct_calc()
105 void av_rdft_calc(RDFTContext *s, FFTSample *data) in av_rdft_calc()
132 void av_dct_calc(DCTContext *s, FFTSample *data) in av_dct_calc()
Dmdct_template.c64 s->tcos = av_malloc_array(n/2, sizeof(FFTSample)); in ff_mdct_init()
105 void ff_imdct_half_c(FFTContext *s, FFTSample *output, const FFTSample *input) in ff_imdct_half_c()
109 const FFTSample *tcos = s->tcos; in ff_imdct_half_c()
110 const FFTSample *tsin = s->tsin; in ff_imdct_half_c()
111 const FFTSample *in1, *in2; in ff_imdct_half_c()
132 FFTSample r0, i0, r1, i1; in ff_imdct_half_c()
147 void ff_imdct_calc_c(FFTContext *s, FFTSample *output, const FFTSample *input) in ff_imdct_calc_c()
167 void ff_mdct_calc_c(FFTContext *s, FFTSample *out, const FFTSample *input) in ff_mdct_calc_c()
172 const FFTSample *tcos = s->tcos; in ff_mdct_calc_c()
173 const FFTSample *tsin = s->tsin; in ff_mdct_calc_c()
[all …]
Dfft-internal.h60 void ff_mdct_calcw_c(FFTContext *s, FFTDouble *output, const FFTSample *input);
90 void ff_imdct_calc_c(FFTContext *s, FFTSample *output, const FFTSample *input);
91 void ff_imdct_half_c(FFTContext *s, FFTSample *output, const FFTSample *input);
92 void ff_mdct_calc_c(FFTContext *s, FFTSample *output, const FFTSample *input);
Ddct.h37 FFTSample *csc2;
38 void (*dct_calc)(struct DCTContext *s, FFTSample *data);
39 void (*dct32)(FFTSample *out, const FFTSample *in);
Drdft.h34 const FFTSample *tcos;
35 const FFTSample *tsin;
38 void (*rdft_calc)(struct RDFTContext *s, FFTSample *z);
Ddct.c43 static void dst_calc_I_c(DCTContext *ctx, FFTSample *data) in dst_calc_I_c()
73 static void dct_calc_I_c(DCTContext *ctx, FFTSample *data) in dct_calc_I_c()
103 static void dct_calc_III_c(DCTContext *ctx, FFTSample *data) in dct_calc_III_c()
136 static void dct_calc_II_c(DCTContext *ctx, FFTSample *data) in dct_calc_II_c()
172 static void dct32_func(DCTContext *ctx, FFTSample *data) in dct32_func()
194 s->csc2 = av_malloc_array(n / 2, sizeof(FFTSample)); in ff_dct_init()
Dmdct_fixed.c24 void ff_mdct_calcw_c(FFTContext *s, FFTDouble *out, const FFTSample *input) in ff_mdct_calcw_c()
29 const FFTSample *tcos = s->tcos; in ff_mdct_calcw_c()
30 const FFTSample *tsin = s->tsin; in ff_mdct_calcw_c()
Drdft.c35 static void rdft_calc_c(RDFTContext *s, FFTSample *data) in rdft_calc_c()
42 const FFTSample *tcos = s->tcos; in rdft_calc_c()
43 const FFTSample *tsin = s->tsin; in rdft_calc_c()
Dfft_template.c69 FFTSample *tab = FFT_NAME(ff_cos_tabs)[index]; in init_ff_cos_tabs()
124 COSTABLE_CONST FFTSample * const FFT_NAME(ff_cos_tabs)[] = {
431 const FFTSample *w_re_ptr = ff_w_tab_sr + step; in fft_calc_c()
432 const FFTSample *w_im_ptr = ff_w_tab_sr + MAX_FFT_SIZE/(4*16) - step; in fft_calc_c()
451 FFTSample w_re = w_re_ptr[0]; in fft_calc_c()
452 FFTSample w_im = w_im_ptr[0]; in fft_calc_c()
504 FFTSample r0=a0.re, i0=a0.im, r1=a1.re, i1=a1.im;\
529 static void name(FFTComplex *z, const FFTSample *wre, unsigned int n)\
535 const FFTSample *wim = wre+o1;\
598 FFTSample cos_16_1 = FFT_NAME(ff_cos_16)[1]; in fft16()
[all …]
/third_party/ffmpeg/libavcodec/arm/
Dfft_init_arm.c32 void ff_imdct_half_vfp(FFTContext *s, FFTSample *output, const FFTSample *input);
34 void ff_imdct_calc_neon(FFTContext *s, FFTSample *output, const FFTSample *input);
35 void ff_imdct_half_neon(FFTContext *s, FFTSample *output, const FFTSample *input);
36 void ff_mdct_calc_neon(FFTContext *s, FFTSample *output, const FFTSample *input);
Dfft_fixed_init_arm.c29 void ff_mdct_fixed_calc_neon(FFTContext *s, FFTSample *o, const FFTSample *i);
30 void ff_mdct_fixed_calcw_neon(FFTContext *s, FFTDouble *o, const FFTSample *i);
Drdft_init_arm.c25 void ff_rdft_calc_neon(struct RDFTContext *s, FFTSample *z);
/third_party/ffmpeg/libavcodec/aarch64/
Dfft_init_aarch64.c32 void ff_imdct_calc_neon(FFTContext *s, FFTSample *output, const FFTSample *input);
33 void ff_imdct_half_neon(FFTContext *s, FFTSample *output, const FFTSample *input);
34 void ff_mdct_calc_neon(FFTContext *s, FFTSample *output, const FFTSample *input);
/third_party/ffmpeg/libavcodec/tests/
Dfft.c132 static void imdct_ref(FFTSample *out, FFTSample *in, int nbits) in imdct_ref()
148 static void mdct_ref(FFTSample *output, FFTSample *input, int nbits) in mdct_ref()
166 static void idct_ref(FFTSample *output, FFTSample *input, int nbits) in idct_ref()
181 static void dct_ref(FFTSample *output, FFTSample *input, int nbits) in dct_ref()
198 static FFTSample frandom(AVLFG *prng) in frandom()
203 static int check_diff(FFTSample *tab1, FFTSample *tab2, int n, double scale) in check_diff()
241 static inline void mdct_calc(FFTContext *s, FFTSample *output, const FFTSample *input) in mdct_calc()
250 static inline void imdct_calc(struct FFTContext *s, FFTSample *output, const FFTSample *input) in imdct_calc()
314 static inline void rdft_calc(RDFTContext *r, FFTSample *tab) in rdft_calc()
323 static inline void dct_calc(DCTContext *d, FFTSample *data) in dct_calc()
[all …]
/third_party/ffmpeg/libavfilter/
Daf_atempo.c70 FFTSample *xdat;
145 FFTSample *correlation;
351 FFTSample *xdat = frag->xdat; \
359 *xdat = (FFTSample)tmp; \
362 FFTSample s, max, ti, si; \
369 max = (FFTSample)tmp; \
370 s = FFMIN((FFTSample)scalar_max, \
371 (FFTSample)fabsf(max)); \
377 ti = (FFTSample)tmp; \
378 si = FFMIN((FFTSample)scalar_max, \
[all …]
Dvf_bm3d.c75 FFTSample *bufferh;
76 FFTSample *bufferv;
77 FFTSample *bufferz;
78 FFTSample *buffer;
79 FFTSample *rbufferh;
80 FFTSample *rbufferv;
81 FFTSample *rbufferz;
82 FFTSample *rbuffer;
720 memset(sc->num, 0, width * height * sizeof(FFTSample)); in filter_slice()
721 memset(sc->den, 0, width * height * sizeof(FFTSample)); in filter_slice()
[all …]
Dvf_fftfilt.c60 FFTSample *rdft_hdata[MAX_PLANES];
61 FFTSample *rdft_vdata[MAX_PLANES];
105 static void copy_rev (FFTSample *dest, int w, int w2) in copy_rev()
288 if (!(s->rdft_hdata[i] = av_malloc_array(h, s->rdft_hlen[i] * sizeof(FFTSample)))) in config_props()
300 … if (!(s->rdft_vdata[i] = av_malloc_array(s->rdft_hlen[i], s->rdft_vlen[i] * sizeof(FFTSample)))) in config_props()
/third_party/ffmpeg/libavcodec/mips/
Dfft_mips.c65 FFTSample tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7, tmp8; in ff_fft_calc_mips()
324 static void ff_imdct_half_mips(FFTContext *s, FFTSample *output, const FFTSample *input) in ff_imdct_half_mips()
328 const FFTSample *tcos = s->tcos; in ff_imdct_half_mips()
329 const FFTSample *tsin = s->tsin; in ff_imdct_half_mips()
330 const FFTSample *in1, *in2, *in3, *in4; in ff_imdct_half_mips()
477 static void ff_imdct_calc_mips(FFTContext *s, FFTSample *output, const FFTSample *input) in ff_imdct_calc_mips()
/third_party/ffmpeg/libavutil/
Dtx_priv.h32 typedef float FFTSample; typedef
37 typedef double FFTSample; typedef
42 typedef int32_t FFTSample; typedef
102 DECLARE_ALIGNED(32, FFTSample, TX_NAME(ff_cos_##size))[size/2]
Dtx_template.c42 static FFTSample * const cos_tabs[18] = {
67 FFTSample *tab = cos_tabs[index]; in init_cos_tabs_idx()
230 FFTSample r0=a0.re, i0=a0.im, r1=a1.re, i1=a1.im;\
255 static void name(FFTComplex *z, const FFTSample *wre, unsigned int n)\
257 FFTSample t1, t2, t3, t4, t5, t6;\
261 const FFTSample *wim = wre+o1;\
299 FFTSample t1, t2, t3, t4, t5, t6, t7, t8; in fft4()
313 FFTSample t1, t2, t3, t4, t5, t6; in fft8()
328 FFTSample t1, t2, t3, t4, t5, t6; in fft16()
329 FFTSample cos_16_1 = TX_NAME(ff_cos_16)[1]; in fft16()
[all …]
/third_party/ffmpeg/libavcodec/ppc/
Dfft_init.c46 static void imdct_half_altivec(FFTContext *s, FFTSample *output, const FFTSample *input) in imdct_half_altivec()
130 static void imdct_calc_altivec(FFTContext *s, FFTSample *output, const FFTSample *input) in imdct_calc_altivec()

12