Fix VBV
Fix VBV with true VFR streams
x264asm: warn when inappropriate instruction used in function with specified cpuflags
Fix inappropriate instruction use
Fix few clang -Wunused-* warnings
Shut up clang -Wuninitialized warning
Shut up gcc -Wuninitialized warnings
Support case-independent string options
checkasm: Serialize read_time() calls on x86

Improves the accuracy of benchmarks, especially in short functions.

To quote the Intel 64 and IA-32 Architectures Software Developer's Manual:
"The RDTSC instruction is not a serializing instruction. It does not necessarily
wait until all previous instructions have been executed before reading the counter.
Similarly, subsequent instructions may begin execution before the read operation
is performed. If software requires RDTSC to be executed only after all previous
instructions have completed locally, it can either use RDTSCP (if the processor
supports that instruction) or execute the sequence LFENCE;RDTSC."

RDTSCP would accomplish the same task, but it's only available since Nehalem.

This change makes SSE2 a requirement to run checkasm.
x86: AVX2 high bit-depth var_16x16

40->27 cycles on Haswell.
libx264 API usage example
Safety check against malicious high bit-depth input which could cause crash
Add support --chapter/--no-container-sar/--no-remux/--fragments.

These are L-SMASH MP4 muxer specific options.
version
Increase the temporal buffer size for Unicode support

Although the maximum size of one character in UTF-16 is 4bytes,
sizeof(wchar_t) is 2bytes on Windows.
Also, non-ASCII characters requires 2bytes in ANSI code page.
The existing buffer size is insufficient.
Film Grain Optimization
Fade Compensation
Log file
Encoding time
Add "--show-param2" option and more precision to the CRF logging.

This is based on komisar's cosmetic patch.
Some people don't like it to show most of settings while encoding.