From: Miguel F. <mig...@us...> - 2003-12-08 17:23:55
|
Update of /cvsroot/xine/xine-lib/src/post/deinterlace/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv16592/plugins Modified Files: linearblend.c Log Message: prefetching seems to improve performance as well Index: linearblend.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/post/deinterlace/plugins/linearblend.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- linearblend.c 8 Dec 2003 17:06:53 -0000 1.6 +++ linearblend.c 8 Dec 2003 17:23:41 -0000 1.7 @@ -183,6 +183,10 @@ int i; static mmx_t high_mask = {ub:{0xff,0xff,0xff,0xff,0,0,0,0}}; + READ_PREFETCH_2048( t0 ); + READ_PREFETCH_2048( b0 ); + READ_PREFETCH_2048( m1 ); + // Get width in bytes. width *= 2; i = width / 8; @@ -244,6 +248,10 @@ uint8_t *b1 = data->b1; int i; + + READ_PREFETCH_2048( t1 ); + READ_PREFETCH_2048( b1 ); + READ_PREFETCH_2048( m0 ); // Get width in bytes. width *= 2; |