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

Lines Matching refs:pixels

16 					int pixels,
165 short width; /* how many pixels wide is this data */
166 short height; /* how many pixels high is this data */
208 unsigned int i, pixels, sum, encodedSize, fg24= 0xFFFFFF, bg24=0x222222;
364 pixels = image_header.dataSize;
369 pixels = convert24toGrey( data, image_header.dataSize);
374 pixels = convert24to8bitIndex( data, height, width, &data );
375 image_header.dataSize = pixels;
381 pixels = convert8toGrey( data, image_header.dataSize );
386 pixels = convert8bitIndexto24( data, height, width, &data );
387 image_header.dataSize = pixels;
392 pixels = convert8bitIndexto8( data, height, width, &data );
393 image_header.dataSize = pixels;
398 printf("Converted %d pixels%s...\n", pixels/depth, ((grey==1)?" to grayscale":""));
460 for(pixels=0,i=0; i<encodedSize;)
466 pixels += quantity * depth;
469 if ( debug) printf("pixels = %d sum = %x\n", pixels, sum);
472 if ( !(data = (char *)malloc(pixels))) {
473 fprintf(stderr,"Err: Couldn't malloc file data (%ld bytes)... bailing.\n", pixels);
505 if( pixels_out != pixels )
507 printf("Err: miscalclulated pixels %d pixels_out %d\n", pixels, pixels_out);
528 WriteQTRawFile( ostream, data, height, width, depth, pixels );
540 if (!(fileArr = (unsigned char *) malloc(pixels))) {
541 fprintf(stderr,"Err: Couldn't malloc fileArr (%d pixels)... bailing.\n", pixels);
545 encodedSize = EncodeImage( data, pixels, fileArr );
546 if ( encodedSize >= pixels )
667 printf("Decoded size = %d\n", pixels);
862 EncodeImage( unsigned char * data, int pixels, unsigned char * fileArr )
876 for (i=1; i<pixels;)
878 if ( compareruns( data, &i, pixels, currP, &depth ) )