Lines Matching refs:rle_data
1022 int rle_length = 0, rle_data = 0; in bmp_read_rle() local
1028 if (!gdGetByte(&rle_length, infile) || !gdGetByte(&rle_data, infile)) { in bmp_read_rle()
1034 if (im->open[rle_data]) { in bmp_read_rle()
1035 im->open[rle_data] = 0; in bmp_read_rle()
1040 …index = (rle_data & (((1 << info->depth) - 1) << (8 - (j * info->depth)))) >> (8 - (j * info->dept… in bmp_read_rle()
1047 } else if (rle_length == BMP_RLE_COMMAND && rle_data > 2) { in bmp_read_rle()
1050 for (i = 0; (i < rle_data) && (xpos < info->width); i += pixels_per_byte) { in bmp_read_rle()
1058 if (rle_data - i < max_pixels) { in bmp_read_rle()
1059 max_pixels = rle_data - i; in bmp_read_rle()
1075 } else if (rle_length == BMP_RLE_COMMAND && rle_data == BMP_RLE_ENDOFLINE) { in bmp_read_rle()
1079 } else if (rle_length == BMP_RLE_COMMAND && rle_data == BMP_RLE_DELTA) { in bmp_read_rle()
1081 if (!gdGetByte(&rle_length, infile) || !gdGetByte(&rle_data, infile)) { in bmp_read_rle()
1085 ypos += rle_data; in bmp_read_rle()
1086 } else if (rle_length == BMP_RLE_COMMAND && rle_data == BMP_RLE_ENDOFBITMAP) { in bmp_read_rle()