Cleaning up vp9_refining_search_sad() function.

Change-Id: I660b53da8ebf3049832ce8a10721051c4e0ebb00
Removing MODE_STATS.

Change-Id: I7520e1cc82b749187c9445356dd7b54f3f3826cc
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
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
Rename set_scale_factors as set_ref_ptrs

New name better describes what the function does.

Change-Id: I33be1366a81f058a9854b804bcde211061187dc7
Reorder functions to avoid forward declaration

Change-Id: I24ad1f0f1cb0e991c476ea174db8ac1584929b02
Merge "Enforce effective motion vector search range"
Removing get_scale_ref_frame_idx() function + cleanup.

Change-Id: Ic9472f361f8749a165aa464c2fa859681b66381b
Merge "Cleaning up vp9_refining_search_sad() function."
Merge "update cpplint"
Merge "cpplint: restore runtime/sizeof"
Revert "Removing unnecessary vp9_clear_system_state() calls."

This reverts commit 36406fdb07dfe08df1d49abe36dbf27469e42213.

Change-Id: I0bd31d03ce2a562d0624f2cd67593d0d25df4a54
Setup pre[0] buffer before calls to {first_pass, zz}_motion_search.

Change-Id: I9b94e741201eacb1982014724a532bdaae31f130
Cleaning up vp9_firstpass.c file.

Change-Id: Ic352b0429d5784f9d78872a478fe6275ee7a56a0
Changed to prevent decoder crash

The change prevent a decoder crash for invalid stream with negative
size.

Change-Id: I7411765f3524c783058fa3d436549be4e75d8969
vp8/common: add extern "C" to headers

Change-Id: I13b434b1e6621e31962b08831c3587c039368c83
vp8/decoder: add extern "C" to headers

Change-Id: I7865db2d15ffa8cfa4de88714e48734c5ff9bb86
vp8/encoder: add extern "C" to headers

Change-Id: I252f5f8a5d5ada65da08699774a7bb1eb2bd5b2e
vp9/common: add extern "C" to headers

Change-Id: Ic334da9aee968e33762c2b25d9fbad24c844b411