me: add a two pixel pad to the max ME range when calculating reference lag

We must account for subpel refine search range when calculating how many rows
of reference frames must be encoded ahead of the current frame.  Without this
we saw non-deterministic decoder hash mismatches with some videos.

--HG--
branch : stable
fix SATD32x32 16bits cumulate sum overflow (x86 version only)

--HG--
branch : stable
wavefront: add missing initializer

--HG--
branch : stable
WeightPrediction: check difPoc <= bframes+1 to allow weight analysis for valid references

--HG--
branch : stable
extra : rebase_source : dce1f0bf58421742e66923d2e70be38ac674b556
common: do not allow encodes other than 4:2:0 to start

--HG--
branch : stable
extra : rebase_source : 08dcb5cdc4fb6ab3e2cb397fbffc6dba9c88ca78
me: add one more pixel lag for DIA search's relaxed search bounds

--HG--
branch : stable
extra : rebase_source : 5ec45b337fa6b9fb0763fef0be3cc5b04742962d
frameencoder: remove commented function which no longer exists

compressMotion() was removed 4 months ago

--HG--
branch : stable
common: prevent 8bit encodes with HIGH_BIT_DEPTH builds

Some of the interpolation 16bpp assembly routines make assumptions that the
encode depth is 10bits, so HIGH_BIT_DEPTH builds will generally cause decoder
hash mismatches if they encode 8bpp streams.  Prevent this until we have a
proper long term solution.

--HG--
branch : stable
x265: allow only 10-bit input depths in HIGH_BIT_DEPTh builds

--HG--
branch : stable
slicetype: fix initial threshold passed to slicetypePathCost

--HG--
branch : stable
rc: bug fix in crf mode ;correct qscale set for all the frames.

--HG--
branch : stable
compress: insert check for merge MV candidates.

--HG--
branch : stable
extra : amend_source : 2e1e9a8ea0e57f9833306230a364d17c8b4b2b50
nit: line up WPP log info with other config items

--HG--
branch : stable
asm: fix overflow due to pixel_satd asm function for 64-bit build

--HG--
branch : stable
asm: fix for 32-bit build satd overflow issue.

--HG--
branch : stable
asm: fixed hash mismatch on 16bpp due to intra_pred_ang

--HG--
branch : stable
asm: modified pixel_sad asm function to avoid overflow

--HG--
branch : stable
common: consolodate malloc/free funcdefs to common.h

--HG--
branch : stable
wavefront: use x265_malloc for bitmaps, to ensure alignment

--HG--
branch : stable
wavefront: eliminate redundant reads of m_queuedBitmap

--HG--
branch : stable