better token buffer code

(still not finished, but compiles and works ok)

Change-Id: I7002bf8017e31e7af34a53126072b625d23e2589
Merge "better token buffer code"
examples: logging updates

- send errors to stderr
- send help to stdout
- add image size to webpmux -info output and send to stdout
- correct webpmux exit values

Change-Id: Ifd8e8493aab33a82765f7b7903cef345d96da9ae
webpmux: make more use of WebPData

Add WebPDataCopy and use it in ReadImage which now returns WebPData*s.
Update ReadData prototype variables used with it to avoid unnecessary
const casting back and forth from void*.

Change-Id: I3f83db6729306eab0db9027b68706c8a7005ec10
manpages: add BUGS section

reorder sections to better match 'man man-pages'

Change-Id: I6cc3cd7f74b6cc6848c407cb1f042207c82f847e
Only recompute level_cost_[] when needed

Add a dirty_ flag to keep track of updated probabilities and the need to
recompute the level costs.
This only makes a difference for "-m 2" method which was sub-optimal.
But it's overall cleaner to have this flag.

Change-Id: I21c71201e1d07a923d97a3adf2fbbd7d67d35433
re-organize the error-handling in the main loop a bit

Change-Id: Id74298131df9c33a86b989e15c11ffb6d04960d8
makefile.unix: variable cosmetics

use CPPFLAGS to hold include paths, makes overriding CC a bit more
intuitive.

Change-Id: I6ecfc1957cae423dd150ebf37b878f1da6bbcef3
Merge "makefile.unix: variable cosmetics"
Merge "manpages: add BUGS section"
Merge "webpmux: make more use of WebPData"
gcc warning fix: remove the 'const' qualifier.

Change-Id: I47b8f147f54072cb9b62669efd78c7b958aa5c08
Merge "gcc warning fix: remove the 'const' qualifier."
NEON TransformOne

As with the loop filter, implementing this with intrinsics is difficult
because we require subscript access for reading and writing 32 bits at a
time.

Approximately 5% decode speed improvement. This could be increased by
exposing TransformOne and rewriting TransformTwo to only handle dual
IDCTs.

Change-Id: Idd409264ab5d154a537107a1d54b419a48f7c1a8
Merge "NEON TransformOne"
store prediction mode array as uint8_t[16], not int[16].

This allow faster copy and gives a little bit of speed-up

Change-Id: I5f478229766098630b53b8a4982442fe29290ee6
Merge "store prediction mode array as uint8_t[16], not int[16]."
use 32bit for storing dequant coeffs, instead of 16b.

is a tad faster

Change-Id: Ibef8f3b4f3f04a9a647098e5946f616e211a61cd
cosmetics & warnings

- remove some unused functions
- move global arrays from data to read only section
- explicitly cast malloc returns; not specifically necessary, but helps
  show intent
- miscellaneous formatting

Change-Id: Ib15fe5b37fe6c29c369ad928bdc3a7290cd13c84
Merge "cosmetics & warnings"