Lines Matching refs:decompression_buffer
210 int* decompression_buffer = NULL; in read_image_tga() local
271 decompression_buffer = (int*) gdMalloc(image_block_size * sizeof(int)); in read_image_tga()
272 if (decompression_buffer == NULL) { in read_image_tga()
278 gdFree( decompression_buffer ); in read_image_tga()
285 gdFree(decompression_buffer); in read_image_tga()
292 decompression_buffer[buffer_caret] = (int)conversion_buffer[buffer_caret]; in read_image_tga()
301 gdFree( decompression_buffer ); in read_image_tga()
306 if ((decompression_buffer[buffer_caret] & TGA_RLE_FLAG) == TGA_RLE_FLAG) { in read_image_tga()
307 encoded_pixels = ( ( decompression_buffer[ buffer_caret ] & ~TGA_RLE_FLAG ) + 1 ); in read_image_tga()
312 gdFree( decompression_buffer ); in read_image_tga()
318 …memcpy(tga->bitmap + bitmap_caret, decompression_buffer + buffer_caret, pixel_block_size * sizeof(… in read_image_tga()
324 encoded_pixels = decompression_buffer[ buffer_caret ] + 1; in read_image_tga()
329 gdFree( decompression_buffer ); in read_image_tga()
334 …memcpy(tga->bitmap + bitmap_caret, decompression_buffer + buffer_caret, encoded_pixels * pixel_blo… in read_image_tga()
339 gdFree( decompression_buffer ); in read_image_tga()