Home
last modified time | relevance | path

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

/external/libopus/celt/
Dmodes.c179 if (mode->Fs == 400*(opus_int32)mode->shortMdctSize) in compute_allocation_table()
195 … if (400*(opus_int32)eband5ms[k] > mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize) in compute_allocation_table()
202 … a1 = mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize - 400*(opus_int32)eband5ms[k-1]; in compute_allocation_table()
203 … a0 = 400*(opus_int32)eband5ms[k] - mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize; in compute_allocation_table()
248 … (frame_size<<j) == static_mode_list[i]->shortMdctSize*static_mode_list[i]->nbShortMdcts) in opus_custom_mode_create()
344 mode->shortMdctSize = frame_size/mode->nbShortMdcts; in opus_custom_mode_create()
345 res = (mode->Fs+mode->shortMdctSize)/(2*mode->shortMdctSize); in opus_custom_mode_create()
347 mode->eBands = compute_ebands(Fs, mode->shortMdctSize, res, &mode->nbEBands); in opus_custom_mode_create()
360 while (mode->eBands[mode->effEBands] > mode->shortMdctSize) in opus_custom_mode_create()
364 mode->overlap = ((mode->shortMdctSize>>2)<<2); in opus_custom_mode_create()
[all …]
Dcelt_decoder.c297 N = mode->shortMdctSize<<LM; in celt_synthesis()
304 NB = mode->shortMdctSize; in celt_synthesis()
308 NB = mode->shortMdctSize<<LM; in celt_synthesis()
784 if (mode->Fs==48000 && mode->shortMdctSize==120)
797 if (frame_size < mode->shortMdctSize<<LM)
800 frame_size = mode->shortMdctSize<<LM;
806 if (mode->shortMdctSize<<LM==frame_size)
816 N = M*mode->shortMdctSize;
1008 …lter(out_syn[c], out_syn[c], st->postfilter_period_old, st->postfilter_period, mode->shortMdctSize,
1012 …lter(out_syn[c]+mode->shortMdctSize, out_syn[c]+mode->shortMdctSize, st->postfilter_period, postfi…
Dmodes.h63 int shortMdctSize; member
Dcelt_encoder.c428 N = mode->shortMdctSize; in compute_mdcts()
432 N = mode->shortMdctSize<<LM; in compute_mdcts()
1163 int offset = mode->shortMdctSize-overlap; in run_prefilter()
1398 if (mode->shortMdctSize<<LM==frame_size) in celt_encode_with_ec()
1406 N = M*mode->shortMdctSize; in celt_encode_with_ec()
1431 if (mode->Fs==48000 && mode->shortMdctSize==120) in celt_encode_with_ec()
2084 …filter(out_mem[c], out_mem[c], st->prefilter_period_old, st->prefilter_period, mode->shortMdctSize, in celt_encode_with_ec()
2088 …_filter(out_mem[c]+mode->shortMdctSize, out_mem[c]+mode->shortMdctSize, st->prefilter_period, pitc… in celt_encode_with_ec()
Dbands.c99 N = m->shortMdctSize<<LM; in compute_band_energies()
140 N = M*m->shortMdctSize; in normalise_bands()
162 N = m->shortMdctSize<<LM; in compute_band_energies()
180 N = M*m->shortMdctSize; in normalise_bands()
204 N = M*m->shortMdctSize; in denormalise_bands()
466 N0 = M*m->shortMdctSize; in spreading_decision()
/external/libopus/celt/dump_modes/
Ddump_modes.c61 fprintf(file, " %d %d",mode->Fs,mode->shortMdctSize*mode->nbShortMdcts); in dump_modes()
79 mdctSize = mode->shortMdctSize*mode->nbShortMdcts; in dump_modes()
80 standard = (mode->Fs == 400*(opus_int32)mode->shortMdctSize); in dump_modes()
81 framerate = mode->Fs/mode->shortMdctSize; in dump_modes()
241 fprintf(file, "%d, /* shortMdctSize */\n", mode->shortMdctSize); in dump_modes()
268 mdctSize = mode->shortMdctSize*mode->nbShortMdcts; in dump_modes()
285 frame_size = mode->shortMdctSize*mode->nbShortMdcts; in dump_header()
286 else if (frame_size != mode->shortMdctSize*mode->nbShortMdcts) in dump_header()
Ddump_modes_arm_ne10.c60 fprintf(file, " %d %d",mode->Fs,mode->shortMdctSize*mode->nbShortMdcts); in dump_modes_arch_init()
76 mdctSize = mode->shortMdctSize*mode->nbShortMdcts; in dump_mode_arch()
/external/libopus/src/
Dopus_multistream_encoder.c256 if (celt_mode->shortMdctSize<<LM==frame_size) in surround_analysis()