Lines Matching refs:pnm_file
67 BOOL pnm2png (FILE *pnm_file, FILE *png_file, FILE *alpha_file, BOOL interlace,
69 void get_token(FILE *pnm_file, char *token);
70 png_uint_32 get_data (FILE *pnm_file, int depth);
71 png_uint_32 get_value (FILE *pnm_file, int depth);
203 BOOL pnm2png (FILE *pnm_file, FILE *png_file, FILE *alpha_file, BOOL interlace, in pnm2png() argument
238 get_token(pnm_file, type_token); in pnm2png()
248 get_token(pnm_file, width_token); in pnm2png()
251 get_token(pnm_file, height_token); in pnm2png()
265 get_token(pnm_file, width_token); in pnm2png()
268 get_token(pnm_file, height_token); in pnm2png()
271 get_token(pnm_file, maxval_token); in pnm2png()
290 get_token(pnm_file, width_token); in pnm2png()
293 get_token(pnm_file, height_token); in pnm2png()
296 get_token(pnm_file, maxval_token); in pnm2png()
408 *pix_ptr++ = get_data (pnm_file, 8); in pnm2png()
417 *pix_ptr++ = get_data (pnm_file, bit_depth); in pnm2png()
420 *pix_ptr++ = get_value (pnm_file, bit_depth); in pnm2png()
423 tmp16 = get_value (pnm_file, bit_depth); in pnm2png()
535 void get_token(FILE *pnm_file, char *token) in get_token() argument
543 ret = fgetc(pnm_file); in get_token()
549 ret = fgetc(pnm_file); in get_token()
561 ret = fgetc(pnm_file); in get_token()
579 png_uint_32 get_data (FILE *pnm_file, int depth) in get_data() argument
593 old_value = fgetc (pnm_file); in get_data()
612 png_uint_32 get_value (FILE *pnm_file, int depth) in get_value() argument
624 get_token (pnm_file, (char *) token); in get_value()