consolidate all repos to one for archive
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#include <string>
|
||||
#include "utils.hpp"
|
||||
|
||||
class Compressor
|
||||
{
|
||||
BitWriter writer;
|
||||
|
||||
public:
|
||||
Compressor() = default;
|
||||
~Compressor() = default;
|
||||
void compress(const short *samples_p, std::size_t sampleCount, int N, int M, const char *filename);
|
||||
void write_blocks(std::vector<std::vector<float>> &mdct_blocks, int M);
|
||||
void samples_to_blocks(std::vector<signed short> &samples, std::vector<std::vector<float>> &blocks, int N);
|
||||
void window(std::vector<std::vector<float>> &blocks, float N);
|
||||
void mdct(std::vector<std::vector<float>> &blocks, std::vector<std::vector<float>> &mdct_blocks, float N);
|
||||
};
|
||||
Reference in New Issue
Block a user