-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstbi_pvr.h
More file actions
34 lines (26 loc) · 1.57 KB
/
stbi_pvr.h
File metadata and controls
34 lines (26 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
adding PVR loading support to stbi
*/
#ifndef HEADER_STB_IMAGE_PVR_AUGMENTATION
#define HEADER_STB_IMAGE_PVR_AUGMENTATION
/* is it a PVR file? */
extern int stbi__pvr_test_memory (stbi_uc const *buffer, int len);
extern int stbi__pvr_test_callbacks (stbi_io_callbacks const *clbk, void *user);
extern void *stbi__pvr_load_from_path (char const *filename, int *x, int *y, int *comp, int req_comp);
extern void *stbi__pvr_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
extern void *stbi__pvr_load_from_callbacks (stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp);
#ifndef STBI_NO_STDIO
extern int stbi__pvr_test_filename (char const *filename);
extern int stbi__pvr_test_file (FILE *f);
extern void *stbi__pvr_load_from_file (FILE *f, int *x, int *y, int *comp, int req_comp);
#endif
extern int stbi__pvr_info_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int *iscompressed);
extern int stbi__pvr_info_from_callbacks (stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int *iscompressed);
#ifndef STBI_NO_STDIO
extern int stbi__pvr_info_from_path (char const *filename, int *x, int *y, int *comp, int *iscompressed);
extern int stbi__pvr_info_from_file (FILE *f, int *x, int *y, int *comp, int *iscompressed);
#endif
/*
//
//// end header file /////////////////////////////////////////////////////*/
#endif /* HEADER_STB_IMAGE_PVR_AUGMENTATION */