encoder: remove unused m_maxRefPicNum and m_maxNumOffsetsPerPic
entropy: nit
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