Home
last modified time | relevance | path

Searched refs:mdct (Results 1 – 25 of 29) sorted by relevance

12

/third_party/ffmpeg/tests/fate/
Dfft.mak4 FATE_MDCT-$(CONFIG_MDCT) += fate-mdct-$(1) fate-imdct-$(1)
9 fate-mdct-$(N): ARGS = -n$(1) -m
21 fate-mdct-float: $(FATE_MDCT-yes)
33 fate-mdct-fixed32-$(1) fate-imdct-fixed32-$(1)
37 #fate-mdct-fixed32-$(1): ARGS = -n$(1) -m
51 FATE_AV_MDCT-$(CONFIG_MDCT) += fate-av-mdct-$(1) fate-av-imdct-$(1)
56 fate-av-mdct-$(N): ARGS = -n$(1) -m
68 fate-av-mdct-float: $(FATE_AV_MDCT-yes)
79 fate-mdct: fate-mdct-float
/third_party/ffmpeg/libavcodec/mips/
Daacsbr_mips.h62 static void sbr_qmf_analysis_mips(AVFloatDSPContext *fdsp, FFTContext *mdct, in sbr_qmf_analysis_mips() argument
146 mdct->imdct_half(mdct, z, z+64); in sbr_qmf_analysis_mips()
154 static void sbr_qmf_synthesis_mips(FFTContext *mdct, in sbr_qmf_synthesis_mips() argument
183 mdct->imdct_half(mdct, mdct_buf[0], X[0][i]); in sbr_qmf_synthesis_mips()
187 mdct->imdct_half(mdct, mdct_buf[0], X[0][i]); in sbr_qmf_synthesis_mips()
188 mdct->imdct_half(mdct, mdct_buf[1], X[1][i]); in sbr_qmf_synthesis_mips()
Daacdec_mips.c131 ac->mdct.imdct_half(&ac->mdct, buf, in); in imdct_and_windowing_mips()
/third_party/ffmpeg/libavcodec/
Dopusenc.c43 MDCT15Context *mdct[CELT_BLOCK_NB]; member
207 s->mdct[0]->mdct(s->mdct[0], b->coeffs + t, win, f->blocks); in celt_frame_mdct()
229 s->mdct[f->size]->mdct(s->mdct[f->size], b->coeffs, win, 1); in celt_frame_mdct()
615 ff_mdct15_uninit(&s->mdct[i]); in opus_encode_end()
672 if ((ret = ff_mdct15_init(&s->mdct[i], 0, i + 3, 68 << (CELT_BLOCK_NB - 1 - i)))) in opus_encode_init()
Dac3enc_fixed.c80 ff_mdct_end(&s->mdct); in ac3_fixed_mdct_end()
107 return ff_mdct_init(&s->mdct, 9, 0, -1.0); in ac3_fixed_mdct_init()
Dac3enc_float.c89 ff_mdct_end(&s->mdct); in ac3_float_mdct_end()
110 return ff_mdct_init(&s->mdct, 9, 0, -2.0 / AC3_WINDOW_SIZE); in ac3_float_mdct_init()
Daacsbr_template.c94 if(sbr->mdct.mdct_bits) in AAC_RENAME()
104 AAC_RENAME_32(ff_mdct_init)(&sbr->mdct, 7, 1, 1.0 / (64 * 32768.0)); in AAC_RENAME()
113 AAC_RENAME_32(ff_mdct_end)(&sbr->mdct); in AAC_RENAME()
1165 static void sbr_qmf_analysis(AVFixedDSPContext *dsp, FFTContext *mdct, argument
1167 static void sbr_qmf_analysis(AVFloatDSPContext *dsp, FFTContext *mdct,
1198 mdct->imdct_half(mdct, z, z+64);
1210 static void sbr_qmf_synthesis(FFTContext *mdct, argument
1238 mdct->imdct_half(mdct, mdct_buf[0], X[0][i]);
1242 mdct->imdct_half(mdct, mdct_buf[0], X[0][i]);
1243 mdct->imdct_half(mdct, mdct_buf[1], X[1][i]);
[all …]
Dopusenc_psy.c102 s->mdct[s->bsize_analysis]->mdct(s->mdct[s->bsize_analysis], st->coeffs[ch], s->scratch, 1); in step_collect_psy_metrics()
567 if ((ret = ff_mdct15_init(&s->mdct[i], 0, i + 3, 68 << (CELT_BLOCK_NB - 1 - i)))) in ff_opus_psy_init()
578 ff_mdct15_uninit(&s->mdct[i]); in ff_opus_psy_init()
601 ff_mdct15_uninit(&s->mdct[i]); in ff_opus_psy_end()
Don2avc.c53 FFTContext mdct, mdct_half, mdct_small; member
704 c->mdct.imdct_half(&c->mdct, buf, in); in on2avc_reconstruct_channel_ext()
711 c->mdct.imdct_half(&c->mdct_half, buf + 512, in + 512); in on2avc_reconstruct_channel_ext()
717 c->mdct.imdct_half(&c->mdct_half, buf, in); in on2avc_reconstruct_channel_ext()
750 c->mdct.imdct_half(&c->mdct, buf, in); in on2avc_reconstruct_channel()
954 ff_mdct_init(&c->mdct, 11, 1, 1.0 / (32768.0 * 1024.0)); in on2avc_decode_init()
991 ff_mdct_end(&c->mdct); in on2avc_decode_close()
Dmdct15.h51 void (*mdct)(struct MDCT15Context *s, float *dst, const float *src, ptrdiff_t stride); member
Dwmaenc.c116 FFTContext *mdct = &s->mdct_ctx[window_index]; in apply_window_and_mdct() local
128 mdct->mdct_calc(mdct, s->coefs[ch], s->output); in apply_window_and_mdct()
Dvorbisdec.c132 FFTContext mdct[2]; member
203 ff_mdct_end(&vc->mdct[0]); in vorbis_free()
204 ff_mdct_end(&vc->mdct[1]); in vorbis_free()
1014 ff_mdct_init(&vc->mdct[0], bl0, 1, -1.0); in vorbis_parse_id_hdr()
1015 ff_mdct_init(&vc->mdct[1], bl1, 1, -1.0); in vorbis_parse_id_hdr()
1614 FFTContext *mdct; in vorbis_parse_audio_packet() local
1736 mdct = &vc->mdct[blockflag]; in vorbis_parse_audio_packet()
1741 mdct->imdct_half(mdct, ch_res_ptr, floor_ptr[j]); in vorbis_parse_audio_packet()
Dopusenc_psy.h73 MDCT15Context *mdct[CELT_BLOCK_NB]; member
Dvorbisenc.c109 FFTContext mdct[2]; member
262 if ((ret = ff_mdct_init(&venc->mdct[0], venc->log2_blocksize[0], 0, 1.0)) < 0) in dsp_init()
264 if ((ret = ff_mdct_init(&venc->mdct[1], venc->log2_blocksize[1], 0, 1.0)) < 0) in dsp_init()
1024 venc->mdct[1].mdct_calc(&venc->mdct[1], venc->coeffs + channel * window_len, in apply_window_and_mdct()
1258 ff_mdct_end(&venc->mdct[0]); in vorbis_encode_close()
1259 ff_mdct_end(&venc->mdct[1]); in vorbis_encode_close()
Dsbr.h215 FFTContext mdct; member
Dac3enc_template.c101 s->mdct.mdct_calc(&s->mdct, block->mdct_coef[ch+1], in apply_mdct()
Dwmadec.c450 FFTContext *mdct; in wma_decode_block() local
759 mdct = &s->mdct_ctx[bsize]; in wma_decode_block()
766 mdct->imdct_calc(mdct, s->output, s->coefs[ch]); in wma_decode_block()
Ddcaenc.c67 FFTContext mdct; member
252 if ((ret = ff_mdct_init(&c->mdct, 9, 0, 1.0)) < 0) in encode_init()
318 ff_mdct_end(&c->mdct); in encode_close()
437 c->mdct.mdct_calc(&c->mdct, coeff, data); in calc_power()
Dac3enc.h170 FFTContext mdct; ///< FFT context for MDCT calculation member
Daac.h329 FFTContext mdct; member
Dtwinvq.c331 FFTContext *mdct = &tctx->mdct_ctx[ftype]; in imdct_and_window() local
360 mdct->imdct_half(mdct, buf1 + bsize * j, in + bsize * j); in imdct_and_window()
Daacdec_template.c1348 AAC_RENAME_32(ff_mdct_init)(&ac->mdct, 11, 1, 1.0 / RANGE15(1024.0)); in aac_decode_init()
2781 ac->mdct.imdct_half(&ac->mdct, buf, in);
2906 ac->mdct.imdct_half(&ac->mdct_ld, buf, in);
2955 ac->mdct.imdct_half(&ac->mdct_ld, buf, in);
3528 ff_mdct_end(&ac->mdct);
Dmdct15.c269 s->mdct = mdct15; in ff_mdct15_init()
Dwmaprodec.c1388 FFTContext *mdct = &s->mdct_ctx[av_log2(subframe_len) - WMAPRO_BLOCK_MIN_BITS]; in decode_subframe() local
1414 mdct->imdct_half(mdct, s->channel[c].coeffs, s->tmp); in decode_subframe()
/third_party/ffmpeg/libavutil/
Dtx.c47 const int mdct = TYPE_IS(MDCT, s->type); in ff_tx_gen_compound_mapping() local
67 in_map[j*n + i] = ((i*m + j*n) % len) << mdct; in ff_tx_gen_compound_mapping()

12