Home
last modified time | relevance | path

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

/php-src/ext/gd/libgd/
H A Dgd_tga.c212 int image_block_size; in read_image_tga() local
229 image_block_size = (tga->width * tga->height) * pixel_block_size; in read_image_tga()
230 if(overflow2(image_block_size, sizeof(int))) { in read_image_tga()
242 tga->bitmap = (int *) gdMalloc(image_block_size * sizeof(int)); in read_image_tga()
256 if (gdGetBuf(conversion_buffer, image_block_size, ctx) != image_block_size) { in read_image_tga()
262 while (buffer_caret < image_block_size) { in read_image_tga()
274 decompression_buffer = (int*) gdMalloc(image_block_size * sizeof(int)); in read_image_tga()
285 rle_size = gdGetBuf(conversion_buffer, image_block_size, ctx); in read_image_tga()
301 while( bitmap_caret < image_block_size ) { in read_image_tga()
313 if ((bitmap_caret + (encoded_pixels * pixel_block_size)) > image_block_size in read_image_tga()
[all …]

Completed in 8 milliseconds