TurboPFor: TurboPFor decode

This commit is contained in:
x
2017-01-05 17:19:36 +01:00
parent d82eaeba7e
commit 387a8c4690

6
vp4d.c
View File

@ -100,6 +100,8 @@ static ALIGNED(char, shuffles[16][16], 16) = {
#undef P4DELTA #undef P4DELTA
// SIMD ------------- // SIMD -------------
#ifndef NSIMD
#ifdef __SSE2__
#define P4DELTA(a) #define P4DELTA(a)
#define VSIZE 128 #define VSIZE 128
#define _P4DEC _p4dec128v #define _P4DEC _p4dec128v
@ -125,6 +127,7 @@ static ALIGNED(char, shuffles[16][16], 16) = {
#include __FILE__ #include __FILE__
#undef BITUNDD #undef BITUNDD
#undef P4DELTA #undef P4DELTA
#endif
#ifdef __AVX2__ #ifdef __AVX2__
#define VSIZE 256 #define VSIZE 256
@ -151,7 +154,8 @@ static ALIGNED(char, shuffles[16][16], 16) = {
#include __FILE__ #include __FILE__
#undef BITUNDD #undef BITUNDD
#endif #endif
#endif
#undef USIZE #undef USIZE
#else #else
#define uint_t TEMPLATE3(uint, USIZE, _t) #define uint_t TEMPLATE3(uint, USIZE, _t)