-1: 0x4000
-3: 0x100000
-4: 0x200000
-5: 0x300000
-6: 0x400000
-7: 1
+# void ff_mpadsp_apply_window_float(float *synth_buf, float *window,
+# int *dither_state, float *samples,
+# ptrdiff_t incr);
+1: 0x4000 # stack pointer
+3: 0x100000 # param 1: float *sunth_buf buf
+4: 0x200000 # param 2: float *window win
+5: 0x300000 # param 3: int *dither_state &unused
+6: 0x400000 # param 3: float *samples out
+7: 1 # param 5: ptr_diff_t incr 1
allints = True
with open(fname) as f:
for line in f.readlines():
+ # split out comments
+ if line.startswith("#"):
+ continue
+ line = line.split("#")[0]
# split line "x : y" into ["x", "y"], remove spaces
line = list(map(str.strip, line.strip().split(":")))
assert len(line) == 2, "regfile line must be formatted 'x : y'"