Subversion Repositories gelsvn

Rev

Rev 555 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
594 jab 1
/**
2
 * @file stbi_DDS_aug.h
3
 * @brief adding DDS loading support to stbi
4
 */
369 jab 5
/*
6
	adding DDS loading support to stbi
7
*/
8
 
555 jrf 9
#ifndef HEADER_STB_IMAGE_DDS_AUGMENTATION
369 jab 10
#define HEADER_STB_IMAGE_DDS_AUGMENTATION
11
 
12
//	is it a DDS file?
13
extern int      stbi_dds_test_memory      (stbi_uc const *buffer, int len);
14
 
15
extern stbi_uc *stbi_dds_load             (char *filename,           int *x, int *y, int *comp, int req_comp);
16
extern stbi_uc *stbi_dds_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
17
#ifndef STBI_NO_STDIO
18
extern int      stbi_dds_test_file        (FILE *f);
19
extern stbi_uc *stbi_dds_load_from_file   (FILE *f,                  int *x, int *y, int *comp, int req_comp);
20
#endif
21
 
22
//
23
//
24
////   end header file   /////////////////////////////////////////////////////
25
#endif // HEADER_STB_IMAGE_DDS_AUGMENTATION