lossless_sse2: relocate VP8LDspInitSSE2 proto

this is in line with the other dsp files and silences a build warning.

Change-Id: I03ee3032c11d4c731cc10bfa0a2dcb6866756ba2
This commit is contained in:
James Zern 2014-03-27 15:05:04 -07:00
parent 0f4f721b12
commit 51f406a5d7
3 changed files with 4 additions and 2 deletions

View File

@ -1474,6 +1474,8 @@ VP8LConvertFunc VP8LConvertBGRAToRGBA4444;
VP8LConvertFunc VP8LConvertBGRAToRGB565; VP8LConvertFunc VP8LConvertBGRAToRGB565;
VP8LConvertFunc VP8LConvertBGRAToBGR; VP8LConvertFunc VP8LConvertBGRAToBGR;
extern void VP8LDspInitSSE2(void);
void VP8LDspInit(void) { void VP8LDspInit(void) {
memcpy(VP8LPredictors, kPredictorsC, sizeof(VP8LPredictors)); memcpy(VP8LPredictors, kPredictorsC, sizeof(VP8LPredictors));

View File

@ -40,8 +40,6 @@ extern VP8LConvertFunc VP8LConvertBGRAToRGBA4444;
extern VP8LConvertFunc VP8LConvertBGRAToRGB565; extern VP8LConvertFunc VP8LConvertBGRAToRGB565;
extern VP8LConvertFunc VP8LConvertBGRAToBGR; extern VP8LConvertFunc VP8LConvertBGRAToBGR;
extern void VP8LDspInitSSE2(void);
// Expose some C-only fallback functions // Expose some C-only fallback functions
extern void VP8LConvertBGRAToRGB_C(const uint32_t* src, extern void VP8LConvertBGRAToRGB_C(const uint32_t* src,
int num_pixels, uint8_t* dst); int num_pixels, uint8_t* dst);

View File

@ -287,6 +287,8 @@ static void ConvertBGRAToBGR(const uint32_t* src,
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
extern void VP8LDspInitSSE2(void);
void VP8LDspInitSSE2(void) { void VP8LDspInitSSE2(void) {
#if defined(WEBP_USE_SSE2) #if defined(WEBP_USE_SSE2)
VP8LPredictors[11] = Predictor11; VP8LPredictors[11] = Predictor11;