Home
last modified time | relevance | path

Searched refs:img_cfp (Results 1 – 25 of 28) sorted by relevance

12

/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/jpgutils/
H A Djpgutils.cpp107 int jpeg_read_header(const char *real_filename, CFILE *img_cfp, int *w, int *h, int *bpp, ubyte * /… in jpeg_read_header() argument
112 if (img_cfp == NULL) { in jpeg_read_header()
128 jpeg_file = img_cfp; in jpeg_read_header()
154 if (img_cfp == NULL) { in jpeg_read_header()
173 CFILE *img_cfp = NULL; in jpeg_read_bitmap() local
182 img_cfp = cfopen(filename, "rb", CFILE_NORMAL, cf_type); in jpeg_read_bitmap()
184 if (img_cfp == NULL) in jpeg_read_bitmap()
205 jpeg_cfile_src(&jpeg_info, img_cfp); in jpeg_read_bitmap()
255 cfclose(img_cfp); in jpeg_read_bitmap()
H A Djpgutils.h24 extern int jpeg_read_header(const char *real_filename, CFILE *img_cfp = NULL, int *w = 0, int *h = …
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/jpgutils/
H A Djpgutils.cpp99 int jpeg_read_header(const char *real_filename, CFILE *img_cfp, int *w, int *h, int *bpp, ubyte *pa… in jpeg_read_header() argument
104 if (img_cfp == NULL) { in jpeg_read_header()
120 jpeg_file = img_cfp; in jpeg_read_header()
151 if (img_cfp == NULL) { in jpeg_read_header()
170 CFILE *img_cfp = NULL; in jpeg_read_bitmap() local
179 img_cfp = cfopen(filename, "rb", CFILE_NORMAL, cf_type); in jpeg_read_bitmap()
181 if (img_cfp == NULL) in jpeg_read_bitmap()
202 jpeg_cfile_src(&jpeg_info, img_cfp); in jpeg_read_bitmap()
249 cfclose(img_cfp); in jpeg_read_bitmap()
H A Djpgutils.h24 extern int jpeg_read_header(const char *real_filename, CFILE *img_cfp = NULL, int *w = 0, int *h = …
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/pngutils/
H A Dpngutils.cpp39 int png_read_header(const char *real_filename, CFILE *img_cfp, int *w, int *h, int *bpp, ubyte *pal… in png_read_header() argument
49 if (img_cfp == NULL) { in png_read_header()
65 png_file = img_cfp; in png_read_header()
117 if (img_cfp == NULL) { in png_read_header()
H A Dpngutils.h12 extern int png_read_header(const char *real_filename, CFILE *img_cfp = NULL, int *w = 0, int *h = 0…
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/bmpman/
H A Dbmpman.cpp1188 cfclose(img_cfp); in bm_load()
1196 cfclose(img_cfp); in bm_load()
1233 cfclose(img_cfp); in bm_load()
1522 cfclose(img_cfp); in bm_load_animation()
1531 cfclose(img_cfp); in bm_load_animation()
1599 cfclose(img_cfp); in bm_load_animation()
1606 cfclose(img_cfp); in bm_load_animation()
1625 cfclose(img_cfp); in bm_load_animation()
1759 cfclose(img_cfp); in bm_load_animation()
1842 if (img_cfp != NULL) in bm_load_sub_slow()
[all …]
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/pcxutils/
H A Dpcxutils.cpp39 int pcx_read_header(const char *real_filename, CFILE *img_cfp, int *w, int *h, int *bpp, ubyte *pal… in pcx_read_header() argument
46 if (img_cfp == NULL) { in pcx_read_header()
56 PCXfile = img_cfp; in pcx_read_header()
61 if (img_cfp == NULL) in pcx_read_header()
87 if (img_cfp == NULL) in pcx_read_header()
101 if (img_cfp == NULL) in pcx_read_header()
H A Dpcxutils.h28 extern int pcx_read_header(const char *filename, CFILE *img_cfp = NULL, int *w = 0, int *h = 0, int…
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/pcxutils/
H A Dpcxutils.cpp40 int pcx_read_header(const char *real_filename, CFILE *img_cfp, int *w, int *h, int *bpp, ubyte *pal… in pcx_read_header() argument
47 if (img_cfp == NULL) { in pcx_read_header()
57 PCXfile = img_cfp; in pcx_read_header()
62 if (img_cfp == NULL) in pcx_read_header()
88 if (img_cfp == NULL) in pcx_read_header()
102 if (img_cfp == NULL) in pcx_read_header()
H A Dpcxutils.h34 extern int pcx_read_header(const char *filename, CFILE *img_cfp = NULL, int *w = 0, int *h = 0, int…
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/graphics/
H A Dgropenglbmpman.cpp93 int gr_opengl_bm_load(ubyte type, int n, const char *filename, CFILE *img_cfp, int *w, int *h, int … in gr_opengl_bm_load() argument
98 int dds_error = dds_read_header( filename, img_cfp, w, h, bpp, &dds_ct, mm_lvl, size ); in gr_opengl_bm_load()
145 int tga_error = targa_read_header( filename, img_cfp, w, h, bpp, NULL ); in gr_opengl_bm_load()
153 int png_error=png_read_header( filename, img_cfp, w, h, bpp, NULL ); in gr_opengl_bm_load()
161 int jpg_error=jpeg_read_header( filename, img_cfp, w, h, bpp, NULL ); in gr_opengl_bm_load()
169 int pcx_error = pcx_read_header( filename, img_cfp, w, h, bpp, NULL ); in gr_opengl_bm_load()
H A Dgrstub.cpp490 int gr_stub_bm_load(ubyte type, int n, const char *filename, CFILE *img_cfp, int *w, int *h, int *b… in gr_stub_bm_load() argument
495 int dds_error = dds_read_header( filename, img_cfp, w, h, bpp, &dds_ct, mm_lvl, size ); in gr_stub_bm_load()
541 int tga_error = targa_read_header( filename, img_cfp, w, h, bpp, NULL ); in gr_stub_bm_load()
549 int png_error=png_read_header( filename, img_cfp, w, h, bpp, NULL ); in gr_stub_bm_load()
557 int jpg_error=jpeg_read_header( filename, img_cfp, w, h, bpp, NULL ); in gr_stub_bm_load()
565 int pcx_error = pcx_read_header( filename, img_cfp, w, h, bpp, NULL ); in gr_stub_bm_load()
H A Dgeneric.cpp153 CFILE *img_cfp = NULL; in generic_anim_stream() local
172 img_cfp = cfopen_special(full_path, "rb", size, offset, CF_TYPE_ANY); in generic_anim_stream()
174 if (img_cfp == NULL) { in generic_anim_stream()
181 cfseek(img_cfp, 0, CF_SEEK_END); in generic_anim_stream()
183 cfclose(img_cfp); in generic_anim_stream()
H A Dgropenglbmpman.h37 int gr_opengl_bm_load(ubyte type, int n, const char *filename, CFILE *img_cfp = NULL, int *w = 0, i…
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/ddsutils/
H A Dddsutils.cpp30 int dds_read_header(const char *filename, CFILE *img_cfp, int *width, int *height, int *bpp, int *c… in dds_read_header() argument
43 if (img_cfp == NULL) { in dds_read_header()
60 ddsfile = img_cfp; in dds_read_header()
265 if (img_cfp == NULL) { in dds_read_header()
H A Dddsutils.h141 int dds_read_header(const char *filename, CFILE *img_cfp = NULL, int *width = 0, int *height = 0, i…
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/ddsutils/
H A Dddsutils.cpp49 int dds_read_header(const char *filename, CFILE *img_cfp, int *width, int *height, int *bpp, int *c… in dds_read_header() argument
64 if (img_cfp == NULL) { in dds_read_header()
81 ddsfile = img_cfp; in dds_read_header()
303 if (img_cfp == NULL) { in dds_read_header()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/bmpman/
H A Dbmpman.cpp434 if (img_cfp != NULL) in bm_load_sub_slow()
435 *img_cfp = test; in bm_load_sub_slow()
497 CFILE *img_cfp = NULL; in bm_load() local
603 if (img_cfp != NULL) in bm_load()
604 cfclose(img_cfp); in bm_load()
832 CFILE *img_cfp = NULL; in bm_load_animation() local
981 if (img_cfp != NULL) in bm_load_animation()
982 cfclose(img_cfp); in bm_load_animation()
1004 cfclose(img_cfp); in bm_load_animation()
1069 if (img_cfp != NULL) in bm_load_animation()
[all …]
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/tgautils/
H A Dtgautils.cpp354 int targa_read_header(const char *real_filename, CFILE *img_cfp, int *w, int *h, int *bpp, ubyte * … in targa_read_header() argument
360 if (img_cfp == NULL) { in targa_read_header()
376 targa_file = img_cfp; in targa_read_header()
415 if (img_cfp == NULL) { in targa_read_header()
H A Dtgautils.h33 int targa_read_header(const char *filename, CFILE *img_cfp = NULL, int *w = 0, int *h = 0, int *bpp…
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/tgautils/
H A Dtgautils.cpp361 int targa_read_header(const char *real_filename, CFILE *img_cfp, int *w, int *h, int *bpp, ubyte *p… in targa_read_header() argument
367 if (img_cfp == NULL) { in targa_read_header()
383 targa_file = img_cfp; in targa_read_header()
422 if (img_cfp == NULL) { in targa_read_header()
H A Dtgautils.h33 int targa_read_header(const char *filename, CFILE *img_cfp = NULL, int *w = 0, int *h = 0, int *bpp…
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/graphics/
H A Dgeneric.cpp159 CFILE *img_cfp = NULL; in generic_anim_stream() local
172 img_cfp = cfopen_special(res, "rb", CF_TYPE_ANY); in generic_anim_stream()
174 if (img_cfp == NULL) { in generic_anim_stream()
181 cfseek(img_cfp, 0, CF_SEEK_END); in generic_anim_stream()
183 cfclose(img_cfp); in generic_anim_stream()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/pngutils/
H A Dpngutils.cpp99 int png_read_header(const char *real_filename, CFILE *img_cfp, int *w, int *h, int *bpp, ubyte * /*… in png_read_header() argument
109 if (img_cfp == NULL) { in png_read_header()
124 status.cfp = img_cfp; in png_read_header()
180 if (img_cfp == NULL) { in png_read_header()

12