Home
last modified time | relevance | path

Searched refs:exptab (Results 1 – 8 of 8) sorted by relevance

/third_party/ffmpeg/libavcodec/x86/
Dmdct15_init.c31 void ff_fft15_avx(FFTComplex *out, FFTComplex *in, FFTComplex *exptab, ptrdiff_t stride);
39 s->exptab[60].re = s->exptab[60].im = s->exptab[19].re; in perm_twiddles()
40 s->exptab[61].re = s->exptab[61].im = s->exptab[19].im; in perm_twiddles()
41 s->exptab[62].re = s->exptab[62].im = s->exptab[20].re; in perm_twiddles()
42 s->exptab[63].re = s->exptab[63].im = s->exptab[20].im; in perm_twiddles()
46 tmp[6*k + 0] = s->exptab[k + 0]; in perm_twiddles()
47 tmp[6*k + 2] = s->exptab[k + 5]; in perm_twiddles()
48 tmp[6*k + 4] = s->exptab[k + 10]; in perm_twiddles()
50 tmp[6*k + 1] = s->exptab[2 * (k + 0)]; in perm_twiddles()
51 tmp[6*k + 3] = s->exptab[2 * (k + 5)]; in perm_twiddles()
[all …]
Dmdct15.asm38 ;void ff_fft15_avx(FFTComplex *out, FFTComplex *in, FFTComplex *exptab, ptrdiff_t stride);
114 cglobal fft15, 4, 5, 14, out, in, exptab, stride, stride5
/third_party/ffmpeg/libavcodec/
Dmdct15.c92 static inline void fft5(FFTComplex *out, FFTComplex *in, FFTComplex exptab[2]) in fft5()
108 t[4].re = exptab[0].re * t[2].re - exptab[1].re * t[0].re; in fft5()
109 t[4].im = exptab[0].re * t[2].im - exptab[1].re * t[0].im; in fft5()
110 t[0].re = exptab[0].re * t[0].re - exptab[1].re * t[2].re; in fft5()
111 t[0].im = exptab[0].re * t[0].im - exptab[1].re * t[2].im; in fft5()
112 t[5].re = exptab[0].im * t[3].re - exptab[1].im * t[1].re; in fft5()
113 t[5].im = exptab[0].im * t[3].im - exptab[1].im * t[1].im; in fft5()
114 t[1].re = exptab[0].im * t[1].re + exptab[1].im * t[3].re; in fft5()
115 t[1].im = exptab[0].im * t[1].im + exptab[1].im * t[3].im; in fft5()
137 static void fft15_c(FFTComplex *out, FFTComplex *in, FFTComplex *exptab, ptrdiff_t stride) in fft15_c() argument
[all …]
Dmdct15.h42 DECLARE_ALIGNED(32, FFTComplex, exptab)[64];
45 void (*fft15)(FFTComplex *out, FFTComplex *in, FFTComplex *exptab, ptrdiff_t stride);
/third_party/ffmpeg/libavcodec/tests/
Dfft.c83 } *exptab; variable
89 exptab = av_malloc_array((n / 2), sizeof(*exptab)); in fft_ref_init()
90 if (!exptab) in fft_ref_init()
98 exptab[i].re = c1; in fft_ref_init()
99 exptab[i].im = s1; in fft_ref_init()
117 c = -exptab[k - n2].re; in fft_ref()
118 s = -exptab[k - n2].im; in fft_ref()
120 c = exptab[k].re; in fft_ref()
121 s = exptab[k].im; in fft_ref()
660 av_free(exptab); in main()
/third_party/ffmpeg/libavutil/
Dtx_template.c449 FFTComplex *z = _dst, *exp = s->exptab; \
491 FFTComplex *exp = s->exptab, tmp, fft##N##in[N]; \
537 FFTComplex *z = _dst, *exp = s->exptab; in monolithic_imdct()
567 FFTComplex *exp = s->exptab, tmp, *z = _dst; in monolithic_mdct()
655 if (!(s->exptab = av_malloc_array(len4, sizeof(*s->exptab)))) in gen_mdct_exptab()
661 s->exptab[i].re = RESCALE(cos(alpha) * scale); in gen_mdct_exptab()
662 s->exptab[i].im = RESCALE(sin(alpha) * scale); in gen_mdct_exptab()
Dtx_priv.h116 FFTComplex *exptab; /* MDCT exptab */ member
Dtx.c152 av_free((*ctx)->exptab); in av_tx_uninit()