Have check_initial_width() take subsampling as arguments directly.

This way it doesn't need to derive subsampling differently for each caller.

Change-Id: I186aa7a84d315b796dcf2fdde5468ec12b3a59e3
Cleaning up first_pass_motion_search() function.

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

Change-Id: I733a84ec178439ead66e031395d9a8e49e8f4d1a
Cleaning up vp9_ratectrl.c.

Change-Id: I3a260d3ca68db3a9352ae5409de76e56202976e5
rtcd.sh: add extern "C" to generated headers

Change-Id: Ifb30518555402eb473c3fde81bc860fbe17851dd
test/: remove some unnecessary extern "C"s

Change-Id: I57a94d2f9e26a872a20d805a506855a20e61c356
remove complex rd modeling.

The affect on quality was minimal.  Less than .1%, various sets
yt ( +.15%), derf (-.1%), hd ( -.1% ), std hd(-.15%)...

The affect on speed of encode at speed -5 was substantial ( ~3% ).

Change-Id: I8903346fbae0c35f5b9ea20f81fdd239ae81247d
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 key frame placement

Change-Id: I2f85c6b058638571d68a7209779de8ca8168934f
Removing duplicated SAD calculation code.

Change-Id: I8d693371a29103769d5bed9d5f9cfe4f58ca3189
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
Merge "Enforce key frame placement"
Merge "Have check_initial_width() take subsampling as arguments directly."
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
Merge changes I57a94d2f,Ifb305185

* changes:
  test/: remove some unnecessary extern "C"s
  rtcd.sh: add extern "C" to generated headers
Merge "remove complex rd modeling."
Cleaning up vp9_setup_buffer_inter() function.

Change-Id: Ia63e2d05fa5dca3fb67788b0f1f28e9802ef27dd
Merge "Replacing cpi->twopass with twopass."
Merge "Cleaning up vp9_setup_buffer_inter() function."