Avoid multiple test for same lvl in auto filter lvl pick
Avoid multiple test for same lvl in auto filter lvl pick

Sometimes same level is tested 2-3 times; store and reuse the
calculated error value.

Change-Id: Ia1c04a2568232edf9a5a62c4e2d8e8a50d85e00e

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