cosmetics

fix some indent/whitespace, remove a few duplicate includes, extra
semi-colons

Change-Id: If937182b40a21e0f2028496e7b4b06c6e8a41352
This commit is contained in:
James Zern 2014-08-06 07:22:29 +02:00
parent b5a36cc9ad
commit e300c9d819
6 changed files with 14 additions and 14 deletions

View File

@ -11,7 +11,7 @@
// //
// Author: Skal (pascal.massimino@gmail.com) // Author: Skal (pascal.massimino@gmail.com)
#include "vp8i.h" #include "./vp8i.h"
#include "../utils/bit_reader_inl.h" #include "../utils/bit_reader_inl.h"
#define USE_GENERIC_TREE #define USE_GENERIC_TREE

View File

@ -1169,7 +1169,7 @@ static void ColorSpaceInverseTransform(const VP8LTransform* const transform,
data += remaining_width; data += remaining_width;
} }
++y; ++y;
if ((y & mask) == 0) pred_row += tiles_per_row;; if ((y & mask) == 0) pred_row += tiles_per_row;
} }
} }

View File

@ -508,7 +508,7 @@ static void StoreSideInfo(const VP8EncIterator* const it) {
} }
case 7: *info = mb->alpha_; break; case 7: *info = mb->alpha_; break;
default: *info = 0; break; default: *info = 0; break;
}; }
} }
#if SEGMENT_VISU // visualize segments and prediction modes #if SEGMENT_VISU // visualize segments and prediction modes
SetBlock(it->yuv_out_ + Y_OFF, mb->segment_ * 64, 16); SetBlock(it->yuv_out_ + Y_OFF, mb->segment_ * 64, 16);

View File

@ -155,9 +155,9 @@ static void SubMem(void* ptr) {
} }
#else #else
#define Increment(v) do {} while(0) #define Increment(v) do {} while (0)
#define AddMem(p, s) do {} while(0) #define AddMem(p, s) do {} while (0)
#define SubMem(p) do {} while(0) #define SubMem(p) do {} while (0)
#endif #endif
// Returns 0 in case of overflow of nmemb * size. // Returns 0 in case of overflow of nmemb * size.