Lines Matching refs:width
471 BMP_DEBUG(printf("Width: %d\n", info->width)); in gdImageCreateFromBmpCtx()
478 im = gdImageCreateTrueColor(info->width, info->height); in gdImageCreateFromBmpCtx()
480 im = gdImageCreate(info->width, info->height); in gdImageCreateFromBmpCtx()
575 !gdGetIntLSB(&info->width, infile) || in bmp_read_windows_v3_info()
598 if (info->width <= 0 || info->height <= 0 || info->numplanes <= 0 || in bmp_read_windows_v3_info()
609 !gdGetWordLSB((signed short int *)&info->width, infile) || in bmp_read_os2_v1_info()
623 if (info->width <= 0 || info->height <= 0 || info->numplanes <= 0 || in bmp_read_os2_v1_info()
635 !gdGetIntLSB(&info->width, infile) || in bmp_read_os2_v2_info()
663 if (info->width <= 0 || info->height <= 0 || info->numplanes <= 0 || in bmp_read_os2_v2_info()
720 padding = ((int)(info->depth / 8) * info->width) % 4; in bmp_read_direct()
733 for (xpos = 0; xpos < info->width; xpos++) { in bmp_read_direct()
817 padding = (info->width + 7) / 8 % 4; in bmp_read_1bit()
829 for (xpos = 0; xpos < info->width; xpos += 8) { in bmp_read_1bit()
842 if ((xpos + bit) >= info->width) { in bmp_read_1bit()
887 padding = ((int)ceil(0.5 * info->width)) % 4; in bmp_read_4bit()
901 for (xpos = 0; xpos < info->width; xpos += 2) { in bmp_read_4bit()
913 if (xpos >= info->width) { in bmp_read_4bit()
974 padding = (1 * info->width) % 4; in bmp_read_8bit()
988 for (xpos = 0; xpos < info->width; ++xpos) { in bmp_read_8bit()
1027 for (ypos = 0; ypos < info->height && xpos <= info->width;) { in bmp_read_rle()
1038 for (i = 0; (i < rle_length) && (xpos < info->width);) { in bmp_read_rle()
1039 …for (j = 1; (j <= pixels_per_byte) && (xpos < info->width) && (i < rle_length); j++, xpos++, i++) { in bmp_read_rle()
1050 for (i = 0; (i < rle_data) && (xpos < info->width); i += pixels_per_byte) { in bmp_read_rle()
1062 for (j = 1; (j <= max_pixels) && (xpos < info->width); j++, xpos++) { in bmp_read_rle()