fix sizeof() bug
Merge pull request #385 from ruil2/encoder_update

  fix sizeof() bug
Initialize sSpatialLayers[0] in SEncParamExt for GetDefaultParams
Fix cropping when using SEncParamBase

The iFrameWidth/iFrameHeight fields are already aligned by the
SetActualPicResolution() function. Previously when iFrameWidth was
aligned directly in ParamBaseTranscode, this aligned value was used
to set iActualWidth/iActualHeight - losing the original, cropped
size.

This makes sure the output bitstream from the test of encoding
res/Static_152_100.yuv actually is cropped as it should.
Merge pull request #389 from mstorsjo/fix-cropping-param-base

Fix cropping when using SEncParamBase
Use gtest functions for comparing hash strings

This prints the mismatched strings if the test failed,
simplifying managing and updating the test suite.
add timestamp in encoder interface
Add a test with sliced encoding

This serves as a simple test of the thread library.
Merge pull request #394 from ruil2/encoder_update

add timestamp in encoder interface --- review request#138
Use a standard macro for 64 bit printf conversion specifiers

This avoids duplicating the printf line with an ifdef every
time a 64 bit number needs to be printed.
Unify ifdef conditions related to threading code

The two different variants of the threadlib basically are
win32 and unix - use _WIN32 to check for this consistently,
instead of occasionally using __GNUC__ to enable the unix
codepath. (__GNUC__ is also defined on mingw, which still is
a windows platform and should use the _WIN32 code.)
Merge pull request #390 from mstorsjo/gtest-strcmp

Use gtest functions for comparing hash strings
Merge pull request #391 from mstorsjo/threaded-test

Add a test with sliced encoding
Merge pull request #388 from mstorsjo/initialize-default

Initialize sSpatialLayers[0] in SEncParamExt for GetDefaultParams
Merge pull request #392 from mstorsjo/unify-threading-ifdefs

Unify ifdef conditions related to threading code
Merge pull request #395 from mstorsjo/printf-64bit-macro

Use a standard macro for 64 bit printf conversion specifiers
Merge branch 'master' of https://github.com/cisco/openh264