Inverted Index: Indexing

This commit is contained in:
x
2017-01-05 17:19:36 +01:00
parent 822a391616
commit 48cde6004c

View File

@ -38,6 +38,11 @@
#include "vp4c.h"
#include "bitpack.h"
#include "idx.h"
#ifdef NSIMD
#define bitpack128v32 bitpack32
#endif
//---------------------------------------------------------------------------------------------------------------
#define DELTA( __in, __n, __b) do { unsigned _v; for(__b=0,_v = __n-1; _v > 0; --_v) __in[_v] = (__in[_v] - __in[_v-1]) - 1, __b |= __in[_v]; __b = bsr32(__b); } while(0)