Home
last modified time | relevance | path

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

/PHP-8.0/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()
1034 if (im->open[rle_data]) { in bmp_read_rle()
1035 im->open[rle_data] = 0; 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()
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()
[all …]

Completed in 6 milliseconds