Cast to the right data type to avoid comparison warnings in gcc
Merge pull request #1528 from mstorsjo/fix-warnings

Cast to the right data type to avoid comparison warnings in gcc
add total length in encoder output and complete most of the statistis calculation
Merge pull request #1530 from sijchen/after_review

[Encoder] add total length in encoder output and complete statistics
add EC method to freeze sequence when resolution changed and decoding IDR error
Use the right data type for a variable

Both pNalLengthInByte[] that are accumulated, and sFbi.iFrameSizeInBytes
that it is compared to, are plain 'int', not 'uint32_t'.

This fixes warnings about comparison between signed and unsigned.
Merge pull request #1531 from mstorsjo/use-right-type

Use the right data type for a variable
Reduce the number of rounds in DecoderCrashTest

Currently this one single test accounts for 12-20% of the total
runtime of running the unit test suite.
Use & 0xff instead of WELS_CLIP3(, 0, 255)

This speeds up the whole EncoderInterfaceTest to about double
the speed from before.
Merge pull request #1532 from huili2/new_EC_IDR_reschange

add EC method to freeze sequence when resolution changed and decoding IDR error
Merge pull request #1533 from mstorsjo/speedup-tests

Speed up some slow tests in the unit test suite
Merge remote-tracking branch 'upstream/master' into travis.android