vpxenc: add --aq-mode flag to control adaptive quantization

Change-Id: I57e1ad4bed3487df12893ced77c49093f8755706
Take out assertion from inverse transforms

Separate the rounding and right shift operations of forward transform
from those of inverse transform. Take out the assertion check from
inverse transforms. If the transform coefficients were constructed to
cause intermediate steps of inverse transform overflow, the codec will
just let it overflow without breaking the decoding flow.

Change-Id: I73cfc3706c4e840fc543a77cbc4cdb0b05d07730
Removing PARAMS macro for consistency

Change-Id: I23ed873a6c47b15491a2ffbcdd4f0fdeef1207a0
Cleaning up entropy probability update in encoder.

Change-Id: I94cb9e3d910dff74bf90906dd96e3a4e06ebdbe6
Merge "vpxenc: add --aq-mode flag to control adaptive quantization"
Fix stack pointer in sub-pixel filters

In commit "3d50da5397d20abc932d81453b26cde758293a40", the stack
pointer was modified while aligning the stack, and it needed to
be pop out at the end.

Change-Id: I062971e195f1f2ab9d0ab5fb84dcf215a0fcaa67
remove the model and copy in pack_mb_tokens

Change-Id: I00a5203c8ed76c184d936fccf93d76e7c06773d3
Merge "Take out assertion from inverse transforms"
Support for extended feature flags enumeration leaf in CPUID instruction

This CL fixes an overcite with the AVX2 support CL previously
merged (Change-Id: Idc03f3fca4bf2d0afd33631ea1d3caf8fc34ec29) that
prevented runtime execution of AVX2 code in WebM. 

Background:
Starting with the Sandybridge processor, the CPUID instruction was
enhanced to add various extended feature flag enumeration leaves.
Reading these leaves requires an additional input value for the CPUID
instruction which is stored in ECX. This change adds this second input
value for all ARCH_X86 and ARCH_x86_64 targets to the CPUID macros,
allowing checks of EBX bit 5 for AVX2 support. This capability will be
required moving forward to check for future processor features.

Change-Id: Ie9d872bc9ff68dad4b6578e4544e4dfd0ae26c36
Clean up removal of vp9_pareto8 table.

Change-Id: I5556e8d1fc150be8a3e93af21900829b59a500dc
Merge "remove the model and copy in pack_mb_tokens"
Remove unnecessary eob checking.

Change-Id: Ia568f70bddc1a2b62141a0197459119ca74c22b5
Merge "Support for extended feature flags enumeration leaf in CPUID instruction"
Adding MV_FP_SIZE constant.

Change-Id: I98d750ee92ff51fb714980418ea28be3b1d0f3c6
Using is_inter_block() and has_second_ref() functions.

Change-Id: Iadd771a33c8874f3b774923bca4da3c8fe5429ee
Merge "Clean up removal of vp9_pareto8 table."
Removing plane_block_{width, height} functions.

Change-Id: I29c0dfcf41a1253d5e2a0d2ff740c0c38ebaa5a2
Correct ssse3 8/16-pixel wide sub-pixel filter calculation

Although no mismatch was indicated for 8/16 wide sub-pixel filters
in issue 661, they had similar problems that could cause mismatch
potentially. This patch fixed calculations in HORIZx8/16
and VERTx8/16.

Change-Id: I169961c9d40a20340995b7d22aafc89ccf30bfca
Using txfrm_block_to_raster_xy() in encoder.

Change-Id: Ibe847000467fe46bf8ce87d8f1ef8f2d5ad1eaf4
Removing old code.

Change-Id: I67d1681c7b17661deb792c5e6a9e2014a73ff9b7