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

@ -440,7 +440,6 @@ static void HFilter16iMIPS32(uint8_t* p, int stride,
} }
} }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Simple In-loop filtering (Paragraph 15.2) // Simple In-loop filtering (Paragraph 15.2)

View File

@ -16,8 +16,6 @@
#if defined(WEBP_USE_MIPS32) #if defined(WEBP_USE_MIPS32)
#include <assert.h>
#include <string.h>
#include "./yuv.h" #include "./yuv.h"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------

View File

@ -51,7 +51,7 @@ void WebPRescalerImportRow(WebPRescaler* const wrk,
const uint8_t* const src, int channel) { const uint8_t* const src, int channel) {
const int x_stride = wrk->num_channels; const int x_stride = wrk->num_channels;
const int x_out_max = wrk->dst_width * wrk->num_channels; const int x_out_max = wrk->dst_width * wrk->num_channels;
#if !defined (__mips__) #if !defined(__mips__)
int x_in = channel; int x_in = channel;
int x_out; int x_out;
int accum = 0; int accum = 0;
@ -89,7 +89,7 @@ void WebPRescalerImportRow(WebPRescaler* const wrk,
for (x_out = channel; x_out < x_out_max; x_out += x_stride) { for (x_out = channel; x_out < x_out_max; x_out += x_stride) {
wrk->irow[x_out] += wrk->frow[x_out]; wrk->irow[x_out] += wrk->frow[x_out];
} }
#else #else // __mips__
const int fx_scale = wrk->fx_scale; const int fx_scale = wrk->fx_scale;
const int x_add = wrk->x_add; const int x_add = wrk->x_add;
const int x_sub = wrk->x_sub; const int x_sub = wrk->x_sub;
@ -181,7 +181,7 @@ void WebPRescalerImportRow(WebPRescaler* const wrk,
: "memory", "hi", "lo" : "memory", "hi", "lo"
); );
} }
#endif // (__mips__) #endif // !__mips__
} }
uint8_t* WebPRescalerExportRow(WebPRescaler* const wrk) { uint8_t* WebPRescalerExportRow(WebPRescaler* const wrk) {