Fixing typo in cal_nmvjointsadcost().

Change-Id: I7be6675c68db330d69c541bd9341a7b8e91351d9
Rewriting calc_plane_error() function.

Change-Id: I06bb077edd4917b967fefe28bf4891b61b4f79b5
Replacing magic constants with expressions.

Change-Id: I434682bbd4cb2089cd213d77ed5a5e06256dc45d
Removing unused seg0_* vars.

Change-Id: I87b0668e23c54429a06bba85437606c4780be9ba
Cleaning up vp9_refining_search_sadx4() function.

Change-Id: I47a7148bf746f61d0c4947f9b22624a8c071359f
Removing XMA legacy from VP9 code.

Change-Id: I5e9dfc50b6312848df8c3b8276f6b4d0c7ff9cf9
Making frame_branch_ct a local array.

Change-Id: Id79ed3b87fd6055e96738af53eb964addd0b918b
tools_common.h: (msvs) avoid redefining off_t

in some configurations MSVS will define _off_t / off_t in wchar.h; the
former is used locally while the latter is for compatibility. this
change overrides off_t as in the past and sets _OFF_T_DEFINED to prevent
a clash in types.

Change-Id: I9b0e6db586a0a2729b545d93edfc56570d2fcf97
Adjust key frame quantization index for rtc coding

This commit slightly increases the bit allocation for key frame. This
improves speed -5 coding performance by 2.77% with aq-mode=0 and by
2.78% with aq-mode=3.

Change-Id: Iaa3e777f80b9706306606af06e89852bac146659
Merge "Fixing typo in cal_nmvjointsadcost()."
Fix complexity Aq mode.

This was broken by change
Icc4b66f3935fad5ec4516a4d57e843d12c365e64

Change-Id: I49e3fc525664eb7a433f55f76b8f8628fe251eab
Merge "Making frame_branch_ct a local array."
Reinstating the DISABLE_RC_LONG_TERM_MEM macro

Reinstates this macro and truns it on in order to avoid issues
due to some frames at the end starving in harder videos.
A more acceptable solution is in the works.

Change-Id: I3c46148e86fa6114e3fed245246fb3686a9e6700
Merge "Removing XMA legacy from VP9 code."
Remove full scale duplicates of bsize.

Change-Id: I28e45870a0e3b0de3b9e40fb044789ae1209c0f7
Merge "tools_common.h: (msvs) avoid redefining off_t"
gen_msvs_*proj.sh: add 'cpp' as a source extension

Change-Id: I21cdaeea33a56dd4c0e38c36d01f338b1ab04c74
Add shell scripts for verifying basic vpx{dec,enc} features.

Tests the basics (first confirms feature is available in vpx_config.h):
- VP8 decode (in IVF file).
- VP9 decode (in WebM file).
- VP8 encode (to IVF and WebM).
- VP9 encode (to IVF and WebM).
- VP9 lossless encode (to IVF, currently disabled due to failure).
- Pipe input (to vpxdec and vpxenc).

Test data path and path to vpx{dec,enc} have been parameterized. In
addition:
- Supports disabling tests (test names prefixed with DISABLED_ are not
  run by default).
- Supports filtering tests.

vpxdec.sh: Tests vpxdec.
vpxenc.sh: Tests vpxenc.
tools_common.sh: Common test functions.

Change-Id: I0612c88b8dd6049a05bbbc79a317a0cca61733a5
Merge "Remove full scale duplicates of bsize."
Merge "Add shell scripts for verifying basic vpx{dec,enc} features."