Merge from stable
all_angs_pred_32x32, asm code improvement
Merge with stable
asm: 10bpp code for vertical luma interpolation filters.
Merge with stable
api: expose X265_BFRAME_MAX to the user
log: report consecutive B-frame histogram, as x264 does
asm: cleanup 444 chroma primitive setup, and other primitve reuse
tune: ensure lookahead is disabled for zero-latency
asm: enable count_nonzero for HIGH_BIT_DEPTH
square transform only
Merge with stable
weightp: use struct to cache data for reuse, refactor MC of reference planes

* do not consider intra/mv cost during MC phase
* unconditionally motion-compensate luma and chroma blocks
* include slice header cost estimate in weight analysis
* weightCost() needed different paths for luma, chroma, and chroma444
* pass a single stride to weightCost()
asm: split SAO_EO_0 into separate primitive func

added assembly code and testbench support
added loopfilter.cpp, loopfilter.h, loopfilter.asm files
weightp: implicit cast warning on vc10-x86.

Is lambda intended to be int?
copy m_origYuv[depth] from m_origYuv[0]

--HG--
extra : rebase_source : 2636a7090c6201ce84f1debdd84487e91843ad05
cli: replace --cpuid with --[no-]asm arguments

The vector class library is long gone, so it is past-due to adopt x264's
logic for specifying CPU architectures, or disabling ASM altogether.

--HG--
extra : rebase_source : 4ef41595927d95e6ba9e752cfbe1e68ccb845ce3
param: fix handling of --no-scenecut within x265_param_parse(), add --no-b-adapt

--HG--
extra : rebase_source : 998ba0b2c050dd7755a34eda4245dce476f6f459
primitves: update CPU name print logic from x264

--HG--
extra : rebase_source : 2edc68469b130796b4908d0cde59d105f4a4cfdc
testbench: improve CLI help and error handling, use parseCpuName

--HG--
extra : rebase_source : 4745deb2851d3b600ff2909f4564a01d476c940a