Refactor denoiser frame buffer update
Refactor denoiser frame buffer update

Use frame buffer pointer swap instead of memcpy when possible.
These two CLs make the denoiser when running on vidyo1 720p at
speed -6 over 10% faster.

Change-Id: I64fe8a2422cafca6787a50c7f4dfb961191c0a9d

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