shithub: libvpx

Download patch

ref: 1407cf8588a7514be9829a8470ad23d5b97b2153
parent: 9c9a3b277568a58c8fcefa2c4031590a39b08e49
author: Paul Wilkins <paulwilkins@google.com>
date: Fri Sep 13 09:14:38 EDT 2013

Fix VP9_mode_order[]

Mis-merge of the following change managed to break mode order
and delete two mode options (new alt ref and near alt ref)
It also created a situation where we could test two undefined
modes off the end of the VP9_mode_order[] data structure.
  "clang warnings : remove split and i4x4_pred fake modes"
  "Change Id: I8ef3c*"

Initial testing on Akiyo at speed 2.
101.35	 44.567	 44.447 improves to
96.82	 44.915	 44.815

Approx 0.3-0.4db gain and 2.5% size reduction

Change-Id: Icff813e7c0778d140ad4f0eea18cf1ed203c4e34

--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -60,9 +60,11 @@
   {RD_DC_PRED,   INTRA_FRAME,  NONE},
 
   {RD_NEWMV,     LAST_FRAME,   NONE},
+  {RD_NEWMV,     ALTREF_FRAME, NONE},
   {RD_NEWMV,     GOLDEN_FRAME, NONE},
 
   {RD_NEARMV,    LAST_FRAME,   NONE},
+  {RD_NEARMV,    ALTREF_FRAME, NONE},
   {RD_NEARESTMV, LAST_FRAME,   ALTREF_FRAME},
   {RD_NEARESTMV, GOLDEN_FRAME, ALTREF_FRAME},