Remove dependency of intra mode search skip check on mode order
Remove dependency of intra mode search skip check on mode order

This commit refactors the vp9_rd_pick_inter_mode_sb function to
remove the intra mode early termination dependency on the mode
search order.

Change-Id: If6ac49aa7c530c7b9a5bd31b0ab84db83e192bec

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