Cleaning up first_pass_motion_search() function.

Change-Id: I4826a71c7f99db09e5362b16703d024939587f25
Replacing cpi->twopass with twopass.

Change-Id: I733a84ec178439ead66e031395d9a8e49e8f4d1a
Cleaning up vp9_refining_search_sad() function.

Change-Id: I660b53da8ebf3049832ce8a10721051c4e0ebb00
Cleaning up vp9_ratectrl.c.

Change-Id: I3a260d3ca68db3a9352ae5409de76e56202976e5
Force show_frame=1 when show_existing_frame=1

When showing a previously decoded frame, we need to
explicitly set the show_frame flag.

For the current frame being decoded this flag is
explicitly set in the frame header.

This should fix WebM Issue 696:
http://code.google.com/p/webm/issues/detail?id=696

Change-Id: I5751a809813f88d2ca6f62c47c3878475ff9ba8d
Enforce effective motion vector search range

This commit explicitly enforces the effective motion vector range
in the motion search stage. The range needs to be the intersection
of UMV border, effective absolute motion vector value range, and
the target search area.

Change-Id: I1cf7c563e02b1086040dad6c1f4f6be1538635a6
Seperate the border size for encoder and decoder.

Encoder's boarder is still 160, while decoder's boarder will be 32.
With on demand and separate boarder buffer for boarder extension.
The decoder's boarder does not need to to 160 anymore.

Change-Id: I93d5aaff15a33a2213e9761eaa37c5f2870747db
Adds a non-normative resize library to vp9 encoder

Adds an arbitrary-size resize library for use in scaling of input
frames in a non-normative manner in the vp9 encoder. The method
used is as follows:
Downsampling - Uses a 8 tap filter for factor of 2 decimation upto
a size just higher than the desired size. Then interpolates pixels
at a precision of 1/32 pel using a set of 8-tap filters.
Upsampling - Interpolates pixels at a precision of 1/32 pel using
a set of 8-tap filters.

There is no assembly optimization yet.

Change-Id: Ib5b81e174fc139da322bb97c8214d52289d60d8a
Match vp9_coefband_trans_* declarations

VS2013 Chromium builds failed with:
warning C4742: 'vp9_coefband_trans_8x8plus' has different alignment in

https://code.google.com/p/chromium/issues/detail?id=336620

Change-Id: I865f72bc23ae958531eeb5f497002c12e9a36fcd
update cpplint

adds --linelength / --extensions and support for eclipse style output

latest from (r119):
http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py

Change-Id: I58be3a2d60daa9ba0d0bc1574fd13a2144c5d13d
cpplint: restore runtime/sizeof

dropped in r113; this check is helpful in this project

Change-Id: If810607b7cbf89ad701b4865d685f4b96aeee2dc
Cleaning up vp9_setup_buffer_inter() function.

Change-Id: Ia63e2d05fa5dca3fb67788b0f1f28e9802ef27dd
Merge "Replacing cpi->twopass with twopass."
Merge "Cleaning up vp9_setup_buffer_inter() function."
Merge "Cleaning up vp9_ratectrl.c."
arm: Use vreinterpret instead of a plain cast for converting between neon vector types

This fixes building with MSVC for arm.

Change-Id: Iffae0408e0c68760e87e96b9e17d9df8e8cadb1a
Merge "Cleaning up first_pass_motion_search() function."
Simplifying target_size_from_buffer_level() function.

Change-Id: I1d556ddf04ab0a98eadf412972a6977c1055446f
Removing unnecessary vp9_clear_system_state() calls.

Change-Id: I597645a15fff2d3a1104861a5c90f64394952e0b
Merge "Force show_frame=1 when show_existing_frame=1"