Home
last modified time | relevance | path

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

/PHP-8.3/ext/gd/libgd/
H A Dgd_tga.c209 int image_block_size; in read_image_tga() local
226 image_block_size = (tga->width * tga->height) * pixel_block_size; in read_image_tga()
227 if(overflow2(image_block_size, sizeof(int))) { in read_image_tga()
239 tga->bitmap = (int *) gdMalloc(image_block_size * sizeof(int)); in read_image_tga()
253 if (gdGetBuf(conversion_buffer, image_block_size, ctx) != image_block_size) { in read_image_tga()
259 while (buffer_caret < image_block_size) { in read_image_tga()
271 decompression_buffer = (int*) gdMalloc(image_block_size * sizeof(int)); in read_image_tga()
282 rle_size = gdGetBuf(conversion_buffer, image_block_size, ctx); in read_image_tga()
298 while( bitmap_caret < image_block_size ) { in read_image_tga()
310 if ((bitmap_caret + (encoded_pixels * pixel_block_size)) > image_block_size in read_image_tga()
[all …]

Completed in 6 milliseconds