Home
last modified time | relevance | path

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

/PHP-8.2/ext/gd/libgd/
H A Dgd_tga.c215 int encoded_pixels; in read_image_tga() local
307 encoded_pixels = ( ( decompression_buffer[ buffer_caret ] & ~TGA_RLE_FLAG ) + 1 ); in read_image_tga()
310 if ((bitmap_caret + (encoded_pixels * pixel_block_size)) > image_block_size in read_image_tga()
317 for (i = 0; i < encoded_pixels; i++) { in read_image_tga()
324 encoded_pixels = decompression_buffer[ buffer_caret ] + 1; in read_image_tga()
327 if ((bitmap_caret + (encoded_pixels * pixel_block_size)) > image_block_size in read_image_tga()
328 || buffer_caret + (encoded_pixels * pixel_block_size) > rle_size) { in read_image_tga()
334 …memcpy(tga->bitmap + bitmap_caret, decompression_buffer + buffer_caret, encoded_pixels * pixel_blo… in read_image_tga()
335 bitmap_caret += (encoded_pixels * pixel_block_size); in read_image_tga()
336 buffer_caret += (encoded_pixels * pixel_block_size); in read_image_tga()

Completed in 9 milliseconds