use new fft functions in csdr++
This commit is contained in:
parent
8797615720
commit
c3cac092bd
@ -110,10 +110,10 @@ class Dsp(DirewolfConfigSubscriber):
|
|||||||
if which == "fft":
|
if which == "fft":
|
||||||
chain += [
|
chain += [
|
||||||
"csdr++ fft {fft_size} {fft_block_size}",
|
"csdr++ fft {fft_size} {fft_block_size}",
|
||||||
"csdr logpower_cf -70"
|
"csdr++ logpower -70"
|
||||||
if self.fft_averages == 0
|
if self.fft_averages == 0
|
||||||
else "csdr logaveragepower_cf -70 {fft_size} {fft_averages}",
|
else "csdr++ logaveragepower {fft_size} {fft_averages} --add -70",
|
||||||
"csdr fft_exchange_sides_ff {fft_size}",
|
"csdr++ fftswap {fft_size}",
|
||||||
]
|
]
|
||||||
if self.fft_compression == "adpcm":
|
if self.fft_compression == "adpcm":
|
||||||
chain += ["csdr compress_fft_adpcm_f_u8 {fft_size}"]
|
chain += ["csdr compress_fft_adpcm_f_u8 {fft_size}"]
|
||||||
@ -247,10 +247,10 @@ class Dsp(DirewolfConfigSubscriber):
|
|||||||
if which == "fft":
|
if which == "fft":
|
||||||
chain += [
|
chain += [
|
||||||
"csdr++ fft {secondary_fft_input_size} {secondary_fft_block_size}",
|
"csdr++ fft {secondary_fft_input_size} {secondary_fft_block_size}",
|
||||||
"csdr logpower_cf -70"
|
"csdr++ logpower -70"
|
||||||
if self.fft_averages == 0
|
if self.fft_averages == 0
|
||||||
else "csdr logaveragepower_cf -70 {secondary_fft_size} {fft_averages}",
|
else "csdr++ logaveragepower {secondary_fft_size} {fft_averages} --add -70",
|
||||||
"csdr fft_exchange_sides_ff {secondary_fft_input_size}",
|
"csdr++ fftswap {secondary_fft_input_size}",
|
||||||
]
|
]
|
||||||
if self.fft_compression == "adpcm":
|
if self.fft_compression == "adpcm":
|
||||||
chain += ["csdr compress_fft_adpcm_f_u8 {secondary_fft_size}"]
|
chain += ["csdr compress_fft_adpcm_f_u8 {secondary_fft_size}"]
|
||||||
|
Loading…
Reference in New Issue
Block a user