include string.h in all colorspacehandler implementations
This commit is contained in:
parent
368d785301
commit
315320e0c1
|
@ -21,6 +21,7 @@
|
||||||
#error This code requires AVX2 support.
|
#error This code requires AVX2 support.
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
#include <immintrin.h>
|
#include <immintrin.h>
|
||||||
|
|
||||||
template <bool SWAP_RB>
|
template <bool SWAP_RB>
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
#error This code requires PowerPC AltiVec support.
|
#error This code requires PowerPC AltiVec support.
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
template <bool SWAP_RB>
|
template <bool SWAP_RB>
|
||||||
FORCEINLINE void ColorspaceConvert555To8888_AltiVec(const v128u16 &srcColor, const v128u32 &srcAlphaBits32Lo, const v128u32 &srcAlphaBits32Hi, v128u32 &dstLo, v128u32 &dstHi)
|
FORCEINLINE void ColorspaceConvert555To8888_AltiVec(const v128u16 &srcColor, const v128u32 &srcAlphaBits32Lo, const v128u32 &srcAlphaBits32Hi, v128u32 &dstLo, v128u32 &dstHi)
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,12 +17,11 @@
|
||||||
|
|
||||||
#include "colorspacehandler_SSE2.h"
|
#include "colorspacehandler_SSE2.h"
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#ifndef ENABLE_SSE2
|
#ifndef ENABLE_SSE2
|
||||||
#error This code requires SSE2 support.
|
#error This code requires SSE2 support.
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
#include <emmintrin.h>
|
#include <emmintrin.h>
|
||||||
|
|
||||||
#ifdef ENABLE_SSSE3
|
#ifdef ENABLE_SSSE3
|
||||||
|
|
Loading…
Reference in New Issue