Fixing typo in cal_nmvjointsadcost().

Change-Id: I7be6675c68db330d69c541bd9341a7b8e91351d9
Cleaning up vp9_pattern_search() function.

Change-Id: I8da5e13b23a3d6b73c82bbe443c82dd87fd689f3
Removing prev_mi_8x8 from MACROBLOCKD.

Change-Id: I32beb5f18c10b5771146c55933b5555487f53633
Moving thresh_mult{,_sub8x8} from SPEED_FEATURES to VP9_COMP.

SPEED_FEATURES should contain only configuration parameters.

Change-Id: I7d6d0636879c3e87dad09bc9455c1cf1dc039da8
Motion referenced partition search for non-RD coding flow

This commit enables the non-RD mode decision coding flow to
adaptively apply partition search in non-refresh frame, when the
collocated block in previous frame suggests there might be a motion
activity. It refactors the update_state_rt() function to support
buffer swap of mode_info struct, thereby unifying the encoding
stage across various non-RD coding modes.

It provides 5% compression performance gains in speed -6 for rtc
test set, at about 12% speed slow down.

Change-Id: Iefa374aed5a11c4b7ff9a3ed36a98ea8bd184edb
Cleaning up vp9_get_mvpred_{av_,}var() functions.

Change-Id: I0df8c2a6d9863f92ee406010f2daeb5e40627649
Merge "Removing prev_mi_8x8 from MACROBLOCKD."
Merge "Motion referenced partition search for non-RD coding flow"
Move aq_mode=2 (complexity_aq) to separate file.

Change-Id: Iffa45b9b04196c1ded6037622a8644a2500a62de
aq_mode=3: Set target seg_map in sb-block order.

Removes a TODO. Changed meaning of some parameters
(target-max-percent refresh and starting index) to be
defined relative to superblock. Also, modify turn-off condition.

Change-Id: I5e55f372b7079c24f9cdac0b06fa34620dbf456b
Add compile option to parse ELF.

Change-Id: I64a81601d11e9fa383435bfd1a1d35206ebb2fc8
Experimental change to speed 1 settings.

Allow tx search for ARF and GF helps quality but a little slower.
Setting subpel_iters_per_step to 1 improves encode speed.
Setting sf->mode_skip_start = 10 improves speed.

Initial local results suggest overall impact on quality is neutral
but encode is up to 15% faster.

Change-Id: Ibde02cae6626a44c10a1da0cefe888afbb51f037
Merge "aq_mode=3: Set target seg_map in sb-block order."
Further speed trade off adjustments.

Small speed gain for speed 1.

Quality is generally a little up for speed 2.

Speed 3 was similar to speed 4 but now positioned more
evenly between 2 and 4 speed and quality wise.
   (opsnr +5.6% ssim +8.25% across all sets)

Speed 4 is a little slower than before but sizable quality gains.
   (opsnr +3.7% ssim +6.8% across all sets)

The code has been cleaned up a bit so that for each incremental
speed step changes over the previous speed step are applied.
This makes it easier to see what is changing from one setting to
the next.

Change-Id: I2d98d0d6230af23486adaec01908f58942a7cdeb
Merge "Moving thresh_mult{,_sub8x8} from SPEED_FEATURES to VP9_COMP."
Merge "Add compile option to parse ELF."
Fix segment_id assignment in update_state_rt for AQ mode

Properly obtain and buffer the segment_id in non-RD mode information
update process.

Change-Id: I43230001872f6a986d12c0d94e98fdec0db3be2c
[svc] Verify and store input two pass stats data in 2nd pass rc

Change-Id: Ib09eedc17ea0ea2eec75d78112e4786d98f382aa
Remove a duplicate block_size variable.

Change-Id: Ia6b1e3c5a8ac21219bbfe9eecdb4801f3eaa10e5
Merge "[svc] Verify and store input two pass stats data in 2nd pass rc"