mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 18:34:06 +00:00
8 lines
286 B
C
8 lines
286 B
C
#ifndef STRATEGIES_COMMON_H_
|
|
#define STRATEGIES_COMMON_H_
|
|
|
|
//Use with shuffle and permutation intrinsics.
|
|
//Parameters are indices to packed elements. Each must be 0, 1, 2 or 3.
|
|
#define KVZ_PERMUTE(a, b, c, d) ( (a << 0) | (b << 2) | (c << 4) | (d << 6) )
|
|
|
|
#endif //STRATEGIES_COMMON_H_
|