Reorganiziation of the RD loop to make more sense.
Reorganiziation of the RD loop to make more sense.

Change-Id: Ia1e3b0ff9b70747b3725391de59f230edab767d7

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