Merge pull request #2127 from huili2/repos_DecoderConfigParam
move DecoderConfigParam into InitDecoder
Merge pull request #2124 from HaiboZhu/Bugfix_Duplicate_frame_num
Merge pull request #2122 from sijchen/fixsimul
Check the duplicate frame_num in short ref list
fix for simulcast case when the frame rate of lower resolution is higher, and add test case
Merge pull request #2119 from sijchen/size_limit
fix a size range to avoid triggering latest constraints of input
Merge pull request #2116 from mstorsjo/remove-tab-indentation
Merge pull request #2115 from fstd/support_netbsd_2
Consolidate BSD build to support NetBSD and OpenBSD as well
Merge pull request #2118 from ruil2/valid1
Merge pull request #2117 from mstorsjo/fix-arm-binutils
Fix indentation to consistently use spaces instead of tabs
Fix building down_sample_neon.S with gnu binutils
Build successfully on OpenBSD (which lacks sysctlbyname(3))
Merge pull request #2111 from GuangweiWang/downsampler
add new c and assembly functions to optimize downsampler when downscale equal 1:3/1:4
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