add oversampler

This commit is contained in:
2024-05-24 13:28:31 +02:00
parent e4a4a661a0
commit 989dba5a6b
484 changed files with 313937 additions and 0 deletions

18
oversampling/WDL/fnv64.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef _WDL_FNV64_H_
#define _WDL_FNV64_H_
#include "wdltypes.h"
#define WDL_FNV64_IV WDL_UINT64_CONST(0xCBF29CE484222325)
static WDL_STATICFUNC_UNUSED WDL_UINT64 WDL_FNV64(WDL_UINT64 h, const unsigned char* data, int sz)
{
int i;
for (i=0; i < sz; ++i)
{
h *= WDL_UINT64_CONST(0x00000100000001B3);
h ^= data[i];
}
return h;
}
#endif