slicetype: adjust variable scoping to avoid GCC warnings
asm: fix HIGH_BIT_DEPTH link problems
cli: free param structures on early-outs
rc: bug fix  - m_avgQpAq can be from 0-69.

It is already set within RateControl
cli: nits. fix typo
refactor: cleanup setting up of lambda

move initialising qp and lambda manipulations in one place.
remove TEncSearch::setQP - misleading function name.
predict: prevent MSVC warning about int to bool conversion
predict: nits

--HG--
extra : amend_source : c21ee08165dd071bad2ac136dfd7f7c29976fede
scaling: remove s_numListsAtSize[], it is 6 at every size
scaling: remove array of rarely used trivially calculated values
asm: integrate denoise_dct, malloc NoiseReduction for alignment
move m_estBitsSbac from Quant to Entropy

--HG--
extra : amend_source : 990b50a8f7f1357bf25caf8e61a5b3688a3aa7e8
quant: remove extra upshift by 4 in s_invQuantScales

Adding 4 to unQuantPer was a bug, since unQuantScale was already upshifted by 4.

--HG--
extra : rebase_source : 9645b1854b2fb4efe5edb454cf06d97f6c1bc9e5
quant: simplify UNQUANT() variables

--HG--
extra : rebase_source : e737508434bb7a7eca0951e9186c038042756f81
quant: update comment for UNQUANT macro
quant: typo
fix HIGH_BIT_DEPTH compile on Windows

something included by predict.h breaks pixel-util.h for MSVC; so move the filter
table to common.h. It wasn't quite proper for asm-primitives.cpp to include a
header from encoder/ anyway.
slicetype: initialise lowmode to 4.