Home
last modified time | relevance | path

Searched refs:shortMdctSize (Results 1 – 6 of 6) sorted by relevance

/external/libopus/celt/
Dmodes.c178 if (mode->Fs == 400*(opus_int32)mode->shortMdctSize) in compute_allocation_table()
194 … if (400*(opus_int32)eband5ms[k] > mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize) in compute_allocation_table()
201 … a1 = mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize - 400*(opus_int32)eband5ms[k-1]; in compute_allocation_table()
202 … a0 = 400*(opus_int32)eband5ms[k] - mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize; in compute_allocation_table()
246 … (frame_size<<j) == static_mode_list[i]->shortMdctSize*static_mode_list[i]->nbShortMdcts) in opus_custom_mode_create()
342 mode->shortMdctSize = frame_size/mode->nbShortMdcts; in opus_custom_mode_create()
343 res = (mode->Fs+mode->shortMdctSize)/(2*mode->shortMdctSize); in opus_custom_mode_create()
345 mode->eBands = compute_ebands(Fs, mode->shortMdctSize, res, &mode->nbEBands); in opus_custom_mode_create()
358 while (mode->eBands[mode->effEBands] > mode->shortMdctSize) in opus_custom_mode_create()
362 mode->overlap = ((mode->shortMdctSize>>2)<<2); in opus_custom_mode_create()
[all …]
Dcelt_decoder.c272 N = mode->shortMdctSize; in compute_inv_mdcts()
276 N = mode->shortMdctSize<<LM; in compute_inv_mdcts()
722 if (mode->Fs==48000 && mode->shortMdctSize==120)
735 if (frame_size < mode->shortMdctSize<<LM)
738 frame_size = mode->shortMdctSize<<LM;
744 if (mode->shortMdctSize<<LM==frame_size)
754 N = M*mode->shortMdctSize;
959 …lter(out_syn[c], out_syn[c], st->postfilter_period_old, st->postfilter_period, mode->shortMdctSize,
963 …lter(out_syn[c]+mode->shortMdctSize, out_syn[c]+mode->shortMdctSize, st->postfilter_period, postfi…
Dmodes.h71 int shortMdctSize; member
Dcelt_encoder.c430 N = mode->shortMdctSize; in compute_mdcts()
434 N = mode->shortMdctSize<<LM; in compute_mdcts()
1103 int offset = mode->shortMdctSize-st->overlap; in run_prefilter()
1328 if (mode->shortMdctSize<<LM==frame_size) in celt_encode_with_ec()
1336 N = M*mode->shortMdctSize; in celt_encode_with_ec()
1361 if (mode->Fs==48000 && mode->shortMdctSize==120) in celt_encode_with_ec()
2024 …filter(out_mem[c], out_mem[c], st->prefilter_period_old, st->prefilter_period, mode->shortMdctSize, in celt_encode_with_ec()
2028 …_filter(out_mem[c]+mode->shortMdctSize, out_mem[c]+mode->shortMdctSize, st->prefilter_period, pitc… in celt_encode_with_ec()
Dbands.c99 N = M*m->shortMdctSize; in compute_band_energies()
135 N = M*m->shortMdctSize; in normalise_bands()
157 N = M*m->shortMdctSize; in compute_band_energies()
177 N = M*m->shortMdctSize; in normalise_bands()
197 N = M*m->shortMdctSize; in denormalise_bands()
457 N0 = M*m->shortMdctSize; in spreading_decision()
/external/libopus/src/
Dopus_multistream_encoder.c242 if (celt_mode->shortMdctSize<<LM==frame_size) in surround_analysis()