Home
last modified time | relevance | path

Searched refs:FFTSample (Results 1 – 25 of 35) 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);
Ddct32.asm194 ; void ff_dct32_float_avx(FFTSample *out, const FFTSample *in)
390 ; void ff_dct32_float_sse(FFTSample *out, const FFTSample *in)
/third_party/ffmpeg/libavcodec/
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);
Dfft.h53 typedef int32_t FFTSample; typedef
58 FFTSample re, im;
91 FFTSample *tcos;
92 FFTSample *tsin;
102 void (*imdct_calc)(struct FFTContext *s, FFTSample *output, const FFTSample *input);
103 void (*imdct_half)(struct FFTContext *s, FFTSample *output, const FFTSample *input);
104 void (*mdct_calc)(struct FFTContext *s, FFTSample *output, const FFTSample *input);
125 COSTABLE_CONST DECLARE_ALIGNED(32, FFTSample, FFT_NAME(ff_cos_##size))[size/2]
141 extern COSTABLE_CONST FFTSample* const FFT_NAME(ff_cos_tabs)[18];
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 …]
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()
Dfft-internal.h63 void ff_imdct_calc_c(FFTContext *s, FFTSample *output, const FFTSample *input);
64 void ff_imdct_half_c(FFTContext *s, FFTSample *output, const FFTSample *input);
65 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()
Dfft_template.c62 FFTSample *tab = FFT_NAME(ff_cos_tabs)[index]; in init_ff_cos_tabs()
121 COSTABLE_CONST FFTSample * const FFT_NAME(ff_cos_tabs)[] = {
415 const FFTSample *w_re_ptr = ff_w_tab_sr + step; in fft_calc_c()
416 const FFTSample *w_im_ptr = ff_w_tab_sr + MAX_FFT_SIZE/(4*16) - step; in fft_calc_c()
435 FFTSample w_re = w_re_ptr[0]; in fft_calc_c()
436 FFTSample w_im = w_im_ptr[0]; in fft_calc_c()
488 FFTSample r0=a0.re, i0=a0.im, r1=a1.re, i1=a1.im;\
513 static void name(FFTComplex *z, const FFTSample *wre, unsigned int n)\
519 const FFTSample *wim = wre+o1;\
582 FFTSample cos_16_1 = FFT_NAME(ff_cos_16)[1]; in fft16()
[all …]
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()
/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);
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.h33 typedef float FFTSample; typedef
38 typedef double FFTSample; typedef
43 typedef int32_t FFTSample; typedef
105 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()
Dfft_vsx.h48 inline static void pass_vsx_interleave(FFTComplex *z, const FFTSample *wre, unsigned int n) in pass_vsx_interleave()
54 FFTSample* out = (FFTSample*)z; in pass_vsx_interleave()
55 const FFTSample *wim = wre+o1; in pass_vsx_interleave()
248 FFTSample r1, i1; in fft2_vsx_interleave()
708 inline static void pass_vsx(FFTComplex * z, const FFTSample * wre, unsigned int n) in pass_vsx()
714 FFTSample* out = (FFTSample*)z; in pass_vsx()
715 const FFTSample *wim = wre+o1; in pass_vsx()

12