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]
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.
param: fix handling of --no-scenecut within x265_param_parse(), add --no-b-adapt
primitves: update CPU name print logic from x264
testbench: improve CLI help and error handling, use parseCpuName