2 #include "../Shared/Shared.h"
3 #include "..\Common\Common.h"
46 FS_FOpenFileRead( filename, &infile, qfalse );
136 FS_FCloseFile(infile);
GLOBAL boolean jpeg_start_decompress(j_decompress_ptr cinfo)
int LoadJPG(const char *filename, unsigned char **pic, int *width, int *height)
GLOBAL void jpeg_create_decompress(j_decompress_ptr cinfo)
GLOBAL JDIMENSION jpeg_read_scanlines(j_decompress_ptr cinfo, JSAMPARRAY scanlines, JDIMENSION max_lines)
GLOBAL boolean jpeg_finish_decompress(j_decompress_ptr cinfo)
GLenum GLsizei GLsizei height
JDIMENSION output_scanline
GLOBAL void jpeg_destroy_decompress(j_decompress_ptr cinfo)
GLOBAL struct jpeg_error_mgr * jpeg_std_error(struct jpeg_error_mgr *err)
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
GLOBAL int jpeg_read_header(j_decompress_ptr cinfo, boolean require_image)
GLOBAL void jpeg_stdio_src(j_decompress_ptr cinfo, unsigned char *infile)