65 rle_op ** scanbuf, * opbuf;
66 int rowlen, nchan = 0, i, ncol;
77 if ( (scanbuf = (rle_op **) malloc( ncol *
sizeof(rle_op *) )) == 0 )
80 if ( (opbuf = (rle_op *)malloc( nchan * rowlen *
sizeof(rle_op) )) == 0 )
86 if ( nrawp && (*nrawp = (
int *)malloc( ncol *
sizeof(
int) )) == 0 )
147 free( (
char *)scanp[i] );
150 free( (
char *)scanp );
152 free( (
char *)nrawp );
int rle_raw_alloc(rle_hdr *the_hdr, rle_op ***scanp, int **nrawp)
void rle_raw_free(rle_hdr *the_hdr, rle_op **scanp, nrawp)
#define RLE_BIT(glob, bit)