Home
last modified time | relevance | path

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

/PHP-8.1/ext/gd/libgd/
H A Dgd_tga.c208 int pixel_block_size = (tga->bits / 8); in read_image_tga() local
222 if(overflow2(tga->width * tga->height, pixel_block_size)) { in read_image_tga()
226 image_block_size = (tga->width * tga->height) * pixel_block_size; in read_image_tga()
300 if (buffer_caret + pixel_block_size > rle_size) { in read_image_tga()
310 if ((bitmap_caret + (encoded_pixels * pixel_block_size)) > image_block_size in read_image_tga()
311 || buffer_caret + pixel_block_size > rle_size) { in read_image_tga()
319 bitmap_caret += pixel_block_size; in read_image_tga()
321 buffer_caret += pixel_block_size; in read_image_tga()
328 || buffer_caret + (encoded_pixels * pixel_block_size) > rle_size) { in read_image_tga()
335 bitmap_caret += (encoded_pixels * pixel_block_size); in read_image_tga()
[all …]

Completed in 5 milliseconds