Print video info with lavf/ffms demuxer
don't print useless info from libav
AviSynth 16bit hack
Skip bit depth filter when possible
Use f3kdb for bit depth conversion when needed

This fixes high bit depth AviSynth input with input-depth != 16 or BIT_DEPTH
Detect color matrix with lavf/ffms demuxer
Fix AviSynth color space converting matrix
Fix swscale color space converting matrix
Support "dgi" file extension
Support "vpy" file extension
Support invoking LSMASHSource in avs demuxer
Variable progress precision, print encoded file size & estimated total size

This patch may cause progress indicator to exceed console width limit.
Try to increase width of console window to avoid the problem.
don't show opencl help in opencl disabled builds
version: print whether opencl is disabled or enabled
x86: Remove X264_CPU_SSE_MISALIGN functions

Prevents a crash if the misaligned exception mask bit is cleared for some reason.

Misaligned SSE functions are only used on AMD Phenom CPUs and the benefit is miniscule.
They also require modifying the MXCSR control register and by removing those functions
we can get rid of that complexity altogether.

VEX-encoded instructions also supports unaligned memory operands. I tried adding AVX
implementations of all removed functions but there were no performance improvements on
Ivy Bridge. pixel_sad_x3 and pixel_sad_x4 had significant code size reductions though
so I kept them and added some minor cosmetics fixes and tweaks.
x86: Faster AVX2 pixel_sad_x3 and pixel_sad_x4
x86: SSSE3 implementation of pixel_sad_x3 and pixel_sad_x4
Transparent hugepage support

Combine frame and mb data mallocs into a single large malloc.
Additionally, on Linux systems with hugepage support, ask for hugepages on
large mallocs.

This gives a small performance improvement (~0.2-0.9%) on systems without
hugepage support, as well as a small memory footprint reduction.

On recent Linux kernels with hugepage support enabled (set to madvise or
always), it improves performance up to 4% at the cost of about 7-12% more
memory usage on typical settings..

It may help even more on Haswell and other recent CPUs with improved 2MB page
support in hardware.

Conflicts:
	configure
Fix AVX2 detection bug on some CPUs