Home
last modified time | relevance | path

Searched refs:tcos (Results 1 – 10 of 10) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmdct_template.c60 s->tcos = av_malloc_array(n/2, sizeof(FFTSample)); in ff_mdct_init()
61 if (!s->tcos) in ff_mdct_init()
66 s->tsin = s->tcos + n4; in ff_mdct_init()
70 s->tsin = s->tcos + 1; in ff_mdct_init()
82 s->tcos[i*tstep] = lrint(-cos(alpha) * 2147483648.0); in ff_mdct_init()
85 s->tcos[i*tstep] = FIX15(-cos(alpha) * scale); in ff_mdct_init()
105 const FFTSample *tcos = s->tcos; in ff_imdct_half_c() local
120 CMUL(z[j].re, z[j].im, *in2, *in1, tcos[k], tsin[k]); in ff_imdct_half_c()
129 CMUL(r0, i1, z[n8-k-1].im, z[n8-k-1].re, tsin[n8-k-1], tcos[n8-k-1]); in ff_imdct_half_c()
130 CMUL(r1, i0, z[n8+k ].im, z[n8+k ].re, tsin[n8+k ], tcos[n8+k ]); in ff_imdct_half_c()
[all …]
Drdft.c43 const FFTSample *tcos = s->tcos; in rdft_calc_c() local
66 odsum.re = od.re*tcos[i] sign0 od.im*tsin[i]; \ in rdft_calc_c()
67 odsum.im = od.im*tcos[i] sign1 od.re*tsin[i]; \ in rdft_calc_c()
106 s->tcos = ff_cos_tabs[nbits]; in ff_rdft_init()
Drdft.h34 const FFTSample *tcos; member
Dfft.h83 FFTSample *tcos; member
/third_party/ffmpeg/libavcodec/ppc/
Dfft_init.c56 const vec_f *tcos = (const vec_f*)(s->tcos+n8); in imdct_half_altivec() local
88 cos0 = tcos[k]; in imdct_half_altivec()
90 cos1 = tcos[-k-1]; in imdct_half_altivec()
115 cos = tcos[o];\ in imdct_half_altivec()
/third_party/ffmpeg/libavcodec/mips/
Dfft_mips.c329 const FFTSample *tcos = s->tcos; in ff_imdct_half_mips() local
351 tcos1 = tcos; in ff_imdct_half_mips()
407 tcos1 = &tcos[n8 - k - 2]; in ff_imdct_half_mips()
409 tcos2 = &tcos[n8 + k]; in ff_imdct_half_mips()
/third_party/ffmpeg/libavcodec/arm/
Drdft_neon.S48 ldr r2, [r4, #12] @ tcos
57 vld1.32 {d4}, [r2,:64]! @ tcos[i]
92 vld1.32 {d4}, [r2,:64]! @ tcos[i]
Dmdct_neon.S31 ldr r4, [r0, #24] @ tcos
76 ldr r4, [r4, #24] @ tcos
164 ldr r4, [r0, #24] @ tcos
255 ldr r4, [r4, #24] @ tcos
/third_party/ffmpeg/libavcodec/x86/
Dfft.asm46 .tcos: pointer 1 label
650 %macro PREROTATER 5 ;-2*k, 2*k, input+n4, tcos+n8, tsin+n8
682 %macro POSROTATESHUF 5 ;j, k, z+n8, tcos+n8, tsin+n8
752 mov rtcos, [r0+FFTContext.tcos]
/third_party/ffmpeg/libavutil/
Dtx_template.c1331 const TXSample *tcos = fact + 8; \
1332 const TXSample *tsin = tcos + len4; \
1360 CMUL(t[2].re, t[2].im, t[1].re, t[1].im, tcos[i], tsin[i]); \