diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-12-08 17:23:41 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-12-08 17:23:41 +0000 |
commit | ff61f5f3ff1314f8bd2350a9b71165b11f7f7855 (patch) | |
tree | 67bc19797992fe85ef76d1f563b34cf1376bc5ef | |
parent | 0e18f82b79ac54f306aa1ee31170bd3099b5c17a (diff) | |
download | xine-lib-ff61f5f3ff1314f8bd2350a9b71165b11f7f7855.tar.gz xine-lib-ff61f5f3ff1314f8bd2350a9b71165b11f7f7855.tar.bz2 |
prefetching seems to improve performance as well
CVS patchset: 5876
CVS date: 2003/12/08 17:23:41
-rw-r--r-- | src/post/deinterlace/plugins/linearblend.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/post/deinterlace/plugins/linearblend.c b/src/post/deinterlace/plugins/linearblend.c index 977efe2b3..372db5ce1 100644 --- a/src/post/deinterlace/plugins/linearblend.c +++ b/src/post/deinterlace/plugins/linearblend.c @@ -183,6 +183,10 @@ static void deinterlace_scanline_linear_blend_mmxext( uint8_t *output, 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 @@ static void deinterlace_scanline_linear_blend2_mmxext( uint8_t *output, 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; |