Improving model rd with variance and quant step
Improving model rd with variance and quant step

Improves the rd modeling function and implements them using interpolation
from a table which is a little faster. Also uses sse as input to the
modeling function rather than var - since there is no dc prediction
used and as a result the sse works a little better.

derfraw300: +0.05%
Speedup: ~1%

Change-Id: I151353c6451e0e8fe3ae18ab9842f8f67e5151ff

felipebetancur/libvpx,mbebenita/aom,matanbs/webm.libvpx,mbebenita/aom,mwgoldsmith/vpx,mbebenita/aom,Laknot/libvpx,felipebetancur/libvpx,cinema6/libvpx,Maria1099/webm.libvpx,lyx2014/libvpx_c,goodleixiao/vpx,kalli123/webm.libvpx,thdav/aom,matanbs/webm.libvpx,mbebenita/aom,mwgoldsmith/vpx,Distrotech/libvpx,pcwalton/libvpx,mwgoldsmith/vpx,felipebetancur/libvpx,charup/https---github.com-webmproject-libvpx-,mbebenita/aom,kleopatra999/webm.libvpx,gshORTON/webm.libvpx,jdm/libvpx,VTCSecureLLC/libvpx,ShiftMediaProject/libvpx,stewnorriss/libvpx,abwiz0086/webm.libvpx,jdm/libvpx,hsueceumd/test_hui,running770/libvpx,cinema6/libvpx,reimaginemedia/webm.libvpx,kalli123/webm.libvpx,Suvarna1488/webm.libvpx,liqianggao/libvpx,matanbs/vp982,cinema6/libvpx,stewnorriss/libvpx,mbebenita/aom,openpeer/libvpx_new,ittiamvpx/libvpx-1,sanyaade-teachings/libvpx,ShiftMediaProject/libvpx,altogother/webm.libvpx,running770/libvpx,pcwalton/libvpx,Suvarna1488/webm.libvpx,turbulenz/libvpx,goodleixiao/vpx,luctrudeau/aom,iniwf/webm.libvpx,n4t/libvpx,lyx2014/libvpx_c,openpeer/libvpx_new,cinema6/libvpx,Topopiccione/libvpx,WebRTC-Labs/libvpx,Laknot/libvpx,stewnorriss/libvpx,kleopatra999/webm.libvpx,smarter/aom,jdm/libvpx,smarter/aom,cinema6/libvpx,Topopiccione/libvpx,ittiamvpx/libvpx-1,stewnorriss/libvpx,jmvalin/aom,running770/libvpx,Maria1099/webm.libvpx,hsueceumd/test_hui,openpeer/libvpx_new,jdm/libvpx,matanbs/vp982,smarter/aom,pcwalton/libvpx,kim42083/webm.libvpx,matanbs/vp982,ittiamvpx/libvpx,thdav/aom,lyx2014/libvpx_c,turbulenz/libvpx,matanbs/webm.libvpx,zofuthan/libvpx,luctrudeau/aom,mwgoldsmith/libvpx,zofuthan/libvpx,gshORTON/webm.libvpx,ShiftMediaProject/libvpx,luctrudeau/aom,shacklettbp/aom,webmproject/libvpx,abwiz0086/webm.libvpx,n4t/libvpx,jmvalin/aom,jacklicn/webm.libvpx,felipebetancur/libvpx,ittiamvpx/libvpx,shyamalschandra/libvpx,shareefalis/libvpx,zofuthan/libvpx,jacklicn/webm.libvpx,turbulenz/libvpx,mwgoldsmith/vpx,thdav/aom,shacklettbp/aom,turbulenz/libvpx,openpeer/libvpx_new,charup/https---github.com-webmproject-libvpx-,goodleixiao/vpx,mbebenita/aom,felipebetancur/libvpx,turbulenz/libvpx,Topopiccione/libvpx,jacklicn/webm.libvpx,Suvarna1488/webm.libvpx,liqianggao/libvpx,cinema6/libvpx,sanyaade-teachings/libvpx,cinema6/libvpx,hsueceumd/test_hui,stewnorriss/libvpx,matanbs/vp982,Distrotech/libvpx,Laknot/libvpx,abwiz0086/webm.libvpx,shareefalis/libvpx,jacklicn/webm.libvpx,turbulenz/libvpx,altogother/webm.libvpx,Acidburn0zzz/webm.libvpx,VTCSecureLLC/libvpx,ittiamvpx/libvpx,reimaginemedia/webm.libvpx,Acidburn0zzz/webm.libvpx,GrokImageCompression/aom,liqianggao/libvpx,zofuthan/libvpx,WebRTC-Labs/libvpx,mwgoldsmith/libvpx,mwgoldsmith/vpx,Maria1099/webm.libvpx,thdav/aom,kleopatra999/webm.libvpx,ittiamvpx/libvpx,altogother/webm.libvpx,Suvarna1488/webm.libvpx,altogother/webm.libvpx,kalli123/webm.libvpx,iniwf/webm.libvpx,luctrudeau/aom,liqianggao/libvpx,gshORTON/webm.libvpx,Acidburn0zzz/webm.libvpx,GrokImageCompression/aom,hsueceumd/test_hui,VTCSecureLLC/libvpx,matanbs/vp982,VTCSecureLLC/libvpx,GrokImageCompression/aom,sanyaade-teachings/libvpx,ittiamvpx/libvpx,running770/libvpx,jacklicn/webm.libvpx,kim42083/webm.libvpx,turbulenz/libvpx,n4t/libvpx,pcwalton/libvpx,smarter/aom,iniwf/webm.libvpx,shareefalis/libvpx,turbulenz/libvpx,thdav/aom,reimaginemedia/webm.libvpx,kalli123/webm.libvpx,Distrotech/libvpx,ittiamvpx/libvpx-1,shareefalis/libvpx,Suvarna1488/webm.libvpx,jdm/libvpx,Distrotech/libvpx,shyamalschandra/libvpx,Suvarna1488/webm.libvpx,jdm/libvpx,WebRTC-Labs/libvpx,Acidburn0zzz/webm.libvpx,iniwf/webm.libvpx,jmvalin/aom,reimaginemedia/webm.libvpx,hsueceumd/test_hui,Laknot/libvpx,shyamalschandra/libvpx,turbulenz/libvpx,kalli123/webm.libvpx,luctrudeau/aom,webmproject/libvpx,running770/libvpx,sanyaade-teachings/libvpx,kleopatra999/webm.libvpx,kim42083/webm.libvpx,liqianggao/libvpx,shareefalis/libvpx,ShiftMediaProject/libvpx,charup/https---github.com-webmproject-libvpx-,luctrudeau/aom,smarter/aom,mwgoldsmith/libvpx,n4t/libvpx,ittiamvpx/libvpx-1,altogother/webm.libvpx,ittiamvpx/libvpx,charup/https---github.com-webmproject-libvpx-,gshORTON/webm.libvpx,VTCSecureLLC/libvpx,shyamalschandra/libvpx,webmproject/libvpx,gshORTON/webm.libvpx,WebRTC-Labs/libvpx,kim42083/webm.libvpx,Laknot/libvpx,GrokImageCompression/aom,VTCSecureLLC/libvpx,jmvalin/aom,matanbs/vp982,webmproject/libvpx,mbebenita/aom,mwgoldsmith/vpx,ittiamvpx/libvpx-1,shacklettbp/aom,smarter/aom,openpeer/libvpx_new,Topopiccione/libvpx,kleopatra999/webm.libvpx,kim42083/webm.libvpx,shyamalschandra/libvpx,Maria1099/webm.libvpx,kleopatra999/webm.libvpx,shacklettbp/aom,mwgoldsmith/libvpx,pcwalton/libvpx,shacklettbp/aom,goodleixiao/vpx,liqianggao/libvpx,thdav/aom,kim42083/webm.libvpx,Maria1099/webm.libvpx,lyx2014/libvpx_c,jmvalin/aom,webmproject/libvpx,mwgoldsmith/libvpx,felipebetancur/libvpx,jmvalin/aom,mbebenita/aom,hsueceumd/test_hui,Maria1099/webm.libvpx,pcwalton/libvpx,Topopiccione/libvpx,Acidburn0zzz/webm.libvpx,goodleixiao/vpx,running770/libvpx,GrokImageCompression/aom,lyx2014/libvpx_c,iniwf/webm.libvpx,lyx2014/libvpx_c,kalli123/webm.libvpx,Distrotech/libvpx,Acidburn0zzz/webm.libvpx,matanbs/webm.libvpx,GrokImageCompression/aom,sanyaade-teachings/libvpx,reimaginemedia/webm.libvpx,altogother/webm.libvpx,matanbs/webm.libvpx,mwgoldsmith/libvpx,Topopiccione/libvpx,shacklettbp/aom,openpeer/libvpx_new,abwiz0086/webm.libvpx,matanbs/webm.libvpx,ShiftMediaProject/libvpx,shareefalis/libvpx,WebRTC-Labs/libvpx,jacklicn/webm.libvpx,stewnorriss/libvpx,abwiz0086/webm.libvpx,iniwf/webm.libvpx,charup/https---github.com-webmproject-libvpx-,zofuthan/libvpx,zofuthan/libvpx,charup/https---github.com-webmproject-libvpx-,ittiamvpx/libvpx-1,Distrotech/libvpx,webmproject/libvpx,Laknot/libvpx,reimaginemedia/webm.libvpx,shyamalschandra/libvpx,n4t/libvpx,goodleixiao/vpx,abwiz0086/webm.libvpx,gshORTON/webm.libvpx,matanbs/vp982