Home
last modified time | relevance | path

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

/dports/audio/libsidplayfp/libsidplayfp-2.3.1/src/builders/residfp-builder/residfp/
H A DWaveformCalculator.cpp184 matrix_t wftable(8, 4096); in buildTable() local
188 wftable[0][idx] = 0xfff; in buildTable()
189 wftable[1][idx] = static_cast<short>((idx & 0x800) == 0 ? idx << 1 : (idx ^ 0xfff) << 1); in buildTable()
190 wftable[2][idx] = static_cast<short>(idx); in buildTable()
191 wftable[3][idx] = calculateCombinedWaveform(cfgArray[0], 3, idx); in buildTable()
192 wftable[4][idx] = 0xfff; in buildTable()
193 wftable[5][idx] = calculateCombinedWaveform(cfgArray[1], 5, idx); in buildTable()
194 wftable[6][idx] = calculateCombinedWaveform(cfgArray[2], 6, idx); in buildTable()
195 wftable[7][idx] = calculateCombinedWaveform(cfgArray[3], 7, idx); in buildTable()
198 return &(CACHE.emplace_hint(lb, cw_cache_t::value_type(cfgArray, wftable))->second); in buildTable()
[all …]
/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/src/libs/residfp/
H A DWaveformCalculator.cpp184 matrix_t wftable(8, 4096); in buildTable() local
188 wftable[0][idx] = 0xfff; in buildTable()
189 wftable[1][idx] = static_cast<short>((idx & 0x800) == 0 ? idx << 1 : (idx ^ 0xfff) << 1); in buildTable()
190 wftable[2][idx] = static_cast<short>(idx); in buildTable()
191 wftable[3][idx] = calculateCombinedWaveform(cfgArray[0], 3, idx); in buildTable()
192 wftable[4][idx] = 0xfff; in buildTable()
193 wftable[5][idx] = calculateCombinedWaveform(cfgArray[1], 5, idx); in buildTable()
194 wftable[6][idx] = calculateCombinedWaveform(cfgArray[2], 6, idx); in buildTable()
195 wftable[7][idx] = calculateCombinedWaveform(cfgArray[3], 7, idx); in buildTable()
198 return &(CACHE.emplace_hint(lb, cw_cache_t::value_type(cfgArray, wftable))->second); in buildTable()
[all …]
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/residfp/builders/residfp-builder/residfp/
H A DWaveformCalculator.cpp190 matrix_t wftable(8, 4096); in buildTable() local
194 wftable[0][idx] = 0xfff; in buildTable()
195 wftable[1][idx] = static_cast<short>((idx & 0x800) == 0 ? idx << 1 : (idx ^ 0xfff) << 1); in buildTable()
196 wftable[2][idx] = static_cast<short>(idx); in buildTable()
197 wftable[3][idx] = calculateCombinedWaveform(cfgArray[0], 3, idx); in buildTable()
198 wftable[4][idx] = 0xfff; in buildTable()
199 wftable[5][idx] = calculateCombinedWaveform(cfgArray[1], 5, idx); in buildTable()
200 wftable[6][idx] = calculateCombinedWaveform(cfgArray[2], 6, idx); in buildTable()
201 wftable[7][idx] = calculateCombinedWaveform(cfgArray[3], 7, idx); in buildTable()
204 return &(CACHE.insert(lb, cw_cache_t::value_type(cfgArray, wftable))->second); in buildTable()
/dports/audio/ocp/ocp-0.2.90/playsid/libsidplayfp-git/src/builders/residfp-builder/residfp/
H A DWaveformCalculator.cpp184 matrix_t wftable(8, 4096); in buildTable() local
188 wftable[0][idx] = 0xfff; in buildTable()
189 wftable[1][idx] = static_cast<short>((idx & 0x800) == 0 ? idx << 1 : (idx ^ 0xfff) << 1); in buildTable()
190 wftable[2][idx] = static_cast<short>(idx); in buildTable()
191 wftable[3][idx] = calculateCombinedWaveform(cfgArray[0], 3, idx); in buildTable()
192 wftable[4][idx] = 0xfff; in buildTable()
193 wftable[5][idx] = calculateCombinedWaveform(cfgArray[1], 5, idx); in buildTable()
194 wftable[6][idx] = calculateCombinedWaveform(cfgArray[2], 6, idx); in buildTable()
195 wftable[7][idx] = calculateCombinedWaveform(cfgArray[3], 7, idx); in buildTable()
198 return &(CACHE.insert(lb, cw_cache_t::value_type(cfgArray, wftable))->second); in buildTable()
/dports/audio/goattracker/goattracker-2.76/src/resid-fp/
H A Dwavefp.h26 extern float wftable[11][4096];
166 return wftable[waveform + variant][phase]; in output()
H A Dwavefp.cpp71 wftable[waveform - 1][accumulator >> 12] = make_sample(o) + wave_zero; in rebuild_wftable()
76 wftable[waveform + 3][accumulator >> 12] = make_sample(o) + wave_zero; in rebuild_wftable()
H A Dsidfp.cpp32 float wftable[11][4096]; variable
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/
H A DChangeLog.319887 parameter. Migrate it into wftable. Avoid envelope dac lookup