| 20 |
|
#define vfork fork |
| 21 |
|
#endif |
| 22 |
|
|
| 23 |
< |
#define MAXSBUF 524268 /* maximum total size of scanline buffer */ |
| 23 |
> |
#define MAXSBUF 786432 /* maximum total size of scanline buffer */ |
| 24 |
|
#define HSIZE 317 /* size of scanline hash table */ |
| 25 |
|
#define NRETIRE 16 /* number of scanlines to retire at once */ |
| 26 |
|
|
| 477 |
|
/* allocate scanline buffers */ |
| 478 |
|
scansize = sizeof(SCAN) + pxsiz*sizeof(COLR); |
| 479 |
|
#ifdef ALIGN |
| 480 |
< |
scansize = scansize+(sizeof(ALIGN)-1)) & ~(sizeof(ALIGN)-1); |
| 480 |
> |
scansize = scansize+(sizeof(ALIGN)-1) & ~(sizeof(ALIGN)-1); |
| 481 |
|
#endif |
| 482 |
|
i = MAXSBUF / scansize; /* compute number to allocate */ |
| 483 |
|
if (i > HSIZE) |