TurboPFor: TurboPFor decode
This commit is contained in:
6
vp4d.c
6
vp4d.c
@ -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)
|
||||||
|
Reference in New Issue
Block a user