#include <stdio.h>
#include "rle.h"
#include "rle_raw.h"
Go to the source code of this file.
Definition at line 16 of file rle_box.c.
24 int xmin, xmax, ymin, ymax;
35 while ( ( y =
rle_getraw( the_hdr, rawp, nrawp ) ) != 32768 )
40 for ( i = -the_hdr->
alpha; i < the_hdr->ncolors; i++ )
47 for ( i = -the_hdr->
alpha; i < the_hdr->ncolors; i++ )
53 for ( i = -the_hdr->
alpha; i < the_hdr->ncolors; i++ )
56 if ( rawp[i][0].xloc < xmin )
57 xmin = rawp[
i][0].
xloc;
58 if ( xmax < rawp[i][nrawp[i]-1].xloc +
59 rawp[i][nrawp[i]-1].length - 1 )
60 xmax = rawp[
i][nrawp[
i]-1].
xloc +
68 xmax = xmin = ymax = ymin = 0;
unsigned int rle_getraw(rle_hdr *the_hdr, scanraw, nraw)
#define RLE_CHECK_ALLOC(pgm, ptr, name)