Reordering probability tables for consistency.

Putting vp9_kf_y_mode_prob[] before vp9_kf_uv_mode_prob[].

Change-Id: I2404910e35de1ee24ce46337e00c07eb1446e50f
Removing quantize_b_4x4 function pointer.

The pointer was asigned only once with vp9_regular_quantize_b_4x4, calling
this function directly now. Also removing unused declarations:
  prototype_quantize_block
  prototype_quantize_block_pair
  prototype_quantize_mb
  vp9_regular_quantize_b_4x4_pair
  vp9_regular_quantize_b_8x8

Change-Id: I14325bc2f082336820671eafbc06126651b79f73
Improve scale_factors struct

The ref's scale_factors are set at frame level, and then copied for
each partition block. Since the struct members are mostly constant,
this patch separated the constant and non-constant members, and
reduced struct copying. This gave 0.5% ~ 1.4% decoder speed gain.

Change-Id: I94043bf5a6995c8042da52e5c661818dfa6f6d4c
Make decode modules independent of tile index

Assign the pointer to mode_info stream per tile. Remove the use of
tile_col in the decoding modules.

Change-Id: I7df87086708a3d92c5e20e86bcfb04e458ff47a6
Remove right_available member from VP9_COMP

This member of VP9_COMP is no longer used, so I removed it.

Change-Id: I3509f52756da4768a3e4581cec5ed5d2a70d5fb8
Merge "Removing quantize_b_4x4 function pointer."
Merge "Reordering probability tables for consistency."
Renaming vp9_short_fdct8x8 to vp9_fdct8x8.

For consistency with idct function names.

Change-Id: I7b6af2f92c66eff56f84ed29edc3a66af8dc421f
Renaming vp9_short_fdct16x16 to vp9_fdct16x16.

For consistency with idct function names.

Change-Id: I5ca355ba99fdba04f09254be95cf79808b534f71
Merge "Make decode modules independent of tile index"
Use inter mode flag in super_block_yrd

Use a flag variable to determine if coded in inter mode, thus avoiding
multiple inter mode checks in super_block_yrd.

Change-Id: I0ef998b2811c38e185a2e0583f0f636cee45d2cf
Separate encode_block for pass 1 and 2

The encode_block for pass 1 takes simpler functionalities and can
save a few branches. The main reason is to make encode_block only
used after running rate-distortion optimization search in pass 2,
hence allowing dual buffer stack approach later.

Change-Id: I9e549ffb758e554fe185e48a07d6e0e01e475bcf
Merge "Renaming vp9_short_fdct8x8 to vp9_fdct8x8."
Merge "Renaming vp9_short_fdct16x16 to vp9_fdct16x16."
Renaming vp9_short_fdct32x32 to vp9_fdct32x32.

For consistency with idct function names.

Change-Id: Ie77b7178e0894c57cd5cb9243c949eb9224ece18
Merge "Use inter mode flag in super_block_yrd"
Eliminating usage of allow_comp_inter_inter in the decoder.

Splitting setup_inter_inter function into is_compound_prediction_allowed
and setup_compound_prediction. Moving setup_compound_prediction call
into read_comp_pred from read_uncompressed_header.

We should do the same in the encoder as well.

Change-Id: I40d75fdc4a221b2f7705df00d23a4b3fe79987c3
Merge "Renaming vp9_short_fdct32x32 to vp9_fdct32x32."
Renaming vp9_short_fdct4x4 and vp9_short_walsh4x4.

For consistency with idct function names. Renames:
  vp9_short_fdct4x4  -> vp9_fdct4x4
  vp9_short_walsh4x4 -> vp9_fwht4x4

Change-Id: Id15497cc1270acca626447d846f0ce9199770f58
Adding VP9_FRAME_MARKER constant.

Also renaming SYNC_CODE_* to VP9_SYNC_CODE_*.

Change-Id: I9ff504c6ebce6cd6673d7df2085d597b818f5960