-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.hpp
More file actions
29 lines (28 loc) · 832 Bytes
/
settings.hpp
File metadata and controls
29 lines (28 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#pragma once
#include <vector>
#include <complex>
struct settings {
std::vector<std::vector<float>> in_buffer;
std::vector<std::vector<float>> out_buffer;
std::vector<float> mdct_win;
std::vector<std::complex<float>> tw;
unsigned int nro_ch;
unsigned int frame_size;
unsigned int fs;
unsigned int mdct_size;
unsigned int nro_bands;
std::vector<unsigned int> blims;
std::vector<unsigned int> bwidths;
std::vector<unsigned int> prek;
std::vector<unsigned int> band_spread;
unsigned int copy_lim;
unsigned int nocopy_lim;
unsigned int target_rate;
unsigned int bytes_fr;
unsigned int rate_fr;
std::vector<std::vector<int>> pre_norms_enc;
std::vector<std::vector<int>> pre_norms_dec;
std::vector<std::vector<unsigned long long>> pvqN;
unsigned int fr;
std::vector<float> frew;
};