File stb_image.h
FileList > engine > include > stb > stb_image.h
Go to the source code of this file
#include <stdio.h>
#include <stdlib.h>
Classes
Public Types
Public Functions
| Type |
Name |
| 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_16_bit (char const * filename)
|
| STBIDEF int |
stbi_is_16_bit_from_callbacks (stbi_io_callbacks const * clbk, void * user)
|
| STBIDEF int |
stbi_is_16_bit_from_file (FILE * f)
|
| STBIDEF int |
stbi_is_16_bit_from_memory (stbi_uc const * buffer, int len)
|
| 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 stbi_uc * |
stbi_load_gif_from_memory (stbi_uc const * buffer, int len, int ** delays, int * x, int * y, int * z, int * comp, int req_comp)
|
| 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_flip_vertically_on_load_thread (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)
|
Macros
Public Types Documentation
enum stb__image_8h_1a7ff5f2dff38e7639981794c43dc9167b
enum stb__image_8h_1a7ff5f2dff38e7639981794c43dc9167b {
STBI_default = 0,
STBI_grey = 1,
STBI_grey_alpha = 2,
STBI_rgb = 3,
STBI_rgb_alpha = 4
};
typedef stbi_uc
typedef unsigned char stbi_uc;
typedef stbi_us
typedef unsigned short stbi_us;
Public Functions Documentation
function stbi_convert_iphone_png_to_rgb
STBIDEF void stbi_convert_iphone_png_to_rgb (
int flag_true_if_should_convert
)
function stbi_failure_reason
STBIDEF const char * stbi_failure_reason (
void
)
function stbi_hdr_to_ldr_gamma
STBIDEF void stbi_hdr_to_ldr_gamma (
float gamma
)
function stbi_hdr_to_ldr_scale
STBIDEF void stbi_hdr_to_ldr_scale (
float scale
)
function stbi_image_free
STBIDEF void stbi_image_free (
void * retval_from_stbi_load
)
function stbi_info
STBIDEF int stbi_info (
char const * filename,
int * x,
int * y,
int * comp
)
function stbi_info_from_callbacks
STBIDEF int stbi_info_from_callbacks (
stbi_io_callbacks const * clbk,
void * user,
int * x,
int * y,
int * comp
)
function stbi_info_from_file
STBIDEF int stbi_info_from_file (
FILE * f,
int * x,
int * y,
int * comp
)
function stbi_info_from_memory
STBIDEF int stbi_info_from_memory (
stbi_uc const * buffer,
int len,
int * x,
int * y,
int * comp
)
function stbi_is_16_bit
STBIDEF int stbi_is_16_bit (
char const * filename
)
function stbi_is_16_bit_from_callbacks
STBIDEF int stbi_is_16_bit_from_callbacks (
stbi_io_callbacks const * clbk,
void * user
)
function stbi_is_16_bit_from_file
STBIDEF int stbi_is_16_bit_from_file (
FILE * f
)
function stbi_is_16_bit_from_memory
STBIDEF int stbi_is_16_bit_from_memory (
stbi_uc const * buffer,
int len
)
function stbi_is_hdr
STBIDEF int stbi_is_hdr (
char const * filename
)
function stbi_is_hdr_from_callbacks
STBIDEF int stbi_is_hdr_from_callbacks (
stbi_io_callbacks const * clbk,
void * user
)
function stbi_is_hdr_from_file
STBIDEF int stbi_is_hdr_from_file (
FILE * f
)
function stbi_is_hdr_from_memory
STBIDEF int stbi_is_hdr_from_memory (
stbi_uc const * buffer,
int len
)
function stbi_ldr_to_hdr_gamma
STBIDEF void stbi_ldr_to_hdr_gamma (
float gamma
)
function stbi_ldr_to_hdr_scale
STBIDEF void stbi_ldr_to_hdr_scale (
float scale
)
function stbi_load
STBIDEF stbi_uc * stbi_load (
char const * filename,
int * x,
int * y,
int * channels_in_file,
int desired_channels
)
function stbi_load_16
STBIDEF stbi_us * stbi_load_16 (
char const * filename,
int * x,
int * y,
int * channels_in_file,
int desired_channels
)
function stbi_load_16_from_callbacks
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
)
function stbi_load_16_from_memory
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
)
function stbi_load_from_callbacks
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
)
function stbi_load_from_file
STBIDEF stbi_uc * stbi_load_from_file (
FILE * f,
int * x,
int * y,
int * channels_in_file,
int desired_channels
)
function stbi_load_from_file_16
STBIDEF stbi_us * stbi_load_from_file_16 (
FILE * f,
int * x,
int * y,
int * channels_in_file,
int desired_channels
)
function stbi_load_from_memory
STBIDEF stbi_uc * stbi_load_from_memory (
stbi_uc const * buffer,
int len,
int * x,
int * y,
int * channels_in_file,
int desired_channels
)
function stbi_load_gif_from_memory
STBIDEF stbi_uc * stbi_load_gif_from_memory (
stbi_uc const * buffer,
int len,
int ** delays,
int * x,
int * y,
int * z,
int * comp,
int req_comp
)
function stbi_loadf
STBIDEF float * stbi_loadf (
char const * filename,
int * x,
int * y,
int * channels_in_file,
int desired_channels
)
function stbi_loadf_from_callbacks
STBIDEF float * stbi_loadf_from_callbacks (
stbi_io_callbacks const * clbk,
void * user,
int * x,
int * y,
int * channels_in_file,
int desired_channels
)
function stbi_loadf_from_file
STBIDEF float * stbi_loadf_from_file (
FILE * f,
int * x,
int * y,
int * channels_in_file,
int desired_channels
)
function stbi_loadf_from_memory
STBIDEF float * stbi_loadf_from_memory (
stbi_uc const * buffer,
int len,
int * x,
int * y,
int * channels_in_file,
int desired_channels
)
function stbi_set_flip_vertically_on_load
STBIDEF void stbi_set_flip_vertically_on_load (
int flag_true_if_should_flip
)
function stbi_set_flip_vertically_on_load_thread
STBIDEF void stbi_set_flip_vertically_on_load_thread (
int flag_true_if_should_flip
)
function stbi_set_unpremultiply_on_load
STBIDEF void stbi_set_unpremultiply_on_load (
int flag_true_if_should_unpremultiply
)
function stbi_zlib_decode_buffer
STBIDEF int stbi_zlib_decode_buffer (
char * obuffer,
int olen,
const char * ibuffer,
int ilen
)
function stbi_zlib_decode_malloc
STBIDEF char * stbi_zlib_decode_malloc (
const char * buffer,
int len,
int * outlen
)
function stbi_zlib_decode_malloc_guesssize
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
)
Macro Definition Documentation
define STBIDEF
#define STBIDEF `extern`
define STBI_VERSION
#define STBI_VERSION `1`
The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/include/stb/stb_image.h