TurboPFor: TurboPFor encode
This commit is contained in:
5
vp4c.c
5
vp4c.c
@ -66,7 +66,9 @@
|
|||||||
|
|
||||||
#undef _P4BITS
|
#undef _P4BITS
|
||||||
|
|
||||||
|
#ifndef NSIMD
|
||||||
#define EXCEP 1 //
|
#define EXCEP 1 //
|
||||||
|
#ifdef __SSE2__
|
||||||
//-- SIMD: Vertical bitpacking
|
//-- SIMD: Vertical bitpacking
|
||||||
#define VSIZE 128
|
#define VSIZE 128
|
||||||
#define _P4ENC _p4enc128v
|
#define _P4ENC _p4enc128v
|
||||||
@ -78,6 +80,7 @@
|
|||||||
#undef _P4ENC
|
#undef _P4ENC
|
||||||
#undef P4ENC
|
#undef P4ENC
|
||||||
#undef BITPACK
|
#undef BITPACK
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __AVX2__
|
#ifdef __AVX2__
|
||||||
#define VSIZE 256
|
#define VSIZE 256
|
||||||
@ -90,8 +93,10 @@
|
|||||||
#undef P4ENC
|
#undef P4ENC
|
||||||
#undef BITPACK
|
#undef BITPACK
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#undef USIZE
|
#undef USIZE
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma clang diagnostic ignored "-Wparentheses"
|
#pragma clang diagnostic ignored "-Wparentheses"
|
||||||
|
Reference in New Issue
Block a user