Lines Matching refs:comp

210 extern stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, in…
213 extern stbi_uc *stbi_load (char const *filename, int *x, int *y, int *comp, int req_…
214 extern stbi_uc *stbi_load_from_file (FILE *f, int *x, int *y, int *comp, int req_…
219 …extern float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, in…
222 …extern float *stbi_loadf (char const *filename, int *x, int *y, int *comp, int req_co…
223 …extern float *stbi_loadf_from_file (FILE *f, int *x, int *y, int *comp, int req_co…
241 extern int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp);
245 extern int stbi_info (char const *filename, int *x, int *y, int *comp);
246 extern int stbi_info_from_file (FILE *f, int *x, int *y, int *comp);
276 …stbi_uc * (*load_from_memory)(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_c…
279 stbi_uc * (*load_from_file)(FILE *f, int *x, int *y, int *comp, int req_comp);
316 …tbi_jpeg_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
317 …ern int stbi_jpeg_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp);
320 extern stbi_uc *stbi_jpeg_load (char const *filename, int *x, int *y, int *comp, int…
322 extern stbi_uc *stbi_jpeg_load_from_file (FILE *f, int *x, int *y, int *comp, int…
324 extern int stbi_jpeg_info (char const *filename, int *x, int *y, int *comp);
325 extern int stbi_jpeg_info_from_file (FILE *f, int *x, int *y, int *comp);
330 …tbi_png_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
331 …ern int stbi_png_info_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp);
334 extern stbi_uc *stbi_png_load (char const *filename, int *x, int *y, int *comp, int…
335 extern int stbi_png_info (char const *filename, int *x, int *y, int *comp);
337 extern stbi_uc *stbi_png_load_from_file (FILE *f, int *x, int *y, int *comp, int…
338 extern int stbi_png_info_from_file (FILE *f, int *x, int *y, int *comp);
344 extern stbi_uc *stbi_bmp_load (char const *filename, int *x, int *y, int *comp, int…
345 …tbi_bmp_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
348 extern stbi_uc *stbi_bmp_load_from_file (FILE *f, int *x, int *y, int *comp, int…
354 extern stbi_uc *stbi_tga_load (char const *filename, int *x, int *y, int *comp, int…
355 …tbi_tga_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
356 …ern int stbi_tga_info_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp);
358 extern int stbi_tga_info_from_file (FILE *f, int *x, int *y, int *comp);
360 extern stbi_uc *stbi_tga_load_from_file (FILE *f, int *x, int *y, int *comp, int…
366 extern stbi_uc *stbi_psd_load (char const *filename, int *x, int *y, int *comp, int…
367 …tbi_psd_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
370 extern stbi_uc *stbi_psd_load_from_file (FILE *f, int *x, int *y, int *comp, int…
376 extern float * stbi_hdr_load (char const *filename, int *x, int *y, int *comp, int…
377 …tbi_hdr_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
380 extern float * stbi_hdr_load_from_file (FILE *f, int *x, int *y, int *comp, int…
386 extern stbi_uc *stbi_pic_load (char const *filename, int *x, int *y, int *comp, int…
387 …tbi_pic_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
390 extern stbi_uc *stbi_pic_load_from_file (FILE *f, int *x, int *y, int *comp, int…
396 extern stbi_uc *stbi_gif_load (char const *filename, int *x, int *y, int *comp, int…
397 …tbi_gif_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
398 …ern int stbi_gif_info_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp);
402 extern stbi_uc *stbi_gif_load_from_file (FILE *f, int *x, int *y, int *comp, int…
403 extern int stbi_gif_info (char const *filename, int *x, int *y, int *comp);
404 extern int stbi_gif_info_from_file (FILE *f, int *x, int *y, int *comp);
504 …tbi_jpeg_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
505 …ern int stbi_jpeg_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp);
508 extern stbi_uc *stbi_jpeg_load (char const *filename, int *x, int *y, int *comp, int…
510 extern stbi_uc *stbi_jpeg_load_from_file (FILE *f, int *x, int *y, int *comp, int…
512 extern int stbi_jpeg_info (char const *filename, int *x, int *y, int *comp);
513 extern int stbi_jpeg_info_from_file (FILE *f, int *x, int *y, int *comp);
518 …tbi_png_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
519 …ern int stbi_png_info_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp);
522 extern stbi_uc *stbi_png_load (char const *filename, int *x, int *y, int *comp, int…
523 extern int stbi_png_info (char const *filename, int *x, int *y, int *comp);
525 extern stbi_uc *stbi_png_load_from_file (FILE *f, int *x, int *y, int *comp, int…
526 extern int stbi_png_info_from_file (FILE *f, int *x, int *y, int *comp);
532 extern stbi_uc *stbi_bmp_load (char const *filename, int *x, int *y, int *comp, int…
533 …tbi_bmp_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
536 extern stbi_uc *stbi_bmp_load_from_file (FILE *f, int *x, int *y, int *comp, int…
542 extern stbi_uc *stbi_tga_load (char const *filename, int *x, int *y, int *comp, int…
543 …tbi_tga_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
546 extern stbi_uc *stbi_tga_load_from_file (FILE *f, int *x, int *y, int *comp, int…
552 extern stbi_uc *stbi_psd_load (char const *filename, int *x, int *y, int *comp, int…
553 …tbi_psd_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
556 extern stbi_uc *stbi_psd_load_from_file (FILE *f, int *x, int *y, int *comp, int…
562 extern float * stbi_hdr_load (char const *filename, int *x, int *y, int *comp, int…
563 …tbi_hdr_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
566 extern float * stbi_hdr_load_from_file (FILE *f, int *x, int *y, int *comp, int…
572 extern stbi_uc *stbi_pic_load (char const *filename, int *x, int *y, int *comp, int…
573 …tbi_pic_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
576 extern stbi_uc *stbi_pic_load_from_file (FILE *f, int *x, int *y, int *comp, int…
582 extern stbi_uc *stbi_gif_load (char const *filename, int *x, int *y, int *comp, int…
583 …tbi_gif_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp);
584 …ern int stbi_gif_info_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp);
588 extern stbi_uc *stbi_gif_load_from_file (FILE *f, int *x, int *y, int *comp, int…
589 extern int stbi_gif_info (char const *filename, int *x, int *y, int *comp);
590 extern int stbi_gif_info_from_file (FILE *f, int *x, int *y, int *comp);
649 static float *ldr_to_hdr(stbi_uc *data, int x, int y, int comp);
650 static stbi_uc *hdr_to_ldr(float *data, int x, int y, int comp);
654 unsigned char *stbi_load(char const *filename, int *x, int *y, int *comp, int req_comp) in stbi_load() argument
659 result = stbi_load_from_file(f,x,y,comp,req_comp); in stbi_load()
664 unsigned char *stbi_load_from_file(FILE *f, int *x, int *y, int *comp, int req_comp) in stbi_load_from_file() argument
667 if (stbi_jpeg_test_file(f)) return stbi_jpeg_load_from_file(f,x,y,comp,req_comp); in stbi_load_from_file()
668 if (stbi_png_test_file(f)) return stbi_png_load_from_file(f,x,y,comp,req_comp); in stbi_load_from_file()
669 if (stbi_bmp_test_file(f)) return stbi_bmp_load_from_file(f,x,y,comp,req_comp); in stbi_load_from_file()
670 if (stbi_gif_test_file(f)) return stbi_gif_load_from_file(f,x,y,comp,req_comp); in stbi_load_from_file()
671 if (stbi_psd_test_file(f)) return stbi_psd_load_from_file(f,x,y,comp,req_comp); in stbi_load_from_file()
672 if (stbi_pic_test_file(f)) return stbi_pic_load_from_file(f,x,y,comp,req_comp); in stbi_load_from_file()
676 float *hdr = stbi_hdr_load_from_file(f, x,y,comp,req_comp); in stbi_load_from_file()
677 return hdr_to_ldr(hdr, *x, *y, req_comp ? req_comp : *comp); in stbi_load_from_file()
683 return loaders[i]->load_from_file(f,x,y,comp,req_comp); in stbi_load_from_file()
686 return stbi_tga_load_from_file(f,x,y,comp,req_comp); in stbi_load_from_file()
691 unsigned char *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int… in stbi_load_from_memory() argument
694 …if (stbi_jpeg_test_memory(buffer,len)) return stbi_jpeg_load_from_memory(buffer,len,x,y,comp,req_c… in stbi_load_from_memory()
695 …if (stbi_png_test_memory(buffer,len)) return stbi_png_load_from_memory(buffer,len,x,y,comp,req_co… in stbi_load_from_memory()
696 …if (stbi_bmp_test_memory(buffer,len)) return stbi_bmp_load_from_memory(buffer,len,x,y,comp,req_co… in stbi_load_from_memory()
697 …if (stbi_gif_test_memory(buffer,len)) return stbi_gif_load_from_memory(buffer,len,x,y,comp,req_co… in stbi_load_from_memory()
698 …if (stbi_psd_test_memory(buffer,len)) return stbi_psd_load_from_memory(buffer,len,x,y,comp,req_co… in stbi_load_from_memory()
699 …if (stbi_pic_test_memory(buffer,len)) return stbi_pic_load_from_memory(buffer,len,x,y,comp,req_co… in stbi_load_from_memory()
703 float *hdr = stbi_hdr_load_from_memory(buffer, len,x,y,comp,req_comp); in stbi_load_from_memory()
704 return hdr_to_ldr(hdr, *x, *y, req_comp ? req_comp : *comp); in stbi_load_from_memory()
710 return loaders[i]->load_from_memory(buffer,len,x,y,comp,req_comp); in stbi_load_from_memory()
713 return stbi_tga_load_from_memory(buffer,len,x,y,comp,req_comp); in stbi_load_from_memory()
720 float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) in stbi_loadf() argument
725 result = stbi_loadf_from_file(f,x,y,comp,req_comp); in stbi_loadf()
730 float *stbi_loadf_from_file(FILE *f, int *x, int *y, int *comp, int req_comp) in stbi_loadf_from_file() argument
735 return stbi_hdr_load_from_file(f,x,y,comp,req_comp); in stbi_loadf_from_file()
737 data = stbi_load_from_file(f, x, y, comp, req_comp); in stbi_loadf_from_file()
739 return ldr_to_hdr(data, *x, *y, req_comp ? req_comp : *comp); in stbi_loadf_from_file()
744 float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_co… in stbi_loadf_from_memory() argument
749 return stbi_hdr_load_from_memory(buffer, len,x,y,comp,req_comp); in stbi_loadf_from_memory()
751 data = stbi_load_from_memory(buffer, len, x, y, comp, req_comp); in stbi_loadf_from_memory()
753 return ldr_to_hdr(data, *x, *y, req_comp ? req_comp : *comp); in stbi_loadf_from_memory()
1037 static float *ldr_to_hdr(stbi_uc *data, int x, int y, int comp) in ldr_to_hdr() argument
1040 float *output = MALLOC(x * y * comp * sizeof(float)); in ldr_to_hdr()
1043 if (comp & 1) n = comp; else n = comp-1; in ldr_to_hdr()
1046 output[i*comp + k] = (float) pow(data[i*comp+k]/255.0f, l2h_gamma) * l2h_scale; in ldr_to_hdr()
1048 if (k < comp) output[i*comp + k] = data[i*comp+k]/255.0f; in ldr_to_hdr()
1055 static stbi_uc *hdr_to_ldr(float *data, int x, int y, int comp) in hdr_to_ldr() argument
1058 stbi_uc *output = MALLOC(x * y * comp); in hdr_to_ldr()
1061 if (comp & 1) n = comp; else n = comp-1; in hdr_to_ldr()
1064 float z = (float) pow(data[i*comp+k]*h2l_scale_i, h2l_gamma_i) * 255 + 0.5f; in hdr_to_ldr()
1067 output[i*comp + k] = (uint8) float2int(z); in hdr_to_ldr()
1069 if (k < comp) { in hdr_to_ldr()
1070 float z = data[i*comp+k] * 255 + 0.5f; in hdr_to_ldr()
1073 output[i*comp + k] = (uint8) float2int(z); in hdr_to_ldr()
1966 static uint8 *load_jpeg_image(jpeg *z, int *out_x, int *out_y, int *comp, int req_comp) in load_jpeg_image() argument
2061 if (comp) *comp = z->s.img_n; // report original components, not output in load_jpeg_image()
2067 unsigned char *stbi_jpeg_load_from_file(FILE *f, int *x, int *y, int *comp, int req_comp) in stbi_jpeg_load_from_file() argument
2071 return load_jpeg_image(&j, x,y,comp,req_comp); in stbi_jpeg_load_from_file()
2074 unsigned char *stbi_jpeg_load(char const *filename, int *x, int *y, int *comp, int req_comp) in stbi_jpeg_load() argument
2079 data = stbi_jpeg_load_from_file(f,x,y,comp,req_comp); in stbi_jpeg_load()
2085 unsigned char *stbi_jpeg_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp in stbi_jpeg_load_from_memory() argument
2091 result = load_jpeg_image(j,x,y,comp,req_comp); in stbi_jpeg_load_from_memory()
2097 return load_jpeg_image(&j, x,y,comp,req_comp); in stbi_jpeg_load_from_memory()
2101 static int stbi_jpeg_info_raw(jpeg *j, int *x, int *y, int *comp) in stbi_jpeg_info_raw() argument
2107 if (comp) *comp = j->s.img_n; in stbi_jpeg_info_raw()
2123 int stbi_jpeg_info_from_file(FILE *f, int *x, int *y, int *comp) in stbi_jpeg_info_from_file() argument
2129 res = stbi_jpeg_info_raw(&j, x, y, comp); in stbi_jpeg_info_from_file()
2134 int stbi_jpeg_info(char const *filename, int *x, int *y, int *comp) in stbi_jpeg_info() argument
2139 result = stbi_jpeg_info_from_file(f, x, y, comp); in stbi_jpeg_info()
2158 int stbi_jpeg_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) in stbi_jpeg_info_from_memory() argument
2166 res = stbi_jpeg_info_raw(j, x, y, comp); in stbi_jpeg_info_from_memory()
2172 …ern int stbi_jpeg_info (char const *filename, int *x, int *y, int *comp);
2173 extern int stbi_jpeg_info_from_file (FILE *f, int *x, int *y, int *comp);
2175 …ern int stbi_jpeg_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp);
2976 int depth,color,comp,filter; in parse_png_file() local
2985 comp = get8(s); if (comp) return e("bad comp method","Corrupt PNG"); in parse_png_file()
3131 unsigned char *stbi_png_load_from_file(FILE *f, int *x, int *y, int *comp, int req_comp) in stbi_png_load_from_file() argument
3135 return do_png(&p, x,y,comp,req_comp); in stbi_png_load_from_file()
3138 unsigned char *stbi_png_load(char const *filename, int *x, int *y, int *comp, int req_comp) in stbi_png_load() argument
3143 data = stbi_png_load_from_file(f,x,y,comp,req_comp); in stbi_png_load()
3149 unsigned char *stbi_png_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp,… in stbi_png_load_from_memory() argument
3153 return do_png(&p, x,y,comp,req_comp); in stbi_png_load_from_memory()
3176 static int stbi_png_info_raw(png *p, int *x, int *y, int *comp) in stbi_png_info_raw() argument
3182 if (comp) *comp = p->s.img_n; in stbi_png_info_raw()
3187 int stbi_png_info (char const *filename, int *x, int *y, int *comp) in stbi_png_info() argument
3192 res = stbi_png_info_from_file(f, x, y, comp); in stbi_png_info()
3197 int stbi_png_info_from_file(FILE *f, int *x, int *y, int *comp) in stbi_png_info_from_file() argument
3203 res = stbi_png_info_raw(&p, x, y, comp); in stbi_png_info_from_file()
3209 int stbi_png_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) in stbi_png_info_from_memory() argument
3213 return stbi_png_info_raw(&p, x, y, comp); in stbi_png_info_from_memory()
3291 static stbi_uc *bmp_load(stbi *s, int *x, int *y, int *comp, int req_comp) in bmp_load() argument
3484 if (comp) *comp = target; in bmp_load()
3489 stbi_uc *stbi_bmp_load (char const *filename, int *x, int *y, int *comp, int … in stbi_bmp_load() argument
3494 data = stbi_bmp_load_from_file(f, x,y,comp,req_comp); in stbi_bmp_load()
3499 stbi_uc *stbi_bmp_load_from_file (FILE *f, int *x, int *y, int *comp, int req_co… in stbi_bmp_load_from_file() argument
3503 return bmp_load(&s, x,y,comp,req_comp); in stbi_bmp_load_from_file()
3507 stbi_uc *stbi_bmp_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int … in stbi_bmp_load_from_memory() argument
3511 return bmp_load(&s, x,y,comp,req_comp); in stbi_bmp_load_from_memory()
3517 static int tga_info(stbi *s, int *x, int *y, int *comp) in tga_info() argument
3542 if (comp) *comp = tga_comp / 8; in tga_info()
3547 int stbi_tga_info_from_file(FILE *f, int *x, int *y, int *comp) in stbi_tga_info_from_file() argument
3553 r = tga_info(&s, x, y, comp); in stbi_tga_info_from_file()
3559 int stbi_tga_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) in stbi_tga_info_from_memory() argument
3563 return tga_info(&s, x, y, comp); in stbi_tga_info_from_memory()
3605 static stbi_uc *tga_load(stbi *s, int *x, int *y, int *comp, int req_comp) in tga_load() argument
3664 *comp = req_comp; in tga_load()
3668 *comp = tga_bits_per_pixel/8; in tga_load()
3827 stbi_uc *stbi_tga_load (char const *filename, int *x, int *y, int *comp, int … in stbi_tga_load() argument
3832 data = stbi_tga_load_from_file(f, x,y,comp,req_comp); in stbi_tga_load()
3837 stbi_uc *stbi_tga_load_from_file (FILE *f, int *x, int *y, int *comp, int req_co… in stbi_tga_load_from_file() argument
3841 return tga_load(&s, x,y,comp,req_comp); in stbi_tga_load_from_file()
3845 stbi_uc *stbi_tga_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int … in stbi_tga_load_from_memory() argument
3849 return tga_load(&s, x,y,comp,req_comp); in stbi_tga_load_from_memory()
3881 static stbi_uc *psd_load(stbi *s, int *x, int *y, int *comp, int req_comp) in psd_load() argument
4032 if (comp) *comp = channelCount; in psd_load()
4040 stbi_uc *stbi_psd_load(char const *filename, int *x, int *y, int *comp, int req_comp) in stbi_psd_load() argument
4045 data = stbi_psd_load_from_file(f, x,y,comp,req_comp); in stbi_psd_load()
4050 stbi_uc *stbi_psd_load_from_file(FILE *f, int *x, int *y, int *comp, int req_comp) in stbi_psd_load_from_file() argument
4054 return psd_load(&s, x,y,comp,req_comp); in stbi_psd_load_from_file()
4058 stbi_uc *stbi_psd_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int … in stbi_psd_load_from_memory() argument
4062 return psd_load(&s, x,y,comp,req_comp); in stbi_psd_load_from_memory()
4126 static stbi_uc *pic_load2(stbi *s,int width,int height,int *comp, stbi_uc *result) in pic_load2() argument
4152 *comp = (act_comp & 0x10 ? 4 : 3); // has alpha channel? in pic_load2()
4236 static stbi_uc *pic_load(stbi *s,int *px,int *py,int *comp,int req_comp) in pic_load() argument
4257 if (!pic_load2(s,x,y,comp, result)) { in pic_load()
4263 if (req_comp == 0) req_comp = *comp; in pic_load()
4276 stbi_uc *stbi_pic_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int … in stbi_pic_load_from_memory() argument
4280 return pic_load(&s,x,y,comp,req_comp); in stbi_pic_load_from_memory()
4295 stbi_uc *stbi_pic_load(char const *filename,int *x, int *y, int *comp, int req_comp) in stbi_pic_load() argument
4300 result = stbi_pic_load_from_file(f,x,y,comp,req_comp); in stbi_pic_load()
4305 stbi_uc *stbi_pic_load_from_file(FILE *f,int *x, int *y, int *comp, int req_comp) in stbi_pic_load_from_file() argument
4309 return pic_load(&s,x,y,comp,req_comp); in stbi_pic_load_from_file()
4378 static int stbi_gif_header(stbi *s, stbi_gif *g, int *comp, int is_info) in stbi_gif_header() argument
4396 if (comp != 0) *comp = 4; // can't actually tell whether it's 3 or 4 until we parse the comments in stbi_gif_header()
4406 static int stbi_gif_info_raw(stbi *s, int *x, int *y, int *comp) in stbi_gif_info_raw() argument
4413 if (!stbi_gif_header(s, g, comp, 1)) goto fail; in stbi_gif_info_raw()
4550 static uint8 *stbi_gif_load_next(stbi *s, stbi_gif *g, int *comp, int req_comp) in stbi_gif_load_next() argument
4556 if (!stbi_gif_header(s, g, comp,0)) return 0; // failure_reason set by stbi_gif_header in stbi_gif_load_next()
4651 stbi_uc *stbi_gif_load (char const *filename, int *x, int *y, int *comp, int … in stbi_gif_load() argument
4656 data = stbi_gif_load_from_file(f, x,y,comp,req_comp); in stbi_gif_load()
4661 stbi_uc *stbi_gif_load_from_file (FILE *f, int *x, int *y, int *comp, int req_comp) in stbi_gif_load_from_file() argument
4668 u = stbi_gif_load_next(&s, &g, comp, req_comp); in stbi_gif_load_from_file()
4679 stbi_uc *stbi_gif_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int … in stbi_gif_load_from_memory() argument
4696 u = stbi_gif_load_next(&s, pg, comp, req_comp); in stbi_gif_load_from_memory()
4711 int stbi_gif_info (char const *filename, int *x, int *y, int *comp) in stbi_gif_info() argument
4716 res = stbi_gif_info_from_file(f, x, y, comp); in stbi_gif_info()
4721 int stbi_gif_info_from_file(FILE *f, int *x, int *y, int *comp) in stbi_gif_info_from_file() argument
4727 res = stbi_gif_info_raw(&s, x, y, comp); in stbi_gif_info_from_file()
4733 int stbi_gif_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) in stbi_gif_info_from_memory() argument
4737 return stbi_gif_info_raw(&s, x, y, comp); in stbi_gif_info_from_memory()
4827 static float *hdr_load(stbi *s, int *x, int *y, int *comp, int req_comp) in hdr_load() argument
4867 *comp = 3; in hdr_load()
4939 float *stbi_hdr_load_from_file(FILE *f, int *x, int *y, int *comp, int req_comp) in stbi_hdr_load_from_file() argument
4943 return hdr_load(&s,x,y,comp,req_comp); in stbi_hdr_load_from_file()
4947 float *stbi_hdr_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req… in stbi_hdr_load_from_memory() argument
4951 return hdr_load(&s,x,y,comp,req_comp); in stbi_hdr_load_from_memory()
4958 int stbi_info(char const *filename, int *x, int *y, int *comp) in stbi_info() argument
4963 result = stbi_info_from_file(f, x, y, comp); in stbi_info()
4968 int stbi_info_from_file(FILE *f, int *x, int *y, int *comp) in stbi_info_from_file() argument
4970 if (stbi_jpeg_info_from_file(f, x, y, comp)) in stbi_info_from_file()
4972 if (stbi_png_info_from_file(f, x, y, comp)) in stbi_info_from_file()
4974 if (stbi_gif_info_from_file(f, x, y, comp)) in stbi_info_from_file()
4982 if (stbi_tga_info_from_file(f, x, y, comp)) in stbi_info_from_file()
4988 int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) in stbi_info_from_memory() argument
4990 if (stbi_jpeg_info_from_memory(buffer, len, x, y, comp)) in stbi_info_from_memory()
4992 if (stbi_png_info_from_memory(buffer, len, x, y, comp)) in stbi_info_from_memory()
4994 if (stbi_gif_info_from_memory(buffer, len, x, y, comp)) in stbi_info_from_memory()
5002 if (stbi_tga_info_from_memory(buffer, len, x, y, comp)) in stbi_info_from_memory()