Transform: Byte+Nibble Transpose/Shuffle

This commit is contained in:
x
2019-12-21 10:55:00 +01:00
parent 169adf1d1a
commit a89b6b4a18

View File

@ -130,7 +130,7 @@
#define TPDEC256V tp4dec256v #define TPDEC256V tp4dec256v
#include "transpose.c" #include "transpose.c"
#ifdef PLAIN #if !defined(SSE2_ON) && !defined(AVX2_ON)
//--------------------- CPU detection ------------------------------------------- //--------------------- CPU detection -------------------------------------------
#if _MSC_VER >=1300 #if _MSC_VER >=1300
#include <intrin.h> #include <intrin.h>
@ -431,7 +431,7 @@ void tp4dec(unsigned char *in, unsigned n, unsigned char *out, unsigned esize) {
#define SID(p,i) (p+=stride) #define SID(p,i) (p+=stride)
//#define SID(_p_,_i_) (_p_+ _i_*stride) //#define SID(_p_,_i_) (_p_+ _i_*stride)
#ifdef PLAIN //--------------------------------------- plain ------------------------------------------------------------------- #if !defined(SSE2_ON) && !defined(AVX2_ON) //--------------------------------------- plain -------------------------------------------------------------------
#if STRIDE == ESIZE #if STRIDE == ESIZE
void TEMPLATE2(TPENC, ESIZE)(unsigned char *in, unsigned n, unsigned char *out) { void TEMPLATE2(TPENC, ESIZE)(unsigned char *in, unsigned n, unsigned char *out) {