• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/xnu-2422.115.4/osfmk/console/panic_ui/

Lines Matching +defs:last +defs:depth

82 	short	depth;			/* what depth is this data (1-32) or ( 33-40 grayscale ) */
112 unsigned char depth = 0, lines = 20;
197 if ( image_header.depth != 8 ) goto errQTimage;
202 depth = image_header.depth;
204 printf("Image info: width: %d height: %d depth: %d...\n", width, height, depth);
206 if (!(width && height && depth)) {
207 fprintf(stderr,"Err: Invalid image file header (width, height, or depth is 0)\n");
230 depth = 1;
232 printf("Converted %d pixels%s...\n", pixels/depth, ((grey==1)?" to grayscale":""));
277 depth = 1; // only CLUT is supported
287 fwrite(&depth, sizeof(depth), 1, ostream);
329 int depth);
332 compareruns( unsigned char * data, unsigned int * index, unsigned int max, union RunData * currP, int * depth )
343 if ( (*index+*depth) > max )
345 *depth = 1;
354 // check current data against current depth
355 switch ( *depth )
385 // start of a new pattern match begine with depth = 1
401 { // if so, leave at depth = 1
403 *depth = 1;
409 *depth = 4;
422 { // if so, leave at depth = 1
424 *depth = 1;
430 *depth = 3;
441 { // if so, leave at depth = 1
443 *depth = 1;
449 *depth = 2;
467 *index += *depth;
476 int i, depth;
484 depth = 1;
488 if ( compareruns( data, &i, pixels, currP, &depth ) )
491 if ( (run*depth) > 2 ) {
507 filePos += encode_rle(fileArr, filePos, run, currP, depth);
521 depth = 1; // switch back to a single byte depth
543 filePos += encode_rle(fileArr, filePos, run, currP, depth);
598 encode_rle(unsigned char * fileArr, unsigned int filePos, unsigned int quantity, union RunData * value, int depth)
603 switch ( depth ) {
757 static unsigned char last = 0;
760 if ( panic_clut[last] == color24 )
763 return last;
769 last = i;
771 return last;