From c64659e1b473c8d9a6de91b3822f7bf6b1b4b293 Mon Sep 17 00:00:00 2001 From: Pascal Massimino Date: Wed, 25 Mar 2015 11:10:21 +0100 Subject: [PATCH] remove duplicate variables after the lossless{_enc}.c split clang was giving "duplicate symbols" error messages at link time. Change-Id: I2b77b55222fe033cc1d4636567902e80d814aab6 --- src/dsp/lossless.c | 16 ---------------- src/dsp/lossless_enc.c | 12 ------------ 2 files changed, 28 deletions(-) diff --git a/src/dsp/lossless.c b/src/dsp/lossless.c index a8944306..5ca77594 100644 --- a/src/dsp/lossless.c +++ b/src/dsp/lossless.c @@ -558,11 +558,9 @@ void VP8LConvertFromBGRA(const uint32_t* const in_data, int num_pixels, //------------------------------------------------------------------------------ -VP8LProcessBlueAndRedFunc VP8LSubtractGreenFromBlueAndRed; VP8LProcessBlueAndRedFunc VP8LAddGreenToBlueAndRed; VP8LPredictorFunc VP8LPredictors[16]; -VP8LTransformColorFunc VP8LTransformColor; VP8LTransformColorFunc VP8LTransformColorInverse; VP8LConvertFunc VP8LConvertBGRAToRGB; @@ -571,20 +569,6 @@ VP8LConvertFunc VP8LConvertBGRAToRGBA4444; VP8LConvertFunc VP8LConvertBGRAToRGB565; VP8LConvertFunc VP8LConvertBGRAToBGR; -VP8LCollectColorBlueTransformsFunc VP8LCollectColorBlueTransforms; -VP8LCollectColorRedTransformsFunc VP8LCollectColorRedTransforms; - -VP8LFastLog2SlowFunc VP8LFastLog2Slow; -VP8LFastLog2SlowFunc VP8LFastSLog2Slow; - -VP8LCostFunc VP8LExtraCost; -VP8LCostCombinedFunc VP8LExtraCostCombined; - -VP8LCostCountFunc VP8LHuffmanCostCount; -VP8LCostCombinedCountFunc VP8LHuffmanCostCombinedCount; - -VP8LHistogramAddFunc VP8LHistogramAdd; - VP8LMapARGBFunc VP8LMapColor32b; VP8LMapAlphaFunc VP8LMapColor8b; diff --git a/src/dsp/lossless_enc.c b/src/dsp/lossless_enc.c index abdc817a..c796ea1f 100644 --- a/src/dsp/lossless_enc.c +++ b/src/dsp/lossless_enc.c @@ -1205,17 +1205,8 @@ static void HistogramAdd(const VP8LHistogram* const a, //------------------------------------------------------------------------------ VP8LProcessBlueAndRedFunc VP8LSubtractGreenFromBlueAndRed; -VP8LProcessBlueAndRedFunc VP8LAddGreenToBlueAndRed; -VP8LPredictorFunc VP8LPredictors[16]; VP8LTransformColorFunc VP8LTransformColor; -VP8LTransformColorFunc VP8LTransformColorInverse; - -VP8LConvertFunc VP8LConvertBGRAToRGB; -VP8LConvertFunc VP8LConvertBGRAToRGBA; -VP8LConvertFunc VP8LConvertBGRAToRGBA4444; -VP8LConvertFunc VP8LConvertBGRAToRGB565; -VP8LConvertFunc VP8LConvertBGRAToBGR; VP8LCollectColorBlueTransformsFunc VP8LCollectColorBlueTransforms; VP8LCollectColorRedTransformsFunc VP8LCollectColorRedTransforms; @@ -1231,9 +1222,6 @@ VP8LCostCombinedCountFunc VP8LHuffmanCostCombinedCount; VP8LHistogramAddFunc VP8LHistogramAdd; -VP8LMapARGBFunc VP8LMapColor32b; -VP8LMapAlphaFunc VP8LMapColor8b; - extern void VP8LEncDspInitSSE2(void); extern void VP8LEncDspInitNEON(void); extern void VP8LEncDspInitMIPS32(void);