Android.mk: avoid gcc-specific flags with clang

Change-Id: Idb1ed2bb1dd5d9f65ca07185ef9838e587dc4e64
dec_neon.c: add TransformAC3

based on SSE2 version

Change-Id: Icc6782955253c98e83d5984153b596ef5f1c0d34
MIPS: MIPS32r1: clang macro warning resolved

.set macro - Enables the expansion of macro instructions.

Change-Id: I1e44fe056798aeff803cc97171724d21da1fc2bf
WebP Decoder: Mark some truncated bitstreams as invalid

Specifically, check for truncated RIFF and/or VP8(L) chunks.

For more context, see:
https://code.google.com/p/webp/issues/detail?id=185

Change-Id: I91ca2dbf05080660fbc513244fc53adc57fc04b5
Merge "MIPS: MIPS32r1: clang macro warning resolved"
VP8LBitWriter: use a bit-accumulator

* simplify the endian logic
* remove the need for memset()
* write 16 or 32 at a time (likely aligned)

Makes the code a bit faster on ARM (~1%)

Change-Id: I650bc5654e8d0b0454318b7a78206b301c5f6c2c
Merge "dec_neon.c: add TransformAC3"
Optimize cache estimate logic.

Optimize 'VP8LCalculateEstimateForCacheSize' for lower quality ranges (Q < 50).
The entropy is generally lower for higher cache_bits, so start searching from
higher cache_bits and settle for a local minima, instead of evaluating all
values.

This speeds up the lossless encoding at lower qualities by 10-15%.

Change-Id: I33c1e958515a2549f2e6f64b1aab3f128660dcec
Increase initial buffer size for VP8L Bit Writer.

Increase the initial buffer size for VP8L Bit Writer from 4bpp to 8bpp.
The resize buffer is expensive (requires realloc and copy) and this additional
memory (0.5 * W * H) doesn't add much overhead on the lossless encoder.

Change-Id: Ic1fe55cd7bc3d1afadc799e4c2c8786ec848ee66
fix missing __BIG_ENDIAN__ definition on some platform

e.g: mips-gcc doesn't define __BIG_ENDIAN__

Change-Id: Ic06bf453164ddddc69a523e7845a4993e14a1af2
Merge "fix missing __BIG_ENDIAN__ definition on some platform"
cosmetics: backward_references.c: reindent after a7d2ee3

a7d2ee3 Optimize cache estimate logic.

Change-Id: I81dd1eea49f603465dc5f3afae8a101e5205e963
Merge "cosmetics: backward_references.c: reindent after a7d2ee3"
fix VC12-x64 warning

"conversion from 'vp8l_atype_t' to 'uint8_t', possible loss of data"

Change-Id: I7607a688d16aca8fae8ce472450f8423c48f3a26
1-2% faster quantization in SSE2

C-version is a bit faster too (sub-1% faster on ARM)

Change-Id: I077262042f1d0937aba1ecf15174f2c51bf6cd97
use static clipping tables

(shared with mips32)
removed abs1[] table along the way

sub-1% speed-up, but still...

Change-Id: I8c29a8a0285076cb3423b01ffae9fcc465da6a81
add missing file

Change-Id: I17eab2fedc64ee3bba941a592ecef765fcd2b402
dec_neon.c: convert TransformDC to intrinsics

no noticeable difference in performance

Change-Id: Ia2d287289c3865ddd0fc99edaf7a030778aa7025
Rescale: let ImportRow / ExportRow be pointer-to-function

Separate the C version from the MIPS32 version and have run-time
initialization during RescalerInit()

Change-Id: I93cfa5691c073a099fe62eda1333ad2bb749915b
dec_neon: add SaturateAndStore4x4

converts 2 s16 vectors to 2 u8 and store to uint8_t destination;
TransformAC3 can reuse this after a rework

Change-Id: Ia9370283ee3d9bfbc8c008fa883412100ff483d0