cosmetics: *_mips32.c

indent, comments, unused includes

Change-Id: Id0aabc52d05bb633f62aec022155ec27699cf5a0
This commit is contained in:
James Zern
2014-01-30 18:03:48 -08:00
parent dd438c9a7d
commit 8934a622ac
3 changed files with 9 additions and 12 deletions

View File

@@ -20,8 +20,8 @@ static const int kC1 = 20091 + (1 << 16);
static const int kC2 = 35468;
static WEBP_INLINE int abs_mips32(int x) {
const int sign = x >> 31;
return (x ^ sign) - sign;
const int sign = x >> 31;
return (x ^ sign) - sign;
}
// clips [-1020, 1020] to [-128, 127]
@@ -440,7 +440,6 @@ static void HFilter16iMIPS32(uint8_t* p, int stride,
}
}
//------------------------------------------------------------------------------
// Simple In-loop filtering (Paragraph 15.2)

View File

@@ -16,8 +16,6 @@
#if defined(WEBP_USE_MIPS32)
#include <assert.h>
#include <string.h>
#include "./yuv.h"
//------------------------------------------------------------------------------
@@ -116,9 +114,9 @@ SAMPLE_FUNC_MIPS(SampleBgraLinePairMIPS, 4, 2, 1, 0, 3)
void WebPInitSamplersMIPS32(void) {
#if defined(WEBP_USE_MIPS32)
WebPSamplers[MODE_RGB] = SampleRgbLinePairMIPS;
WebPSamplers[MODE_RGBA] = SampleRgbaLinePairMIPS;
WebPSamplers[MODE_BGR] = SampleBgrLinePairMIPS;
WebPSamplers[MODE_BGRA] = SampleBgraLinePairMIPS;
WebPSamplers[MODE_RGB] = SampleRgbLinePairMIPS;
WebPSamplers[MODE_RGBA] = SampleRgbaLinePairMIPS;
WebPSamplers[MODE_BGR] = SampleBgrLinePairMIPS;
WebPSamplers[MODE_BGRA] = SampleBgraLinePairMIPS;
#endif // WEBP_USE_MIPS32
}