diff --git a/src/dsp/lossless.c b/src/dsp/lossless.c index b5d01ece..9542bf80 100644 --- a/src/dsp/lossless.c +++ b/src/dsp/lossless.c @@ -1474,6 +1474,8 @@ VP8LConvertFunc VP8LConvertBGRAToRGBA4444; VP8LConvertFunc VP8LConvertBGRAToRGB565; VP8LConvertFunc VP8LConvertBGRAToBGR; +extern void VP8LDspInitSSE2(void); + void VP8LDspInit(void) { memcpy(VP8LPredictors, kPredictorsC, sizeof(VP8LPredictors)); diff --git a/src/dsp/lossless.h b/src/dsp/lossless.h index 9ff52309..be644dc0 100644 --- a/src/dsp/lossless.h +++ b/src/dsp/lossless.h @@ -40,8 +40,6 @@ extern VP8LConvertFunc VP8LConvertBGRAToRGBA4444; extern VP8LConvertFunc VP8LConvertBGRAToRGB565; extern VP8LConvertFunc VP8LConvertBGRAToBGR; -extern void VP8LDspInitSSE2(void); - // Expose some C-only fallback functions extern void VP8LConvertBGRAToRGB_C(const uint32_t* src, int num_pixels, uint8_t* dst); diff --git a/src/dsp/lossless_sse2.c b/src/dsp/lossless_sse2.c index 25b250bd..44d01642 100644 --- a/src/dsp/lossless_sse2.c +++ b/src/dsp/lossless_sse2.c @@ -287,6 +287,8 @@ static void ConvertBGRAToBGR(const uint32_t* src, //------------------------------------------------------------------------------ +extern void VP8LDspInitSSE2(void); + void VP8LDspInitSSE2(void) { #if defined(WEBP_USE_SSE2) VP8LPredictors[11] = Predictor11;