Changing webmenc to use libwebm

Changing webmenc to use libwebm for WebM file muxing.

Change-Id: I38ccc74f35c6b9684a87d04d8f9354dbe9a3263b
Removing redundant assignments.

Change-Id: I3ced24f2c3b9cc483278c0f0d60512e7d2efa4f4
Cleaning up get_sby_perpixel_{, diff_}variance().

Change-Id: Icbfeb04647d654253866d290abd4775a877b4f61
Fix encoder uninitialized read errors reported by drmemory

This patch fixed the uninitialized read errors in Issue 748:
"dr memory VP9 encode errors". In vp9_convolve_avg_sse2,
when width is 4, pavgb reads 8 bytes from dst buffer that is
out of range. An error is reported although the data is not
actually used later. This issue was resolved by preventing
uninitialized reads.

Change-Id: I109a54910aa47139cb13119de86f2062cff207df
Cleanup vp9_rd_pick_inter_mode_sub8x8().

Change-Id: I9be2e4e9aeda0fae6dc946deae2999be51daebe0
Remove unused tile arguments from vp_rdopt.

Change-Id: I721ff26e3d5dbef80b8cd2dd562adae3748f6687
Minor code cleanup

Cleanup.

Change-Id: I54d989e24b35323cda7290654e425565d5c9ea2d
Remove duplicate code

Change-Id: Ie26b6ca8de733a527f820b16148e7a2231073f0f
Regrouping code in rd_pick_sb_modes().

Change-Id: I51c71dd4aee6592fb90feebcf864bccc87dacec6
Moving q_trans[] table to vp9_quantize.{c, h}.

Change-Id: I1324c339815a47004ddccdaf651d24c60382b92f
Removing unused code from vp9_onyx_if.c.

Change-Id: I0462bf1ca1b4e5a1c06259979b4daff949b8a2c6
Cleanup table declarations in vp9_rdopt.

Change-Id: Ia4bef41a6b0252593ad84612a2a143c724fd03ea
Revert "Converting set_prev_mi() to get_prev_mi()."

This reverts commit 22a3e30790d141033778e430a47ba7d558237362

Change-Id: I460d905edf5fb2006da58c18fbe02c04d0c631bb
Fix coding format in vp9_rc_regulate_q

Change-Id: I08aa0c213df34c084eb7a3c51b6b3306e49c7757
Removing unused initial_{width, height} from VP9Decoder.

Change-Id: I039474b34863bc3db9c6cda82485c32826a1b5d1
Merge "Cleanup vp9_rd_pick_inter_mode_sub8x8()."
Merge "Remove unused tile arguments from vp_rdopt."
Merge "Removing redundant assignments."
Prevent the usage of invalid best_mode_index

This commit changed the initialization of best_mode_index to -1 to make
sure it is not mistakenly used for mode masking.

Change-Id: I75b05db51466070dd23c4ee57a4d4b40764dc019
Remove vestiges of large tx sizes in sub8x8 code.

Change-Id: I27015ed57b4c4390cfde3d0eecd82c3e76fd3786