From 388a7249c983009eb491b93113aade41044e2b52 Mon Sep 17 00:00:00 2001 From: James Zern Date: Mon, 19 Aug 2013 17:51:04 -0700 Subject: [PATCH] cosmetics: fix indent Change-Id: Iad0fce79886bed0d61ddf2510ce133a5355ebc1f --- examples/dwebp.c | 8 ++++---- src/dsp/upsampling_neon.c | 1 - src/dsp/yuv.h | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/examples/dwebp.c b/examples/dwebp.c index 7cd6413d..83d9fc0e 100644 --- a/examples/dwebp.c +++ b/examples/dwebp.c @@ -437,7 +437,7 @@ static int WritePGMOrYUV(FILE* fout, const WebPDecBuffer* const buffer, } static int SaveOutput(const WebPDecBuffer* const buffer, - OutputFileFormat format, const char* const out_file) { + OutputFileFormat format, const char* const out_file) { FILE* fout = NULL; int needs_open_file = 1; int use_stdout = !strcmp(out_file, "-"); @@ -694,12 +694,12 @@ int main(int argc, const char *argv[]) { if (out_file != NULL) { fprintf(stderr, "Decoded %s. Dimensions: %d x %d%s. Now saving...\n", in_file, output_buffer->width, output_buffer->height, - bitstream->has_alpha ? " (with alpha)" : ""); + bitstream->has_alpha ? " (with alpha)" : ""); ok = SaveOutput(output_buffer, format, out_file); } else { fprintf(stderr, "File %s can be decoded (dimensions: %d x %d)%s.\n", - in_file, output_buffer->width, output_buffer->height, - bitstream->has_alpha ? " (with alpha)" : ""); + in_file, output_buffer->width, output_buffer->height, + bitstream->has_alpha ? " (with alpha)" : ""); fprintf(stderr, "Nothing written; " "use -o flag to save the result as e.g. PNG.\n"); } diff --git a/src/dsp/upsampling_neon.c b/src/dsp/upsampling_neon.c index f7450932..5a68dd25 100644 --- a/src/dsp/upsampling_neon.c +++ b/src/dsp/upsampling_neon.c @@ -267,7 +267,6 @@ void WebPInitPremultiplyNEON(void) {} #endif // FANCY_UPSAMPLING - #if defined(__cplusplus) || defined(c_plusplus) } // extern "C" #endif diff --git a/src/dsp/yuv.h b/src/dsp/yuv.h index e00a3e56..16c30c90 100644 --- a/src/dsp/yuv.h +++ b/src/dsp/yuv.h @@ -100,7 +100,7 @@ static WEBP_INLINE uint8_t VP8YUVToG(int y, int u, int v) { } static WEBP_INLINE uint8_t VP8YUVToB(int y, int u) { - return VP8Clip8(kYScale * y + kUToB * u + kBCst); + return VP8Clip8(kYScale * y + kUToB * u + kBCst); } static WEBP_INLINE void VP8YuvToRgb(uint8_t y, uint8_t u, uint8_t v,