mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 22:28:22 +01:00
cosmetics
fix some indent/whitespace, remove a few duplicate includes, extra semi-colons Change-Id: If937182b40a21e0f2028496e7b4b06c6e8a41352
This commit is contained in:
parent
b5a36cc9ad
commit
e300c9d819
@ -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
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user