add generating script and the first version of codec_ver.h
use WELS_LOG_ERROR as default trace level in console app
modify WELS_LOG_WARNING as the default trace level
Make sure the random test bitrate is high enough

The ForceIntraFrame test will fail (giving up after 100 skipped
frames) if the bitrate is not set high enough.

Set the minimum bitrate to w*h/50, which is a very low value,
but which still should allow getting a non-skipped frame within
a few attempts.
Avoid rebuilds if the version header hasn't changed

When generating the version header, don't overwrite it if the
new version is identical to the old one.
If lowering the maximum number of ref frames, check iNumRefFrames as well

Make sure we don't set iMaxNumRefFrames lower than iNumRefFrames.

This fixes occasional test failures in
EncodeDecodeTestAPI.SetOptionEncParamExt.
add check for cabac_init_idc range in parsing
add fix for protection of wrong reading if input is invalid
put this file into good format
Merge pull request #1641 from mstorsjo/test-min-bitrate

Make sure the random test bitrate is high enough
Merge pull request #1643 from mstorsjo/check-num-refs

If lowering the maximum number of ref frames, check iNumRefFrames as well
Merge pull request #1649 from sijchen/fix_trace

[Encoder] fix a potential problem of trace
unify spsid for pic and add check for mb_qp_delta
Merge pull request #1648 from huili2/bugfix_cabacinitidc

add check for cabac_init_idc range in parsing
Merge pull request #1650 from huili2/bugfix_cabac_mbqpdelta

unify spsid for pic and add check for mb_qp_delta
Merge pull request #1638 from ruil2/default_trace

modify WELS_LOG_WARNING as the default trace level
Merge pull request #1634 from ruil2/trace

use WELS_LOG_ERROR as default trace level in console app
Merge pull request #1642 from mstorsjo/avoid-rebuilds

Avoid rebuilds if the version header hasn't changed
skip the git version hash in the header
Merge pull request #1603 from sijchen/add_ver1

add generating script and the first version of codec_ver.h