encoder: remove unused m_maxRefPicNum and m_maxNumOffsetsPerPic
entropy: nit

--HG--
extra : amend_source : 82a5d3c05ef49ccf3f6d9d65f2e225ac55221b7b
cudata: nits
analysis: cleanup early-skip
api: improve documentation of x265_encoder_encode
slice: move coloc/tmvp flag setting all to one place
slice: remove redundant initSlice(), m_numRefIdx[] is set by DPB unconditionally
move slice setup together into one function, reorder functions for clarity
frameencoder: remove getSAO() access method; delay allocation of SAOParam
framefilter: initialize saoRowDelay just once
search: move all init code into TEncSearch::initSearch()

TEncSearch owns all the objects being initialized
search: simplify verbage, fix white-space, no logic change
white-space and brace nits
quant: do not malloc the EstBitsSbac structure, pass by reference
quant: remove dead comment
quant: simplify setQPforQuant
quant: cleanup signBitHidingHDQ()
quant: cleanups
quant: nits
quant: cleanup initialization; catch malloc failures. rename m_tmpCoeff

--HG--
extra : amend_source : a0691cf660a928a11de85b776d3a712ceb1085d8