From 460d9bda5f03c5da29864fa9dd160848097be51b Mon Sep 17 00:00:00 2001 From: TravisBot <> Date: Sat, 6 Jan 2018 11:36:50 +0000 Subject: [Travis] Rebuilding documentation --- stb__image_8h.html | 1492 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1492 insertions(+) create mode 100644 stb__image_8h.html (limited to 'stb__image_8h.html') diff --git a/stb__image_8h.html b/stb__image_8h.html new file mode 100644 index 00000000..acbaba9e --- /dev/null +++ b/stb__image_8h.html @@ -0,0 +1,1492 @@ + + + + + + +YAGE: yage/core/stb_image.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  v0.1.3.0 +
+
Yet Another Game Engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
+ + +
+ +
+ +
+ +
+
stb_image.h File Reference
+
+
+
#include <stdio.h>
+
+

Go to the source code of this file.

+ + + + +

+Classes

struct  stbi_io_callbacks
 
+ + + + + +

+Macros

#define STBI_VERSION   1
 
#define STBIDEF   extern
 
+ + + + + +

+Typedefs

typedef unsigned char stbi_uc
 
typedef unsigned short stbi_us
 
+ + + +

+Enumerations

enum  {
+  STBI_default = 0, +STBI_grey = 1, +STBI_grey_alpha = 2, +STBI_rgb = 3, +
+  STBI_rgb_alpha = 4 +
+ }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

STBIDEF stbi_ucstbi_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels)
 
STBIDEF stbi_ucstbi_load_from_callbacks (stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels)
 
STBIDEF stbi_ucstbi_load (char const *filename, int *x, int *y, int *channels_in_file, int desired_channels)
 
STBIDEF stbi_ucstbi_load_from_file (FILE *f, int *x, int *y, int *channels_in_file, int desired_channels)
 
STBIDEF stbi_usstbi_load_16_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels)
 
STBIDEF stbi_usstbi_load_16_from_callbacks (stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels)
 
STBIDEF stbi_usstbi_load_16 (char const *filename, int *x, int *y, int *channels_in_file, int desired_channels)
 
STBIDEF stbi_usstbi_load_from_file_16 (FILE *f, int *x, int *y, int *channels_in_file, int desired_channels)
 
STBIDEF float * stbi_loadf_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels)
 
STBIDEF float * stbi_loadf_from_callbacks (stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels)
 
STBIDEF float * stbi_loadf (char const *filename, int *x, int *y, int *channels_in_file, int desired_channels)
 
STBIDEF float * stbi_loadf_from_file (FILE *f, int *x, int *y, int *channels_in_file, int desired_channels)
 
STBIDEF void stbi_hdr_to_ldr_gamma (float gamma)
 
STBIDEF void stbi_hdr_to_ldr_scale (float scale)
 
STBIDEF void stbi_ldr_to_hdr_gamma (float gamma)
 
STBIDEF void stbi_ldr_to_hdr_scale (float scale)
 
STBIDEF int stbi_is_hdr_from_callbacks (stbi_io_callbacks const *clbk, void *user)
 
STBIDEF int stbi_is_hdr_from_memory (stbi_uc const *buffer, int len)
 
STBIDEF int stbi_is_hdr (char const *filename)
 
STBIDEF int stbi_is_hdr_from_file (FILE *f)
 
STBIDEF const char * stbi_failure_reason (void)
 
STBIDEF void stbi_image_free (void *retval_from_stbi_load)
 
STBIDEF int stbi_info_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp)
 
STBIDEF int stbi_info_from_callbacks (stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp)
 
STBIDEF int stbi_info (char const *filename, int *x, int *y, int *comp)
 
STBIDEF int stbi_info_from_file (FILE *f, int *x, int *y, int *comp)
 
STBIDEF void stbi_set_unpremultiply_on_load (int flag_true_if_should_unpremultiply)
 
STBIDEF void stbi_convert_iphone_png_to_rgb (int flag_true_if_should_convert)
 
STBIDEF void stbi_set_flip_vertically_on_load (int flag_true_if_should_flip)
 
STBIDEF char * stbi_zlib_decode_malloc_guesssize (const char *buffer, int len, int initial_size, int *outlen)
 
STBIDEF char * stbi_zlib_decode_malloc_guesssize_headerflag (const char *buffer, int len, int initial_size, int *outlen, int parse_header)
 
STBIDEF char * stbi_zlib_decode_malloc (const char *buffer, int len, int *outlen)
 
STBIDEF int stbi_zlib_decode_buffer (char *obuffer, int olen, const char *ibuffer, int ilen)
 
STBIDEF char * stbi_zlib_decode_noheader_malloc (const char *buffer, int len, int *outlen)
 
STBIDEF int stbi_zlib_decode_noheader_buffer (char *obuffer, int olen, const char *ibuffer, int ilen)
 
+

Macro Definition Documentation

+ +
+
+ + + + +
#define STBI_VERSION   1
+
+ +
+
+ +
+
+ + + + +
#define STBIDEF   extern
+
+ +
+
+

Typedef Documentation

+ +
+
+ + + + +
typedef unsigned char stbi_uc
+
+ +
+
+ +
+
+ + + + +
typedef unsigned short stbi_us
+
+ +
+
+

Enumeration Type Documentation

+ +
+
+ + + + +
anonymous enum
+
+ + + + + + +
Enumerator
STBI_default  +
STBI_grey  +
STBI_grey_alpha  +
STBI_rgb  +
STBI_rgb_alpha  +
+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + +
STBIDEF void stbi_convert_iphone_png_to_rgb (int flag_true_if_should_convert)
+
+ +
+
+ +
+
+ + + + + + + + +
STBIDEF const char* stbi_failure_reason (void )
+
+ +
+
+ +
+
+ + + + + + + + +
STBIDEF void stbi_hdr_to_ldr_gamma (float gamma)
+
+ +
+
+ +
+
+ + + + + + + + +
STBIDEF void stbi_hdr_to_ldr_scale (float scale)
+
+ +
+
+ +
+
+ + + + + + + + +
STBIDEF void stbi_image_free (void * retval_from_stbi_load)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF int stbi_info (char const * filename,
int * x,
int * y,
int * comp 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF int stbi_info_from_callbacks (stbi_io_callbacks const * clbk,
void * user,
int * x,
int * y,
int * comp 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF int stbi_info_from_file (FILE * f,
int * x,
int * y,
int * comp 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF int stbi_info_from_memory (stbi_uc const * buffer,
int len,
int * x,
int * y,
int * comp 
)
+
+ +
+
+ +
+
+ + + + + + + + +
STBIDEF int stbi_is_hdr (char const * filename)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
STBIDEF int stbi_is_hdr_from_callbacks (stbi_io_callbacks const * clbk,
void * user 
)
+
+ +
+
+ +
+
+ + + + + + + + +
STBIDEF int stbi_is_hdr_from_file (FILE * f)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
STBIDEF int stbi_is_hdr_from_memory (stbi_uc const * buffer,
int len 
)
+
+ +
+
+ +
+
+ + + + + + + + +
STBIDEF void stbi_ldr_to_hdr_gamma (float gamma)
+
+ +
+
+ +
+
+ + + + + + + + +
STBIDEF void stbi_ldr_to_hdr_scale (float scale)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF stbi_uc* stbi_load (char const * filename,
int * x,
int * y,
int * channels_in_file,
int desired_channels 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF stbi_us* stbi_load_16 (char const * filename,
int * x,
int * y,
int * channels_in_file,
int desired_channels 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF stbi_us* stbi_load_16_from_callbacks (stbi_io_callbacks const * clbk,
void * user,
int * x,
int * y,
int * channels_in_file,
int desired_channels 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF stbi_us* stbi_load_16_from_memory (stbi_uc const * buffer,
int len,
int * x,
int * y,
int * channels_in_file,
int desired_channels 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF stbi_uc* stbi_load_from_callbacks (stbi_io_callbacks const * clbk,
void * user,
int * x,
int * y,
int * channels_in_file,
int desired_channels 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF stbi_uc* stbi_load_from_file (FILE * f,
int * x,
int * y,
int * channels_in_file,
int desired_channels 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF stbi_us* stbi_load_from_file_16 (FILE * f,
int * x,
int * y,
int * channels_in_file,
int desired_channels 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF stbi_uc* stbi_load_from_memory (stbi_uc const * buffer,
int len,
int * x,
int * y,
int * channels_in_file,
int desired_channels 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF float* stbi_loadf (char const * filename,
int * x,
int * y,
int * channels_in_file,
int desired_channels 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF float* stbi_loadf_from_callbacks (stbi_io_callbacks const * clbk,
void * user,
int * x,
int * y,
int * channels_in_file,
int desired_channels 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF float* stbi_loadf_from_file (FILE * f,
int * x,
int * y,
int * channels_in_file,
int desired_channels 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF float* stbi_loadf_from_memory (stbi_uc const * buffer,
int len,
int * x,
int * y,
int * channels_in_file,
int desired_channels 
)
+
+ +
+
+ +
+
+ + + + + + + + +
STBIDEF void stbi_set_flip_vertically_on_load (int flag_true_if_should_flip)
+
+ +
+
+ +
+
+ + + + + + + + +
STBIDEF void stbi_set_unpremultiply_on_load (int flag_true_if_should_unpremultiply)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF int stbi_zlib_decode_buffer (char * obuffer,
int olen,
const char * ibuffer,
int ilen 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF char* stbi_zlib_decode_malloc (const char * buffer,
int len,
int * outlen 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF char* stbi_zlib_decode_malloc_guesssize (const char * buffer,
int len,
int initial_size,
int * outlen 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF char* stbi_zlib_decode_malloc_guesssize_headerflag (const char * buffer,
int len,
int initial_size,
int * outlen,
int parse_header 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF int stbi_zlib_decode_noheader_buffer (char * obuffer,
int olen,
const char * ibuffer,
int ilen 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
STBIDEF char* stbi_zlib_decode_noheader_malloc (const char * buffer,
int len,
int * outlen 
)
+
+ +
+
+
+
+ + + + -- cgit