Home | History | Annotate | Download | only in libjpeg-turbo

Lines Matching defs:header

73   rle_hdr header;               /* Input file information */
80 * Read the file header; return image size and component count.
92 /* Use RLE library routine to get the header info */
93 source->header = *rle_hdr_init(NULL);
94 source->header.rle_file = source->pub.input_file;
95 switch (rle_get_setup(&(source->header))) {
118 width = source->header.xmax - source->header.xmin + 1;
119 height = source->header.ymax - source->header.ymin + 1;
120 source->header.xmin = 0; /* realign horizontally */
121 source->header.xmax = width-1;
127 if (source->header.ncolors == 1 && source->header.ncmap == 0) {
130 } else if (source->header.ncolors == 1 && source->header.ncmap == 1) {
133 1 << source->header.cmaplen);
134 } else if (source->header.ncolors == 1 && source->header.ncmap == 3) {
137 1 << source->header.cmaplen);
138 } else if (source->header.ncolors == 3 && source->header.ncmap == 3) {
141 1 << source->header.cmaplen);
142 } else if (source->header.ncolors == 3 && source->header.ncmap == 0) {
169 (JDIMENSION) (width * source->header.ncolors),
216 colormap = source->header.cmap;
256 colormap = source->header.cmap;
262 RLE_CLR_BIT(source->header, RLE_ALPHA); /* don't read the alpha channel */
279 rle_getrow(&source->header, rle_row);
295 rle_getrow(&source->header, rle_row);
298 for (channel = 0; channel < source->header.ncolors; channel++) {
317 rle_getrow(&source->header, rle_row);