refactor --for BaseEncoderTest
Make sure the width/height is large enough in SetOptionEncParamExt

When using 4 downsampled layers, make sure the random width/height
is large enough that the downsampled layers don't have a zero size.

Since the value never will be too small now, there's no need to
use WELS_CLIP3 any longer.
Avoid warnings about converting from int to bool

MSVC used to warn about this.
Add a cast when converting from int64_t to float

This avoids a warning when building with MSVC.
add validation of slice parameters instead of assert
Merge pull request #1472 from mstorsjo/fix-test-random

Make sure the width/height is large enough in SetOptionEncParamExt
Merge pull request #1478 from sijchen/after_review61

[Encoder] add validation of slice parameters instead of assert
Merge pull request #1477 from mstorsjo/avoid-msvc-warnings

Avoid warnings when building with MSVC
Set constraint set 0 and 1 flags for non-scalable as well

This allows decoders to know that a baseline stream doesn't
contain any of the features that aren't in the constrained
baseline subset.

Set the flags based on what profile we target.
Merge pull request #1476 from mstorsjo/sps-constraints

Set constraint set 0 and 1 flags for non-scalable as well
Merge pull request #1469 from shihuade/APIUTV1.5.2

refactor --for BaseEncoderTest
add decoder cabac support and add  UT
add setoption trace
modify macro STICK_STREAM_SIZE	// For Demo interfaces test with track file of integrated frames
add macro NO_DELAY_DECODING	// For Demo interfaces test with no delay decoding
Merge pull request #1480 from dongzha/cleanCabacDecoder

add decoder cabac support and add  UT
Merge pull request #1482 from ruil2/cabac_refine

add setoption trace
Merge pull request #1483 from dongzha/EnhanceDecConsole

modify console code for Demo interfaces test (this is reviewed at: https://rbcommons.com/s/OpenH264/r/890/)
Remove the executable bit from new test sequences
Remove variables that are set but not used

This fixes build warnings with gcc.
pass each frame timestamp to codec