19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: colorspace_altivec.c,v 1.1 2004-04-05 20:36:36 edgomez Exp $ |
* $Id: colorspace_altivec.c,v 1.2 2004-10-17 10:20:15 edgomez Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
249 |
static inline unsigned |
static inline unsigned |
250 |
build_prefetch(unsigned char block_size, unsigned char block_count, short stride) |
build_prefetch(unsigned char block_size, unsigned char block_count, short stride) |
251 |
{ |
{ |
|
if(block_size > 31) |
|
|
block_size = 0; |
|
|
|
|
252 |
return ((block_size << 24) | (block_count << 16) | stride); |
return ((block_size << 24) | (block_count << 16) | stride); |
253 |
} |
} |
254 |
|
|