Set up early RD cost check for NEWMV in non-RD mode decision flow
Set up early RD cost check for NEWMV in non-RD mode decision flow

This commit estimates the motion vector rate cost right after full
pixel motion search. It combines this and the mode cost and compares
the corresponding rate-distortion cost. If it is already above the
current best one, skip the rest sub-pixel motion search and modeling
process. For pedestrian_area 1080p at 4000 kpbs, the speed -5 runtime
goes down from 39425 ms -> 38399 ms.

Change-Id: If4cd7119fd6c266798d5cf1d19d19ab425e52a26

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