mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-29 00:32:29 +00:00
Initial import
This commit is contained in:
commit
c91b3c5006
14915 changed files with 590219 additions and 0 deletions
34
third_party/stb/stb_image_write.h
vendored
Normal file
34
third_party/stb/stb_image_write.h
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
#ifndef COSMOPOLITAN_THIRD_PARTY_STB_STB_IMAGE_WRITE_H_
|
||||
#define COSMOPOLITAN_THIRD_PARTY_STB_STB_IMAGE_WRITE_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
extern int stbi_write_png_compression_level;
|
||||
extern int stbi__flip_vertically_on_write;
|
||||
extern int stbi_write_tga_with_rle;
|
||||
extern int stbi_write_force_png_filter;
|
||||
|
||||
int stbi_write_png(const char *, int, int, int, const void *, int);
|
||||
int stbi_write_bmp(const char *, int, int, int, const void *);
|
||||
int stbi_write_tga(const char *, int, int, int, const void *);
|
||||
int stbi_write_hdr(const char *, int, int, int, const float *);
|
||||
int stbi_write_jpg(const char *, int, int, int, const void *, int);
|
||||
|
||||
typedef void stbi_write_func(void *, void *, int);
|
||||
|
||||
int stbi_write_png_to_func(stbi_write_func *, void *, int, int, int,
|
||||
const void *, int);
|
||||
int stbi_write_bmp_to_func(stbi_write_func *, void *, int, int, int,
|
||||
const void *);
|
||||
int stbi_write_tga_to_func(stbi_write_func *, void *, int, int, int,
|
||||
const void *);
|
||||
int stbi_write_hdr_to_func(stbi_write_func *, void *, int, int, int,
|
||||
const float *);
|
||||
int stbi_write_jpg_to_func(stbi_write_func *, void *, int, int, int,
|
||||
const void *, int);
|
||||
|
||||
void stbi_flip_vertically_on_write(int);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_THIRD_PARTY_STB_STB_IMAGE_WRITE_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue