Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dmdct_template.c64 s->tcos = av_malloc_array(n/2, sizeof(FFTSample)); in ff_mdct_init()
65 if (!s->tcos) in ff_mdct_init()
70 s->tsin = s->tcos + n4; in ff_mdct_init()
74 s->tsin = s->tcos + 1; in ff_mdct_init()
86 s->tcos[i*tstep] = lrint(-cos(alpha) * 2147483648.0); in ff_mdct_init()
89 s->tcos[i*tstep] = FIX15(-cos(alpha) * scale); in ff_mdct_init()
109 const FFTSample *tcos = s->tcos; in ff_imdct_half_c() local
124 CMUL(z[j].re, z[j].im, *in2, *in1, tcos[k], tsin[k]); in ff_imdct_half_c()
133 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()
134 CMUL(r1, i0, z[n8+k ].im, z[n8+k ].re, tsin[n8+k ], tcos[n8+k ]); in ff_imdct_half_c()
[all …]
Drdft.c42 const FFTSample *tcos = s->tcos; in rdft_calc_c() local
65 odsum.re = od.re*tcos[i] sign0 od.im*tsin[i]; \ in rdft_calc_c()
66 odsum.im = od.im*tcos[i] sign1 od.re*tsin[i]; \ in rdft_calc_c()
105 s->tcos = ff_cos_tabs[nbits]; in ff_rdft_init()
Drdft.h34 const FFTSample *tcos; member
Dfft.h91 FFTSample *tcos; member
/third_party/ffmpeg/libavcodec/ppc/
Dfft_init.c55 const vec_f *tcos = (const vec_f*)(s->tcos+n8); in imdct_half_altivec() local
87 cos0 = tcos[k]; in imdct_half_altivec()
89 cos1 = tcos[-k-1]; in imdct_half_altivec()
114 cos = tcos[o];\ in imdct_half_altivec()
/third_party/ffmpeg/libavcodec/mips/
Dfft_mips.c328 const FFTSample *tcos = s->tcos; in ff_imdct_half_mips() local
350 tcos1 = tcos; in ff_imdct_half_mips()
406 tcos1 = &tcos[n8 - k - 2]; in ff_imdct_half_mips()
408 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
804 %macro PREROTATER 5 ;-2*k, 2*k, input+n4, tcos+n8, tsin+n8
805 %if mmsize == 8 ; j*2+2-n4, n4-2-j*2, input+n4, tcos+n8, tsin+n8
811 movd m1, [%4+%1*2-4] ; tcos[j]
812 movd m3, [%4+%2*2] ; tcos[n4-j-1]
881 %macro POSROTATESHUF 5 ;j, k, z+n8, tcos+n8, tsin+n8
969 mov rtcos, [r0+FFTContext.tcos]