mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-15 13:29:54 +02:00
Compare commits
3 Commits
v0.4.2-rc2
...
v0.4.2
Author | SHA1 | Date | |
---|---|---|---|
6a2209aa36 | |||
36cad6abe8 | |||
e2ecae62f0 |
@ -1,3 +1,6 @@
|
||||
36cad6a bit_reader.h: cosmetics: fix a typo
|
||||
e2ecae6 enc_mips32: workaround gcc-4.9 bug
|
||||
243e68d update ChangeLog (tag: v0.4.2-rc2)
|
||||
eec5f5f enc/vp8enci.h: update version number
|
||||
0c1b98d update NEWS
|
||||
69b0fc9 update AUTHORS
|
||||
@ -51,7 +54,7 @@ fc3c175 dsp: detect mips64 & disable mips32 code
|
||||
c1a7955 cwebp.1: restore quality description
|
||||
57a7e73 correct alpha_dithering_strength ABI check
|
||||
6c83157 correct WebPMemoryWriterClear ABI check
|
||||
8af2771 update ChangeLog (tag: v0.4.1, 0.4.1)
|
||||
8af2771 update ChangeLog (tag: v0.4.1, origin/0.4.1, 0.4.1)
|
||||
f59c0b4 iosbuild.sh: specify optimization flags
|
||||
8d34ea3 update ChangeLog (tag: v0.4.1-rc1)
|
||||
dbc3da6 makefile.unix: add vwebp.1 to the dist target
|
||||
|
@ -20,6 +20,10 @@
|
||||
#include "../enc/vp8enci.h"
|
||||
#include "../enc/cost.h"
|
||||
|
||||
#if defined(__GNUC__) && defined(__ANDROID__) && LOCAL_GCC_VERSION == 0x409
|
||||
#define WORK_AROUND_GCC
|
||||
#endif
|
||||
|
||||
static const int kC1 = 20091 + (1 << 16);
|
||||
static const int kC2 = 35468;
|
||||
|
||||
@ -641,6 +645,7 @@ int VP8GetResidualCostMIPS32(int ctx0, const VP8Residual* const res) {
|
||||
GET_SSE_INNER(C, C + 1, C + 2, C + 3) \
|
||||
GET_SSE_INNER(D, D + 1, D + 2, D + 3)
|
||||
|
||||
#if !defined(WORK_AROUND_GCC)
|
||||
static int SSE16x16(const uint8_t* a, const uint8_t* b) {
|
||||
int count;
|
||||
int temp0, temp1, temp2, temp3, temp4, temp5, temp6, temp7;
|
||||
@ -742,6 +747,8 @@ static int SSE4x4(const uint8_t* a, const uint8_t* b) {
|
||||
return count;
|
||||
}
|
||||
|
||||
#endif // WORK_AROUND_GCC
|
||||
|
||||
#undef GET_SSE_MIPS32
|
||||
#undef GET_SSE_MIPS32_INNER
|
||||
|
||||
@ -759,9 +766,11 @@ void VP8EncDspInitMIPS32(void) {
|
||||
VP8TDisto4x4 = Disto4x4;
|
||||
VP8TDisto16x16 = Disto16x16;
|
||||
VP8FTransform = FTransform;
|
||||
#if !defined(WORK_AROUND_GCC)
|
||||
VP8SSE16x16 = SSE16x16;
|
||||
VP8SSE8x8 = SSE8x8;
|
||||
VP8SSE16x8 = SSE16x8;
|
||||
VP8SSE4x4 = SSE4x4;
|
||||
#endif
|
||||
#endif // WEBP_USE_MIPS32
|
||||
}
|
||||
|
@ -156,7 +156,7 @@ static WEBP_INLINE void VP8LSetBitPos(VP8LBitReader* const br, int val) {
|
||||
}
|
||||
|
||||
// Advances the read buffer by 4 bytes to make room for reading next 32 bits.
|
||||
// Speed critical, but infrequent part of the code can be non-inligned.
|
||||
// Speed critical, but infrequent part of the code can be non-inlined.
|
||||
extern void VP8LDoFillBitWindow(VP8LBitReader* const br);
|
||||
static WEBP_INLINE void VP8LFillBitWindow(VP8LBitReader* const br) {
|
||||
if (br->bit_pos_ >= VP8L_WBITS) VP8LDoFillBitWindow(br);
|
||||
|
Reference in New Issue
Block a user