http://hg.videolan.org/x265/rev/dea7136dce65
new aq implementation It scales the quantization step size according to the spatial activity of one coding unit relative to frame average spatial activity. This AQ method utilizes the minimum variance of sub-unit in each coding unit to represent the coding units spatial complexity.
代码改动较多,这里不再贴出来。