Lines Matching refs:conversion_buffer
214 unsigned char* conversion_buffer = NULL; in read_image_tga() local
251 conversion_buffer = (unsigned char *) gdMalloc(image_block_size * sizeof(unsigned char)); in read_image_tga()
252 if (conversion_buffer == NULL) { in read_image_tga()
256 if (gdGetBuf(conversion_buffer, image_block_size, ctx) != image_block_size) { in read_image_tga()
258 gdFree(conversion_buffer); in read_image_tga()
263 tga->bitmap[buffer_caret] = (int) conversion_buffer[buffer_caret]; in read_image_tga()
267 gdFree(conversion_buffer); in read_image_tga()
278 conversion_buffer = (unsigned char *) gdMalloc(image_block_size * sizeof(unsigned char)); in read_image_tga()
279 if (conversion_buffer == NULL) { in read_image_tga()
285 rle_size = gdGetBuf(conversion_buffer, image_block_size, ctx); in read_image_tga()
287 gdFree(conversion_buffer); in read_image_tga()
295 decompression_buffer[buffer_caret] = (int)conversion_buffer[buffer_caret]; in read_image_tga()
305 gdFree( conversion_buffer ); in read_image_tga()
316 gdFree( conversion_buffer ); in read_image_tga()
333 gdFree( conversion_buffer ); in read_image_tga()
343 gdFree( conversion_buffer ); in read_image_tga()