comparison gui/mplayer/mw.c @ 23457:a124f3abc1ec

Replace implicit use of fast_memcpy via macro by explicit use to allow for future optimization.
author reimar
date Tue, 05 Jun 2007 14:27:54 +0000
parents 22d3d12c6dfb
children f5b32d12b691
comparison
equal deleted inserted replaced
23456:1582297cc3d2 23457:a124f3abc1ec
63 if ( mplMainRender && appMPlayer.mainWindow.State == wsWindowExpose ) 63 if ( mplMainRender && appMPlayer.mainWindow.State == wsWindowExpose )
64 { 64 {
65 btnModify( evSetMoviePosition,guiIntfStruct.Position ); 65 btnModify( evSetMoviePosition,guiIntfStruct.Position );
66 btnModify( evSetVolume,guiIntfStruct.Volume ); 66 btnModify( evSetVolume,guiIntfStruct.Volume );
67 67
68 memcpy( mplDrawBuffer,appMPlayer.main.Bitmap.Image,appMPlayer.main.Bitmap.ImageSize ); 68 fast_memcpy( mplDrawBuffer,appMPlayer.main.Bitmap.Image,appMPlayer.main.Bitmap.ImageSize );
69 Render( &appMPlayer.mainWindow,appMPlayer.Items,appMPlayer.NumberOfItems,mplDrawBuffer,appMPlayer.main.Bitmap.ImageSize ); 69 Render( &appMPlayer.mainWindow,appMPlayer.Items,appMPlayer.NumberOfItems,mplDrawBuffer,appMPlayer.main.Bitmap.ImageSize );
70 mplMainRender=0; 70 mplMainRender=0;
71 } 71 }
72 wsPutImage( &appMPlayer.mainWindow ); 72 wsPutImage( &appMPlayer.mainWindow );
73 // XFlush( wsDisplay ); 73 // XFlush( wsDisplay );