/dports/audio/clementine-player/Clementine-1.4.0rc1/3rdparty/libprojectm/Renderer/SOIL/ |
H A D | stb_image_aug.h | 193 … stbi_uc *stbi_load (char const *filename, int *x, int *y, int *comp, int req_comp); 194 … stbi_uc *stbi_load_from_file (FILE *f, int *x, int *y, int *comp, int req_comp); 202 …n float *stbi_loadf (char const *filename, int *x, int *y, int *comp, int req_comp); 203 …n float *stbi_loadf_from_file (FILE *f, int *x, int *y, int *comp, int req_comp); 205 …t *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp); 248 …_uc *stbi_jpeg_load (char const *filename, int *x, int *y, int *comp, int req_comp); 250 …_uc *stbi_jpeg_load_from_file (FILE *f, int *x, int *y, int *comp, int req_comp); 262 …_uc *stbi_png_load (char const *filename, int *x, int *y, int *comp, int req_comp); 265 …_uc *stbi_png_load_from_file (FILE *f, int *x, int *y, int *comp, int req_comp); 316 …_uc * (*load_from_memory)(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp); [all …]
|
H A D | stb_image_aug.c | 203 return hdr_to_ldr(hdr, *x, *y, req_comp ? req_comp : *comp); in stbi_load_from_file() 476 assert(req_comp >= 1 && req_comp <= 4); in convert_format() 1457 n = req_comp ? req_comp : z->s.img_n; in load_jpeg_image() 2328 if (req_comp >= 3) s->img_out_n = req_comp; in parse_png_file() 2367 if (req_comp && req_comp != p->s.img_out_n) { in do_png() 2694 if (req_comp && req_comp != target) { in bmp_load() 2827 if( (req_comp < 1) || (req_comp > 4) ) in tga_load() 3193 if (req_comp && req_comp != 4) { in psd_load() 3358 if (req_comp == 0) req_comp = 3; in hdr_load() 3372 hdr_convert(hdr_data + j * width * req_comp + i * req_comp, rgbe, req_comp); in hdr_load() [all …]
|
/dports/emulators/gngeo/gngeo-gngeo_0.8/src/ |
H A D | stb_image.h | 128 … stbi_uc *stbi_load (char const *filename, int *x, int *y, int *comp, int req_comp); 129 … stbi_uc *stbi_load_from_file (FILE *f, int *x, int *y, int *comp, int req_comp); 132 …uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp); 137 …n float *stbi_loadf (char const *filename, int *x, int *y, int *comp, int req_comp); 138 …n float *stbi_loadf_from_file (FILE *f, int *x, int *y, int *comp, int req_comp); 140 …t *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp); 183 …_uc *stbi_jpeg_load (char const *filename, int *x, int *y, int *comp, int req_comp); 185 …_uc *stbi_jpeg_load_from_file (FILE *f, int *x, int *y, int *comp, int req_comp); 197 …_uc *stbi_png_load (char const *filename, int *x, int *y, int *comp, int req_comp); 248 …_uc * (*load_from_memory)(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp); [all …]
|
H A D | stb_image.c | 210 return hdr_to_ldr(hdr, *x, *y, req_comp ? req_comp : *comp); in stbi_load_from_file() 237 return hdr_to_ldr(hdr, *x, *y, req_comp ? req_comp : *comp); in stbi_load_from_memory() 482 assert(req_comp >= 1 && req_comp <= 4); in convert_format() 1463 n = req_comp ? req_comp : z->s.img_n; in load_jpeg_image() 2388 if (req_comp >= 3) s->img_out_n = req_comp; in parse_png_file() 2427 if (req_comp && req_comp != p->s.img_out_n) { in do_png() 2772 if (req_comp && req_comp != target) { in bmp_load() 2905 if( (req_comp < 1) || (req_comp > 4) ) in tga_load() 3271 if (req_comp && req_comp != 4) { in psd_load() 3435 if (req_comp == 0) req_comp = 3; in hdr_load() [all …]
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/stbi/ |
H A D | stb_image.c | 986 assert(req_comp >= 1 && req_comp <= 4); in convert_format() 1965 n = req_comp ? req_comp : z->s.img_n; in load_jpeg_image() 3005 if (req_comp >= 3) s->img_out_n = req_comp; in parse_png_file() 3045 if (req_comp && req_comp != p->s.img_out_n) { in do_png() 3407 if (req_comp && req_comp != target) { in bmp_load() 3590 if ( (req_comp < 1) || (req_comp > 4) ) in tga_load() 3957 if (req_comp && req_comp != 4) { in psd_load() 4193 if (req_comp == 0) req_comp = *comp; in pic_load() 4540 if (req_comp && req_comp != 4) in stbi_gif_load_next() 4791 if (req_comp == 0) req_comp = 3; in hdr_load() [all …]
|
/dports/graphics/libprojectm/projectm-3.1.12/src/libprojectM/Renderer/SOIL2/ |
H A D | stbi_pkm_c.h | 139 static stbi_uc * stbi__pkm_load(stbi__context *s, int *x, int *y, int *comp, int req_comp) in stbi__pkm_load() argument 180 if( (req_comp <= 4) && (req_comp >= 1) ) { in stbi__pkm_load() 182 if( req_comp != s->img_n ) { in stbi__pkm_load() 183 pkm_res_data = stbi__convert_format( pkm_res_data, s->img_n, req_comp, s->img_x, s->img_y ); in stbi__pkm_load() 184 *comp = req_comp; in stbi__pkm_load() 197 …_uc *stbi__pkm_load_from_file (FILE *f, int *x, int *y, int *comp, int req_comp) in stbi__pkm_load_from_file() argument 201 return stbi__pkm_load(&s,x,y,comp,req_comp); in stbi__pkm_load_from_file() 209 data = stbi__pkm_load_from_file(f,x,y,comp,req_comp); in stbi__pkm_load_from_path() 215 …tbi__pkm_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) in stbi__pkm_load_from_memory() argument 219 return stbi__pkm_load(&s,x,y,comp,req_comp); in stbi__pkm_load_from_memory() [all …]
|
/dports/multimedia/kodi-addon-screensaver.matrixtrails/screensaver.matrixtrails-2.6.0-Matrix/lib/SOIL2/ |
H A D | stbi_pkm_c.h | 139 static stbi_uc * stbi__pkm_load(stbi__context *s, int *x, int *y, int *comp, int req_comp) in stbi__pkm_load() argument 180 if( (req_comp <= 4) && (req_comp >= 1) ) { in stbi__pkm_load() 182 if( req_comp != s->img_n ) { in stbi__pkm_load() 183 pkm_res_data = stbi__convert_format( pkm_res_data, s->img_n, req_comp, s->img_x, s->img_y ); in stbi__pkm_load() 184 *comp = req_comp; in stbi__pkm_load() 197 …_uc *stbi__pkm_load_from_file (FILE *f, int *x, int *y, int *comp, int req_comp) in stbi__pkm_load_from_file() argument 201 return stbi__pkm_load(&s,x,y,comp,req_comp); in stbi__pkm_load_from_file() 209 data = stbi__pkm_load_from_file(f,x,y,comp,req_comp); in stbi__pkm_load_from_path() 215 …tbi__pkm_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) in stbi__pkm_load_from_memory() argument 219 return stbi__pkm_load(&s,x,y,comp,req_comp); in stbi__pkm_load_from_memory() [all …]
|
/dports/graphics/cogl/cogl-1.22.8/cogl/ |
H A D | stb_image.c | 475 return hdr_to_ldr(hdr, *x, *y, req_comp ? req_comp : *comp); in stbi_load_from_file() 502 return hdr_to_ldr(hdr, *x, *y, req_comp ? req_comp : *comp); in stbi_load_from_memory() 748 assert(req_comp >= 1 && req_comp <= 4); in convert_format() 1729 n = req_comp ? req_comp : z->s.img_n; in load_jpeg_image() 2651 if (req_comp >= 3) s->img_out_n = req_comp; in parse_png_file() 2690 if (req_comp && req_comp != p->s.img_out_n) { in do_png() 3034 if (req_comp && req_comp != target) { in bmp_load() 3167 if( (req_comp < 1) || (req_comp > 4) ) in tga_load() 3537 if (req_comp && req_comp != 4) { in psd_load() 3701 if (req_comp == 0) req_comp = 3; in hdr_load() [all …]
|
/dports/cad/repsnapper/repsnapper-2.5a4/libraries/amf/amftools-code/include/stb_image/ |
H A D | stb_image.h | 223 …uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp); 226 … stbi_uc *stbi_load (char const *filename, int *x, int *y, int *comp, int req_comp); 227 … stbi_uc *stbi_load_from_file (FILE *f, int *x, int *y, int *comp, int req_comp); 238 …om_callbacks (stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp); 241 …t *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp); 244 …ern float *stbi_loadf (char const *filename, int *x, int *y, int *comp, int req_comp); 245 …ern float *stbi_loadf_from_file (FILE *f, int *x, int *y, int *comp, int req_comp); 248 …om_callbacks (stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp);
|
/dports/devel/bullet/bullet3-3.21/examples/ThirdPartyLibs/stb_image/ |
H A D | stb_image.h | 223 …uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp); 226 extern stbi_uc *stbi_load(char const *filename, int *x, int *y, int *comp, int req_comp); 227 extern stbi_uc *stbi_load_from_file(FILE *f, int *x, int *y, int *comp, int req_comp); 238 …from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp); 241 …t *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp); 244 extern float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp); 245 extern float *stbi_loadf_from_file(FILE *f, int *x, int *y, int *comp, int req_comp); 248 …from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp);
|
H A D | stb_image.cpp | 518 assert(req_comp >= 1 && req_comp <= 4); in convert_format() 1654 n = req_comp ? req_comp : z->s->img_n; in load_jpeg_image() 2816 if (req_comp >= 3) s->img_out_n = req_comp; in parse_png_file() 2856 if (req_comp && req_comp != p->s->img_out_n) in do_png() 3221 if (req_comp && req_comp != target) in bmp_load() 3368 if ((req_comp < 1) || (req_comp > 4)) in tga_load() 3731 if (req_comp && req_comp != 4) in psd_load() 3962 if (req_comp == 0) req_comp = *comp; in pic_load() 4304 if (req_comp && req_comp != 4) in stbi_gif_load_next() 4485 if (req_comp == 0) req_comp = 3; in hdr_load() [all …]
|
/dports/devel/py-bullet3/bullet3-3.21/examples/ThirdPartyLibs/stb_image/ |
H A D | stb_image.h | 223 …uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp); 226 extern stbi_uc *stbi_load(char const *filename, int *x, int *y, int *comp, int req_comp); 227 extern stbi_uc *stbi_load_from_file(FILE *f, int *x, int *y, int *comp, int req_comp); 238 …from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp); 241 …t *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp); 244 extern float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp); 245 extern float *stbi_loadf_from_file(FILE *f, int *x, int *y, int *comp, int req_comp); 248 …from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp);
|
H A D | stb_image.cpp | 518 assert(req_comp >= 1 && req_comp <= 4); in convert_format() 1654 n = req_comp ? req_comp : z->s->img_n; in load_jpeg_image() 2816 if (req_comp >= 3) s->img_out_n = req_comp; in parse_png_file() 2856 if (req_comp && req_comp != p->s->img_out_n) in do_png() 3221 if (req_comp && req_comp != target) in bmp_load() 3368 if ((req_comp < 1) || (req_comp > 4)) in tga_load() 3731 if (req_comp && req_comp != 4) in psd_load() 3962 if (req_comp == 0) req_comp = *comp; in pic_load() 4304 if (req_comp && req_comp != 4) in stbi_gif_load_next() 4485 if (req_comp == 0) req_comp = 3; in hdr_load() [all …]
|
/dports/games/arx-libertatis/arx-libertatis-1.1.2/src/graphics/image/ |
H A D | stb_image.h | 247 …uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp); 250 … stbi_uc *stbi_load (char const *filename, int *x, int *y, int *comp, int req_comp); 251 … stbi_uc *stbi_load_from_file (FILE *f, int *x, int *y, int *comp, int req_comp); 264 …om_callbacks (stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp); 269 …t *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp); 274 …ern float *stbi_loadf (char const *filename, int *x, int *y, int *comp, int req_comp); 275 …ern float *stbi_loadf_from_file (FILE *f, int *x, int *y, int *comp, int req_comp); 278 …om_callbacks (stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp);
|
H A D | stb_image.cpp | 563 assert(req_comp >= 1 && req_comp <= 4); in convert_format() 1541 n = req_comp ? req_comp : z->s->img_n; in load_jpeg_image() 2528 if (req_comp >= 3) s->img_out_n = req_comp; in parse_png_file() 2565 if (req_comp && req_comp != p->s->img_out_n) { in do_png() 2864 if (req_comp && req_comp != target) { in bmp_load() 3008 if ( (req_comp < 1) || (req_comp > 4) ) in tga_load() 3353 if (req_comp && req_comp != 4) { in psd_load() 3569 if (req_comp == 0) req_comp = *comp; in pic_load() 3879 if (req_comp && req_comp != 4) in stbi_gif_load_next() 4047 if (req_comp == 0) req_comp = 3; in hdr_load() [all …]
|
/dports/graphics/cegui/cegui-0.8.7/cegui/src/ImageCodecModules/STB/ |
H A D | stb_image.cpp | 840 assert(req_comp >= 1 && req_comp <= 4); in convert_format() 1819 n = req_comp ? req_comp : z->s->img_n; in load_jpeg_image() 2800 if (req_comp >= 3) s->img_out_n = req_comp; in parse_png_file() 2837 if (req_comp && req_comp != p->s->img_out_n) { in do_png() 3135 if (req_comp && req_comp != target) { in bmp_load() 3279 if ( (req_comp < 1) || (req_comp > 4) ) in tga_load() 3618 if (req_comp && req_comp != 4) { in psd_load() 3834 if (req_comp == 0) req_comp = *comp; in pic_load() 4140 if (req_comp && req_comp != 4) in stbi_gif_load_next() 4306 if (req_comp == 0) req_comp = 3; in hdr_load() [all …]
|
/dports/science/chrono/chrono-7.0.1/src/chrono_thirdparty/stb/ |
H A D | stb.h | 38 bool ReadFromFile(const std::string& filename, int req_comp = 0) { 39 assert(req_comp >= 0 && req_comp <= 4); 40 m_data = stbi_load_16(filename.c_str(), &m_nx, &m_ny, &m_avail_channels, req_comp); 41 m_num_channels = (req_comp == 0) ? m_avail_channels : req_comp;
|
/dports/cad/repsnapper/repsnapper-2.5a4/libraries/amf/amftools-code/src/stb_image/ |
H A D | stb_image.cpp | 509 assert(req_comp >= 1 && req_comp <= 4); in convert_format() 1488 n = req_comp ? req_comp : z->s->img_n; in load_jpeg_image() 2469 if (req_comp >= 3) s->img_out_n = req_comp; in parse_png_file() 2506 if (req_comp && req_comp != p->s->img_out_n) { in do_png() 2804 if (req_comp && req_comp != target) { in bmp_load() 2948 if ( (req_comp < 1) || (req_comp > 4) ) in tga_load() 3287 if (req_comp && req_comp != 4) { in psd_load() 3503 if (req_comp == 0) req_comp = *comp; in pic_load() 3809 if (req_comp && req_comp != 4) in stbi_gif_load_next() 3975 if (req_comp == 0) req_comp = 3; in hdr_load() [all …]
|
/dports/devel/stb/stb-f54acd4/deprecated/ |
H A D | stb_image.c | 863 assert(req_comp >= 1 && req_comp <= 4); in convert_format() 1842 n = req_comp ? req_comp : z->s->img_n; in load_jpeg_image() 2823 if (req_comp >= 3) s->img_out_n = req_comp; in parse_png_file() 2860 if (req_comp && req_comp != p->s->img_out_n) { in do_png() 3159 if (req_comp && req_comp != target) { in bmp_load() 3431 if (req_comp && req_comp != tga_comp) in tga_load() 3610 if (req_comp && req_comp != 4) { in psd_load() 3826 if (req_comp == 0) req_comp = *comp; in pic_load() 4132 if (req_comp && req_comp != 4) in stbi_gif_load_next() 4298 if (req_comp == 0) req_comp = 3; in hdr_load() [all …]
|
/dports/net-im/uTox/uTox/third-party/stb/deprecated/ |
H A D | stb_image.c | 863 assert(req_comp >= 1 && req_comp <= 4); in convert_format() 1842 n = req_comp ? req_comp : z->s->img_n; in load_jpeg_image() 2823 if (req_comp >= 3) s->img_out_n = req_comp; in parse_png_file() 2860 if (req_comp && req_comp != p->s->img_out_n) { in do_png() 3159 if (req_comp && req_comp != target) { in bmp_load() 3431 if (req_comp && req_comp != tga_comp) in tga_load() 3610 if (req_comp && req_comp != 4) { in psd_load() 3826 if (req_comp == 0) req_comp = *comp; in pic_load() 4132 if (req_comp && req_comp != 4) in stbi_gif_load_next() 4298 if (req_comp == 0) req_comp = 3; in hdr_load() [all …]
|
/dports/cad/cura-engine/CuraEngine-fadb5d6b/include/stb/deprecated/ |
H A D | stb_image.c | 863 assert(req_comp >= 1 && req_comp <= 4); in convert_format() 1842 n = req_comp ? req_comp : z->s->img_n; in load_jpeg_image() 2823 if (req_comp >= 3) s->img_out_n = req_comp; in parse_png_file() 2860 if (req_comp && req_comp != p->s->img_out_n) { in do_png() 3159 if (req_comp && req_comp != target) { in bmp_load() 3431 if (req_comp && req_comp != tga_comp) in tga_load() 3610 if (req_comp && req_comp != 4) { in psd_load() 3826 if (req_comp == 0) req_comp = *comp; in pic_load() 4132 if (req_comp && req_comp != 4) in stbi_gif_load_next() 4298 if (req_comp == 0) req_comp = 3; in hdr_load() [all …]
|
/dports/security/ridl/ridl-11b3240/stb/deprecated/ |
H A D | stb_image.c | 863 assert(req_comp >= 1 && req_comp <= 4); in convert_format() 1842 n = req_comp ? req_comp : z->s->img_n; in load_jpeg_image() 2823 if (req_comp >= 3) s->img_out_n = req_comp; in parse_png_file() 2860 if (req_comp && req_comp != p->s->img_out_n) { in do_png() 3159 if (req_comp && req_comp != target) { in bmp_load() 3431 if (req_comp && req_comp != tga_comp) in tga_load() 3610 if (req_comp && req_comp != 4) { in psd_load() 3826 if (req_comp == 0) req_comp = *comp; in pic_load() 4132 if (req_comp && req_comp != 4) in stbi_gif_load_next() 4298 if (req_comp == 0) req_comp = 3; in hdr_load() [all …]
|
/dports/games/libretro-desmume2015/desmume2015-d6128e6/desmume/src/libretro-common/formats/tga/ |
H A D | rtga.c | 54 static uint8_t *rtga__tga_load(rtga__context *s, unsigned *x, unsigned *y, int *comp, int req_comp); 64 return rtga__tga_load(&s,x,y,comp,req_comp); in rtga_load_from_memory() 150 int req_comp, in rtga__convert_format() argument 157 if (req_comp == img_n) return data; in rtga__convert_format() 158 retro_assert(req_comp >= 1 && req_comp <= 4); in rtga__convert_format() 160 good = (unsigned char *) malloc(req_comp * x * y); in rtga__convert_format() 170 unsigned char *dest = good + j * x * req_comp; in rtga__convert_format() 172 switch (((img_n)*8+(req_comp))) in rtga__convert_format() 233 static uint8_t *rtga__tga_load(rtga__context *s, unsigned *x, unsigned *y, int *comp, int req_comp) in rtga__tga_load() argument 421 if (req_comp && req_comp != tga_comp) in rtga__tga_load() [all …]
|
/dports/graphics/sdump/sdump-c5fb55b/ |
H A D | stb_image.h | 870 assert(req_comp >= 1 && req_comp <= 4); in stbi__convert_format() 1849 n = req_comp ? req_comp : z->s->img_n; in load_jpeg_image() 2821 if (req_comp >= 3) s->img_out_n = req_comp; in stbi__parse_png_file() 2858 if (req_comp && req_comp != p->s->img_out_n) { in stbi__do_png() 3151 if (req_comp && req_comp != target) { in stbi__bmp_load() 3410 if (req_comp && req_comp != tga_comp) in stbi__tga_load() 3577 if (req_comp && req_comp != 4) { in stbi__psd_load() 3788 if (req_comp == 0) req_comp = *comp; in stbi__pic_load() 4090 if (req_comp && req_comp != 4) in stbi__gif_load_next() 4256 if (req_comp == 0) req_comp = 3; in stbi__hdr_load() [all …]
|
/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/libretro/libretro-common/formats/tga/ |
H A D | rtga.c | 97 int req_comp, in rtga__convert_format() argument 102 unsigned char *good = (unsigned char *) malloc(req_comp * x * y); in rtga__convert_format() 113 unsigned char *dest = good + j * x * req_comp; in rtga__convert_format() 115 switch (((img_n)*8+(req_comp))) in rtga__convert_format() 199 unsigned *x, unsigned *y, int *comp, int req_comp) in rtga__tga_load() argument 396 if ( (req_comp) in rtga__tga_load() 397 && (req_comp >= 1 && req_comp <= 4) in rtga__tga_load() 398 && (req_comp != tga_comp)) in rtga__tga_load() 400 tga_data = rtga__convert_format(tga_data, tga_comp, req_comp, tga_width, tga_height); in rtga__tga_load() 407 unsigned *x, unsigned *y, int *comp, int req_comp) in rtga_load_from_memory() argument [all …]
|