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.c381 N = mode->shortMdctSize<<LM; in celt_synthesis()
388 NB = mode->shortMdctSize; in celt_synthesis()
392 NB = mode->shortMdctSize<<LM; in celt_synthesis()
887 if (mode->Fs==48000 && mode->shortMdctSize==120)
900 if (frame_size < mode->shortMdctSize<<LM)
903 frame_size = mode->shortMdctSize<<LM;
909 if (mode->shortMdctSize<<LM==frame_size)
919 N = M*mode->shortMdctSize;
1112 …lter(out_syn[c], out_syn[c], st->postfilter_period_old, st->postfilter_period, mode->shortMdctSize,
1116 …lter(out_syn[c]+mode->shortMdctSize, out_syn[c]+mode->shortMdctSize, st->postfilter_period, postfi…
Dmodes.h63 int shortMdctSize; member
Dcelt_encoder.c462 N = mode->shortMdctSize; in compute_mdcts()
466 N = mode->shortMdctSize<<LM; in compute_mdcts()
1268 int offset = mode->shortMdctSize-overlap; in run_prefilter()
1498 if (mode->shortMdctSize<<LM==frame_size) in celt_encode_with_ec()
1506 N = M*mode->shortMdctSize; in celt_encode_with_ec()
1533 if (mode->Fs==48000 && mode->shortMdctSize==120) in celt_encode_with_ec()
2260 …filter(out_mem[c], out_mem[c], st->prefilter_period_old, st->prefilter_period, mode->shortMdctSize, in celt_encode_with_ec()
2264 …_filter(out_mem[c]+mode->shortMdctSize, out_mem[c]+mode->shortMdctSize, st->prefilter_period, pitc… in celt_encode_with_ec()
Dbands.c100 N = m->shortMdctSize<<LM; in compute_band_energies()
141 N = M*m->shortMdctSize; in normalise_bands()
163 N = m->shortMdctSize<<LM; in compute_band_energies()
181 N = M*m->shortMdctSize; in normalise_bands()
205 N = M*m->shortMdctSize; in denormalise_bands()
491 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.c249 if (celt_mode->shortMdctSize<<LM==frame_size) in surround_analysis()