Files

19 lines
832 B
C++

#pragma once
// Level-path transcriptions (decomp_funs2.txt + f_*.dis).
// All offsets are relative to the level-path object (NOT the DSP ctx).
// FUN_180563440: LUT curve build (x = i/1023, linear x^(1/gamma), power-law).
void lut_curve_eval(void* ctx);
// FUN_18056e3e0: twin-mask factory = constant fill 2π/(count·SR) over 0x400 bins.
void twin_mask_factory(void* ctx, int band_idx, int n_bins);
// FUN_180563a60: band LUT apply (level -> gain) t^gamma / power-law, 6 bands.
void band_lut_apply(void* ctx);
// mask-accumulator combine kernels (FUN_180529fe0 CRT thunks).
void combine_sub(double* out, const double* a, const double* b, int n); // 0x8d60
void acc_add(double* dst, const double* src, int n); // 0x5a20
void acc_fma(double* dst, const double* a, const double* b, int n); // 0x3c40