[svc] 1. Add two pass RC options in vp9_spatial_scalable_encoder.
      2. Add read/write for RC stats file
The two pass RC for svc does not work yet. This is just the first
step. We need further development to make it working.
Change-Id: I8ef0e177dff0b5ed3c97a916beea5123717cc6f2
Add speeed 5 to datarate test.

Change-Id: I7126e4b36994020cc656d046d10df5d6a6c53e66
cpu_speed_test - now test one pass and more speeds

Change-Id: I736f5753ff42782bbb2a401d2c28cd755fa2f8da
Avoid unknown warning warnings and fix -Werror on macosx.

clang on macosx does not support -Wunused-but-set-variable; adding the flag
causes additional warnings about the flag. As a more generalized fix, use
-Werror when checking compiler flag support in order to avoid using
unsupported warning flags.

Change-Id: I2529862e211f880d56491eac3b9fa90fff1aa5c3
configure.sh: quote local variables

fixes issue #711

specifying a multiword CC, e.g., CC='gcc -m32', would cause the failure
under dash

reported in
https://bugs.gentoo.org/show_bug.cgi?id=498136

patch by floppymaster at gmail dot com

Change-Id: I2ba246f765646161538622739961ec0f6c2d8c2d
Merge "Add speeed 5 to datarate test."
Merge "cpu_speed_test - now test one pass and more speeds"
Merge "configure.sh: quote local variables"
Merge "Avoid unknown warning warnings and fix -Werror on macosx."
vp8cx_set_ref: fix variable assignment

assign vpx_ref_frame_t members explicitly avoiding incompatibility in
visual studio builds

Change-Id: I22df4c5ebb772d65b4d72f22949fbde53543d7ec
Use modeled rate distortion costs for non-RD mode

This commit replaces SAD cost with modeled rate-distortion cost
for non-RD mode decision. It translates the prediction residual
SSE into estimate rate and reconstruction distorion costs, hence
capturing the quantization setting effect. The compression
performance of speed -7 for rtc set is improved by 14.79%.

Change-Id: Ifda014eb0501d13109fe7f92680bf1410b463632
Merge "Use modeled rate distortion costs for non-RD mode"
Clearn up model_rd in non-RD coding mode

The rate-distortion model in non-RD coding mode is only applied to
luma component. This commit removed a few redundant addition steps.

Change-Id: Id8edc0a47c2dbef8deba43debe2c95db39454de3
Disable the neon version vpx_yv12_copy_y.
For some dimensions, neon code ends up in a dead loop inside.
This will fix the unit test failure in svc_test on ARM.

Change-Id: Ie6098bfaefd86bcf3616a3d0c2c3ff0b154222b5
Merge "[svc] 1. Add two pass RC options in vp9_spatial_scalable_encoder.       2. Add read/write for RC stats file The two pass RC for svc does not work yet. This is just the first step. We need further development to make it working. Change-Id: I8ef0e177dff0b5ed3c97a916beea5123717cc6f2"
Removing unused active_section global variable.

Change-Id: Ib8c41829a4b5a618b6bda24d9b7df2d491d0fca0
Skip mode check when mv has been tested

This commit allows the non-RD mode decision to skip mode RD modelling
check, if the motion vector associated with the current mode is
same as that of NEARESTMV mode. This makes speed -7 about 2% faster.
Previous change that converts cost metric from SAD to model based RD
value makes the codec 6% slower at speed -7.

Change-Id: I30cfec5452f606a671b8432a2f7f0c94fbb49fc8
Merge "Disable the neon version vpx_yv12_copy_y. For some dimensions, neon code ends up in a dead loop inside. This will fix the unit test failure in svc_test on ARM."
Merge "Removing unused active_section global variable."
Cleaning up pack_inter_mode_mvs() function.

Change-Id: Ia60352c7173b59f3f08920ba86096864d4e8250b