Lines Matching refs:rle_length
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()
1033 if (rle_length != BMP_RLE_COMMAND) { 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()
1047 } else if (rle_length == BMP_RLE_COMMAND && rle_data > 2) { 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()
1084 xpos += rle_length; in bmp_read_rle()
1086 } else if (rle_length == BMP_RLE_COMMAND && rle_data == BMP_RLE_ENDOFBITMAP) { in bmp_read_rle()