mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
21 lines
No EOL
344 B
C++
21 lines
No EOL
344 B
C++
/*
|
|
Diff decoder ported from GNU Radio
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <volk/volk_alloc.hh>
|
|
|
|
namespace diff
|
|
{
|
|
class GenericDiff
|
|
{
|
|
private:
|
|
const unsigned int d_modulus;
|
|
volk::vector<uint8_t> tmp_;
|
|
|
|
public:
|
|
GenericDiff(unsigned int modulus);
|
|
int work(uint8_t *in, int length, uint8_t *out);
|
|
};
|
|
} |