add return value processing
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
add level 9 supporting
adjust the param validation of max bit rate
Merge pull request #1534 from syureyi/level9

add level 9 supporting
Merge pull request #1526 from ruil2/max_nal_size

add return value processing
Merge pull request #1536 from sijchen/improve_br_valid

[Encoder] adjust the param validation of max bit rate