Merge pull request #2108 from HaiboZhu/Bugfix_ResetDecoder
Bug fix with add DecoderConfigParam in ResetDecoder
Merge pull request #2105 from ruil2/valid
update UT that makes input width or height more than 16
Merge pull request #2104 from ruil2/valid
exception case for width or height is less than 16
Merge pull request #2099 from nathankidd/master
Merge pull request #2100 from nathankidd/fix-CPU_COUNT-error
Only use CPU_COUNT if available
Merge pull request #2096 from ruil2/rc0
Use stdbool.h with Visual Studio 2013 or higher
use individual iDecompositionStages for each spatial layer
Merge pull request #2091 from HaiboZhu/Bugfix_CheckRefPicturesComplete_FMO_enable
Merge pull request #2088 from shihuade/RDBugFixed_V2.1_Push
Fix the bug that calculate mbAddr error when FMO enable
replace LayerBsInfo with FrameBsInfo in thread-based private data structure
Merge pull request #2083 from HaiboZhu/Bugfix_OutOfMemory_post_process
Merge pull request #2081 from HaiboZhu/Change_InitDecoder_Trace
Force reset decoder when out of memory error
Add bParseOnly flag into Trace
Merge pull request #2079 from HaiboZhu/Change_ParserBsInfo_resolution
Change the SParserBsInfo resolution to actual value
Merge pull request #2077 from shihuade/RDBugFixed_V2.0_01
bug-fixed----left length of destination buffer for writing slice bs
Merge pull request #2075 from sijchen/fix_abnormal_tid
Merge pull request #2076 from ruil2/rc0
convert maxqp and minqp to encoder
change the solution when invalid tid is found
Merge pull request #2074 from HaiboZhu/Bugfix_max_ref_pic_count_error
Merge pull request #2073 from GuangweiWang/sub8x8asmUT
Merge pull request #2072 from sijchen/fix_readcfg
Add MAX_DPB_COUNT equals to MAX_REF_PIC_COUNT + 1 to set the size of RefList
Merge pull request #2071 from HaiboZhu/Bugfix_Encoder_DetectSceneChangeScreen_overflow
fix the range of writable cfg to avoid problem
Add default when iCurTId invalid
Merge pull request #2070 from HaiboZhu/Bugfix_Emulation_prevention_three_byte
Merge pull request #2069 from huili2/bugfix_rplr_num_overflow
Add protection about emulation_prevention_three_byte error bytes
prevent error RPLR number overflow case
Merge pull request #2065 from HaiboZhu/Bugfix_RPLR_logic
Merge pull request #2063 from HaiboZhu/Add_EC_memcpy_protection
Merge pull request #2060 from HaiboZhu/Bugfix_default_value_chroma_array_type
Merge pull request #2059 from sijchen/mt52
Add protection for memcpy overlap
Fix the RPLR logic error when picNumLX <= refIdxLX
Add default value for ChromaArrayType to avoid NO value
1, refactor to remove similar function (WriteSliceToFrameBs is removed)
add UT for sub8x8 modes assembly functions
Merge pull request #2054 from HaiboZhu/Bugfix_pps_update_logic
Fix the pps update logic error
Merge pull request #2051 from huili2/sh_check_slice_type
add slice_type check for num_ref_frame
Merge pull request #2049 from ruil2/rc6
Merge pull request #2047 from huili2/T1_error_handling
bugfix for T1 error decoder dealing
Merge pull request #2039 from shihuade/NewSHA1TableV1.3
Merge pull request #2040 from mstorsjo/fix-warnings
Avoid warnings about comparison between signed and unsigned
Merge pull request #2038 from HaiboZhu/Bugfix_disable_redundant_picture
Merge pull request #2035 from HaiboZhu/Bugfix_width_height_level_limit_check
Merge pull request #2034 from HaiboZhu/BugFix_CheckAccessUnitBoundaryExt
syn/unify with local SHA1 script and update SHA1 tables
Merge pull request #2032 from GuangweiWang/sub8x8asm
Merge pull request #2033 from HaiboZhu/Bugfix_FMO_judgement_error
Merge pull request #2028 from sijchen/mt42
Disable redundant picture to avoid the memory overflow
Merge pull request #2031 from mstorsjo/astyle-tabs
Fix the bug that decoder not return when level limit occur
Fix max slice group number judgement error in FMO
Fix logic errors in CheckAccessUnitBoundaryExt
Merge pull request #2029 from mstorsjo/remove-tabs
Make astyle convert tabs to spaces
Remove unnecessary tabs in the middle of lines
Merge pull request #2027 from sijchen/dbp2
Add new x86 assembly functions to support sub8x8 mode
Merge pull request #2023 from ethanhugg/refcount
Merge pull request #2024 from huili2/submbtype_modif
save memory usage and improve error return logic under VLCOVERFLOW
use func pointer for deblocking to save judgements at each slice
Merge pull request #2026 from sijchen/fix_rc
Add new ARM AArch64 assembly functions to support sub8x8 mode
let qp clip to min/max qp available in all rc settings, so as to avoid qp exceed 51
add new AArch32 asm functions to support sub8x8 mode
modify sub_mb_type to be faster, and fix a function nam typo
Change GMP code to RefCount instead of deleting on enc/decode complete.
Merge pull request #2020 from brion/emscripten
Merge pull request #2022 from sijchen/fix_slc
Merge pull request #2021 from sijchen/mt32
put pSliceBsBuffer to thread buffer rather than per slice, so as to save memory usage
Allow compilation to JavaScript via emscripten
fix a first-mb judgement and enablings a test
Merge pull request #2015 from huili2/sub8_final
Merge pull request #2013 from sijchen/mem10
add sub8x8 mode decision functions
refactor for future simplification
Merge pull request #2010 from sijchen/mt2
correct the termination of error handling under multi-thread
Merge pull request #2011 from mstorsjo/fix-arflags
Merge pull request #2004 from sijchen/ps55