Home
last modified time | relevance | path

Searched refs:rle_length (Results 1 – 1 of 1) sorted by relevance

/PHP-8.2/ext/gd/libgd/
H A Dgd_bmp.c1022 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()
[all …]

Completed in 6 milliseconds