fix cabac encoding bug -- don't get the correct previous mb qp
EC UT fail bug fix
rename parameters
    add maxnalsize control for gmp wrapper
Merge pull request #1517 from ruil2/cabac_qp

fix cabac encoding bug -- don't get the correct previous mb qp
Merge pull request #1518 from huili2/ec_UT_0_bugfix

EC UT fail bug fix
fix a calculation of fAverageFrameRate
fix bug of parse error return for VCL data
Merge pull request #1522 from sijchen/after_review

[Encoder] fix a calculation of fAverageFrameRate
Merge pull request #1524 from huili2/parse_err_return_bug_fix

fix bug of parse error return for VCL data
fix mv clip at right boarder
Merge pull request #1519 from ruil2/max_nal_size

    add maxnalsize control for gmp wrapper
add return value processing
Merge pull request #1525 from dongzha/FixbuginMVClip

fix mv clip at right boarder
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.